Adhd meds have withdrawal effects, which you are probably experiencing at the end of the day. Try talking to your provider about it and see if there is something they suggest like extended release forms, smaller doses spread through the day, or different medications altogether. That said, engineering school is just incredibly stressful, i hope you do well.
Have you looked into test taking accommodations? They should give you extra time in a distraction free environment for adhd.