Here is a link to a wiring reference:
Thermostat wiring code
Post the model numbers or a link to the manuals.
Using O & B as reversing valve connections makes no sense. It might be best to see where these colors terminate at the air handler.
Y1 and Y2 are 1st and second stage cooling.
W1 and W2 are 1st and second stage heating. There is no W1 on your old stat. B COULD be W1. You'll have to check this at the air handler. If this is the case then you need a 2H/2C heat pump t-stat.