I'm out of ideas, I hope you figure it out! I sometimes pre-dose with ibuprofen before a ride.

If you knees hurt equally after riding to work vs. coming home from work, then it's probably not needing a warm up.