Skip to content

Commit

Permalink
Reg test: Update the linearization output format
Browse files Browse the repository at this point in the history
  • Loading branch information
rafmudaf committed Jun 25, 2020
1 parent 071b6d7 commit fd03306
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
8 changes: 4 additions & 4 deletions reg_tests/executeOpenfastLinearRegressionCase.py
Original file line number Diff line number Diff line change
Expand Up @@ -198,16 +198,16 @@ def isclose(a, b, rel_tol=1e-09, abs_tol=0.0):
local_handle.readline()

# the next 10 lines are simulation info; save what we need
for i in range(10):
for i in range(11):
b_line = baseline_handle.readline()
l_line = local_handle.readline()
if i == 4:
if i == 5:
b_num_continuous_states = int(b_line.split()[-1])
l_num_continuous_states = int(l_line.split()[-1])
elif i == 7:
elif i == 8:
b_num_inputs = int(b_line.split()[-1])
l_num_inputs = int(l_line.split()[-1])
elif i == 8:
elif i == 9:
b_num_outputs = int(b_line.split()[-1])
l_num_outputs = int(l_line.split()[-1])

Expand Down
2 changes: 1 addition & 1 deletion reg_tests/r-test
Submodule r-test updated 56 files
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-gnu/5MW_Land_BD_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-gnu/5MW_Land_BD_Linear.1.BD2.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-gnu/5MW_Land_BD_Linear.1.BD3.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-gnu/5MW_Land_BD_Linear.1.ED.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-gnu/5MW_Land_BD_Linear.1.SrvD.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-gnu/5MW_Land_BD_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-intel/5MW_Land_BD_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-intel/5MW_Land_BD_Linear.1.BD2.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-intel/5MW_Land_BD_Linear.1.BD3.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-intel/5MW_Land_BD_Linear.1.ED.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-intel/5MW_Land_BD_Linear.1.SrvD.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/linux-intel/5MW_Land_BD_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/macos-gnu/5MW_Land_BD_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/macos-gnu/5MW_Land_BD_Linear.1.BD2.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/macos-gnu/5MW_Land_BD_Linear.1.BD3.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/macos-gnu/5MW_Land_BD_Linear.1.ED.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/macos-gnu/5MW_Land_BD_Linear.1.SrvD.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/macos-gnu/5MW_Land_BD_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/windows-intel/5MW_Land_BD_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/windows-intel/5MW_Land_BD_Linear.1.BD2.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/windows-intel/5MW_Land_BD_Linear.1.BD3.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/windows-intel/5MW_Land_BD_Linear.1.ED.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/windows-intel/5MW_Land_BD_Linear.1.SrvD.lin
+1 −0 glue-codes/openfast/5MW_Land_BD_Linear/windows-intel/5MW_Land_BD_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_OC4Semi_Linear/linux-gnu/5MW_OC4Semi_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_OC4Semi_Linear/linux-intel/5MW_OC4Semi_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_OC4Semi_Linear/macos-gnu/5MW_OC4Semi_Linear.1.lin
+1 −0 glue-codes/openfast/5MW_OC4Semi_Linear/windows-intel/5MW_OC4Semi_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/linux-gnu/Ideal_Beam_Fixed_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/linux-gnu/Ideal_Beam_Fixed_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/linux-gnu/Ideal_Beam_Fixed_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/linux-intel/Ideal_Beam_Fixed_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/linux-intel/Ideal_Beam_Fixed_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/linux-intel/Ideal_Beam_Fixed_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/macos-gnu/Ideal_Beam_Fixed_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/macos-gnu/Ideal_Beam_Fixed_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/macos-gnu/Ideal_Beam_Fixed_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/windows-intel/Ideal_Beam_Fixed_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/windows-intel/Ideal_Beam_Fixed_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Fixed_Free_Linear/windows-intel/Ideal_Beam_Fixed_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/linux-gnu/Ideal_Beam_Free_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/linux-gnu/Ideal_Beam_Free_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/linux-gnu/Ideal_Beam_Free_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/linux-intel/Ideal_Beam_Free_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/linux-intel/Ideal_Beam_Free_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/linux-intel/Ideal_Beam_Free_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/macos-gnu/Ideal_Beam_Free_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/macos-gnu/Ideal_Beam_Free_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/macos-gnu/Ideal_Beam_Free_Free_Linear.1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/windows-intel/Ideal_Beam_Free_Free_Linear.1.BD1.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/windows-intel/Ideal_Beam_Free_Free_Linear.1.ED.lin
+1 −0 glue-codes/openfast/Ideal_Beam_Free_Free_Linear/windows-intel/Ideal_Beam_Free_Free_Linear.1.lin
+1 −0 glue-codes/openfast/WP_Stationary_Linear/linux-gnu/WP_Stationary_Linear.1.lin
+1 −0 glue-codes/openfast/WP_Stationary_Linear/linux-intel/WP_Stationary_Linear.1.lin
+1 −0 glue-codes/openfast/WP_Stationary_Linear/macos-gnu/WP_Stationary_Linear.1.lin
+1 −0 glue-codes/openfast/WP_Stationary_Linear/windows-intel/WP_Stationary_Linear.1.lin

0 comments on commit fd03306

Please sign in to comment.