ABSOLUTELY contact the attending and residents you worked with!! I'm a resident at a "top" (I hate those stratifications) pediatric residency program and the exact same thing happend to one of my co-residents. She told some of the residents she worked with who passed it on to the PD. The PD did not intend to reject her, personally apologized, and she matched here.
If you're nervous about contacting your attending/residents phrase the email in the following...."I just thought I would let you know, I was not invited to interview at ..... I'm disappointed, but confident that I'll match at strong program. I'll keep you posted." Guarantee you that any resident who worked with you for 2-4 wks wants to know this information. And if they thought you were good they will email or speak with their program director.
Also, a general post, if you email a resident during interview season telling them how badly you want to match at their program, be sure to email them if you don't match there and tell them where you'll be. We want to know!!
Chin up, the next few months will be rough, but have faith. I can't tell you how many programs rejected me, eventhough I had interviews at those "top" programs. Its random.