how could the normality test on the residuals assess the equivalence or the difference of the two data sets?
It's essentially useless at that task (actually I feel my second and fourth comments already conveyed that).
Asking this is like asking to asking me to advise you on the best way to clean windows with a hammer.
A goodness of fit test is pretty much useless at the task, because its main functionality is almost orthogonal to the problem - it picks up the distribution of deviations, when what matters more is their typical magnitude, and perhaps direction.
As a thought experiment, consider
a) what happens with two fits, the second of which has every residual exactly 100 times the size of the corresponding residual of the first. A test of normality will give identical p-values, but they're not equally adequate. A normality test is precisely orthogonal to the direction of that aspect of the problem.
b) now instead imagine we have data that has a slightly heavy tailed distribution around its population curve - perhaps logistic errors, say, but you have exactly the correct functional form. With enough data, you'll reject normality, but that rejection tells you only that you might want to use something other than least squares to fit the model, it doesn't tell you you missed a bump on the curve.
As a result, the p-value for a straight goodness of fit test on the residuals tells you almost nothing about the actual issue of whether one curve matches a particular subset of data.
(By comparison, the discussion about the choice of which goodness of fit test to use is more akin to asking what kind of hammer might be best. If we had needed to hammer a Gaussian nail, the KS was almost entirely the wrong kind of hammer, but here we need some tool that's altogether different in its features and direction of operation.)
I don't think this is an appropriate way to test what it sounds like you're interested in - for a couple of reasons
What are these reasons?Rather than ask how to implement some solution to the problem, why not ask the assembled experts about your underlying problem?
Sorry, I can't understand what you are asking.Are you looking to check whether the within-period profiles are changing over time?
Not exactly, I want to check if there are systematic variations in the profiles, even if these variations are smoothed out in the averaged profile. $\endgroup$