ref
room + mate
roommate (n.)
also room-mate, "one who shares a room with another or others," 1789, American English, from room (n.) + mate (n.). Short form roomie is by 1918.