Skip to content

Failed

tests / 01 testsuite-gcc 1/3 / openmodelica_cruntime_optimization_basic.DMwarmCsv.mos (from (result.xml))

Failing for the past 1 build (Since #20 )
Took 4 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + diesel_model_warm_start                                                           ... equation mismatch [time: 4]

==== Log /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp6088/log-DMwarmCsv.mos
true
""
true
""
record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./ReferenceFiles/initDM.csv -ipopt_warm_start 12 -emit_protected'",
    messages = "Simulation execution failed for model: diesel_model
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.

Optimizer Variables
========================================================
State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
Input[4]:u_f(start = 1, nominal = 1, min = 0, max = 1)
Input[5]:u_wg(start = 0, nominal = 1, min = 0, max = 1)
--------------------------------------------------------
number of nonlinear constraints: 0
========================================================
DASKR--  AT T (=R1) AND STEPSIZE H (=R2) THE                                    
      In above,  R1 =   1.6220428324831E-24   R2 =   2.9196770984695E-24
DASKR--  ERROR TEST FAILED REPEATEDLY OR WITH ABS(H)=HMIN                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000
DASKR--  THE LAST STEP TERMINATED WITH A NEGATIVE                               
DASKR--  VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
      In above message,  I1 = -6
DASKR--  ACTION WAS TAKEN. RUN TERMINATED                                       
LOG_STDOUT        | warning | DDASSL had repeated error test failures on the last attempted step.
LOG_STDOUT        | warning | can't continue. time = 0.000000

LOG_STDOUT        | warning | Initial guess failure at time 1.62204283248e-24
diesel_model: ./optimization/DataManagement/InitialGuess.c:354: smallIntSolverStep: Assertion `0' failed.
Aborted (core dumped)
"
end SimulationResult;
""
record SimulationResult
    resultFile = "diesel_model_res.mat",
    simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./diesel_model_res.csv -ipopt_max_iter=-1 -emit_protected'",
    messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.

Optimizer Variables
========================================================
State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
Input[4]:u_f(start = 0.5, nominal = 1, min = 0, max = 1)
Input[5]:u_wg(start = 0.5, nominal = 1, min = 0, max = 1)
--------------------------------------------------------
number of nonlinear constraints: 0
========================================================

max_iter = -1LOG_SUCCESS       | info    | The simulation finished successfully.
"
end SimulationResult;
""
{"Files not Equal!","u_wg","u_f"}
"Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
Warning: Files not Equal
"

Equation mismatch: diff says:
--- /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp6088/equations-expected2024-04-20 01:39:49.642686465 +0000
+++ /tmp/omc-rtest-omtmpuser/openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp6088/equations-got2024-04-20 01:39:53.222646875 +0000
@@ -1,47 +1,95 @@
 true
 ""
 true
 ""
 record SimulationResult
-resultFile = "diesel_model_res.csv",
+resultFile = "",
 simulationOptions = "startTime = 0.0, stopTime = 0.5, numberOfIntervals = 450, tolerance = 1e-10, method = 'optimization', fileNamePrefix = 'diesel_model', options = '', outputFormat = 'csv', variableFilter = '.*', cflags = '', simflags = '-lv LOG_IPOPT_ERROR -optimizerNP 1 -csvInput ./ReferenceFiles/initDM.csv -ipopt_warm_start 12 -emit_protected'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
+messages = "Simulation execution failed for model: diesel_model
+LOG_SUCCESS | info    | The initialization finished successfully without homotopy method.
 
 Optimizer Variables
 ========================================================
 State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
 State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
 State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
 State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
-Input[4]:u_f(start = 9e-06, nominal = 1, min = 0, max = 1)
-Input[5]:u_wg(start = 0.000485, nominal = 1, min = 0, max = 1)
+Input[4]:u_f(start = 1, nominal = 1, min = 0, max = 1)
+Input[5]:u_wg(start = 0, nominal = 1, min = 0, max = 1)
 --------------------------------------------------------
 number of nonlinear constraints: 0
 ========================================================
+DASKR-- AT T (=R1) AND STEPSIZE H (=R2) THE                                    
+In above,  R1 =   1.6220428324831E-24   R2 =   2.9196770984695E-24
+DASKR-- ERROR TEST FAILED REPEATEDLY OR WITH ABS(H)=HMIN                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
+DASKR-- THE LAST STEP TERMINATED WITH A NEGATIVE                               
+DASKR-- VALUE (=I1) OF IDID AND NO APPROPRIATE                                 
+In above message,  I1 = -6
+DASKR-- ACTION WAS TAKEN. RUN TERMINATED                                       
+LOG_STDOUT | warning | DDASSL had repeated error test failures on the last attempted step.
+LOG_STDOUT | warning | can't continue. time = 0.000000
 
-******************************************************************************
-This program contains Ipopt, a library for large-scale nonlinear optimization.
-Ipopt is released as open source code under the Eclipse Public License (EPL).
-For more information visit https://github.com/coin-or/Ipopt
-******************************************************************************
-
-LOG_IPOPT_ERROR   | info    | max error is 0.0015511 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00153097 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00149595 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.00112748 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.000313137 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 0.000122445 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 8.56457e-05 for the approximation of the state p_em(time = 0.486667)
-LOG_IPOPT_ERROR   | info    | max error is 2.37178e-06 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 4.55501e-07 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 1.16221e-07 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 2.52825e-08 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 3.66997e-09 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 1.48205e-10 for the approximation of the state p_em(time = 0.485556)
-LOG_IPOPT_ERROR   | info    | max error is 2.86256e-13 for the approximation of the state p_em(time = 0.485556)
-LOG_SUCCESS       | info    | The simulation finished successfully.
+LOG_STDOUT | warning | Initial guess failure at time 1.62204283248e-24
+diesel_model: ./optimization/DataManagement/InitialGuess.c:354: smallIntSolverStep: Assertion `0' failed.
+Aborted (core dumped)
 "
 end SimulationResult;
 ""
 record SimulationResult
 resultFile = "diesel_model_res.mat",
@@ -52,18 +100,19 @@
 ========================================================
 State[0]:p_em(start = 0.339267, nominal = 1.01111, min = 0.337038, max = 1.01111, init = 0.339267)
 State[1]:p_im(start = 0.50615, nominal = 1.01111, min = 0.404445, max = 1.01111, init = 0.50615)
 State[2]:w_ice(start = 0.249899, nominal = 1, min = 0.0181818, max = 1, init = 0.249899)
 State[3]:w_tc(start = 0.0681, nominal = 1, min = 0.03, max = 1, init = 0.0681)
-Input[4]:u_f(start = 8.5502e-07, nominal = 1, min = 0, max = 1)
-Input[5]:u_wg(start = 4.85532e-05, nominal = 1, min = 0, max = 1)
+Input[4]:u_f(start = 0.5, nominal = 1, min = 0, max = 1)
+Input[5]:u_wg(start = 0.5, nominal = 1, min = 0, max = 1)
 --------------------------------------------------------
 number of nonlinear constraints: 0
 ========================================================
 
 max_iter = -1LOG_SUCCESS       | info    | The simulation finished successfully.
 "
 end SimulationResult;
 ""
-{"Files Equal!"}
+{"Files not Equal!","u_wg","u_f"}
 "Warning: 'compareSimulationResults' is deprecated. It is recommended to use 'diffSimulationResults' instead.
+Warning: Files not Equal
 "

Equation mismatch: omc-diff says:
Failed 'd' '"'
Line 6: Text differs:
expected: resultFile = "diesel_model_res.csv",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/cruntime/optimization/basic/DMwarmCsv.mos_temp6088, time: 4]