I agree with everything @nefnef said, although your mileage may vary.
My best roommate was my ex-wife, my Supervisor, but we shared many interests, activities, cleanliness and sleep schedules. It was probably a bit easier for me than it was for her. I had a Supervisee roommate who was not so great; not horrible, sometimes good, but not great.
Second best, in the sense of not being any trouble, was Extinguishment. We quickly settled into a routine where we interacted almost not at all. We just established absolute rules (you can drink the other guy's beers as long as you replace them within 24 hours, and you never drink the last beer in the fridge if it belongs to him, you clean the place once a week, your dishes are never left unwashed overnight, etc.), and then we proceeded to live our lives as if the other person literally wasn't there. We spoke almost not at all, but still had sympathy for each other.
Two very bad roommates I had were both Mirrors. We irritated the hell out of each other in ways that were almost indescribable. They were both OK guys at a distance, but living with them changed that perception. That j/p difference, coupled with similar other preferences, made for some horrible character surprises.
The absolute worst roommate I had might have been from the opposing quadra. About all I can say about the guy from a Socionics standpoint is that he was an Extroverted Infantile who was terrible at making and saving money, and he'd happily get in my face for stupid reasons. He wanted a woman to support him, he cleaned up great and his room was a health hazard, he borrowed money and didn't pay it back, and he was generally an asshole (from my standpoint. We had a mutual friend who liked both of us.) He also seemed Narcissistic to me, but at that point, it was hard for me to distinguish between every bad characteristic he had. There was absolutely nothing that I liked about the guy. We got into a fistfight in a parking lot. Quasi-Identical?