OPF model functional compatibility test

Fixes #833 

@scottpurdy