def save_and_delete_output
      Origen.lsf.build_log
      Origen.log.flush
      Dir.chdir reference_origen_root do
        Bundler.with_clean_env do
          system 'bundle exec origen save all'
        end
      end
      FileUtils.rm_rf "#{reference_origen_root}/output"
    end
def save_and_delete_output
      Origen.lsf.build_log
      Origen.log.flush
      Dir.chdir reference_origen_root do
        Bundler.with_clean_env do
          system 'bundle exec origen save all'
        end
      end
      FileUtils.rm_rf "#{reference_origen_root}/output"
    end
Saves all generated output (to the reference dir) and then
 deletes the output directory to save space