I'm not sure I understand the question.
Are you asking if you're burning calories after exercise, because of the exercise, and if soreness is a sign of this? If so, the answer is no.
You do burn calories after exercise and the more intese the exercise the more calories you'll burn. This is known as EPOC but the number of calories is pretty minimal.
When your body is building muscles it does take energy to do it but this happens over a period of time and so the daily amount of energy utilized is minimal.
Soreness is causes by DOMS and has nothing to do with energy utilization after exercise. Look up "DOMS" for more information.
"Getting solid information is easier than ever. Getting misinformation is even easier." - Kaplods
Maintaining for two years and I eat whatever I want - just not however much I want. Details here.