Skip to content

Failed

openmodelica_dataReconciliation.Pipe1.mos (from (result.xml))

Failing for the past 150 builds (Since #3553 )
Took 17 sec.

Stacktrace

Output mismatch (see stdout for details)

Standard Output

 + Pipe1                                                                             ... equation mismatch [time: 17]

==== Log C:\WINDOWS\TEMP/omc-rtest-OpenModelica/openmodelica/dataReconciliation/Pipe1.mos_temp1641/log-Pipe1.mos
true
""
true
"Notification: Automatically loaded package Modelica 3.2.3 due to uses annotation from NewDataReconciliationSimpleTests.
Notification: Automatically loaded package Complex 3.2.3 due to uses annotation from Modelica.
Notification: Automatically loaded package ModelicaServices 3.2.3 due to uses annotation from Modelica.
Notification: Automatically loaded package ThermoSysPro 3.2 due to uses annotation from NewDataReconciliationSimpleTests.
"

ModelInfo: NewDataReconciliationSimpleTests.Pipe1
==========================================================================


OrderedVariables (3)
========================================
1: Q2:VARIABLE(uncertain=Uncertainty.refine)  type: Real
2: Q1:VARIABLE(uncertain=Uncertainty.refine)  type: Real
3: p:VARIABLE()  type: Real


OrderedEquation (3, 3)
========================================
1/1 (1): p = 2.0   [dynamic |0|0|0|0|]
2/2 (1): Q1 = Q2   [dynamic |0|0|0|0|]
3/3 (1): Q1 = p   [dynamic |0|0|0|0|]

Matching
========================================
3 variables and equations
var 1 is solved in eqn 2
var 2 is solved in eqn 3
var 3 is solved in eqn 1

Standard BLT of the original model:(3)
============================================================

3: p: (1/1): (1): p = 2.0
2: Q1: (3/3): (1): Q1 = p
1: Q2: (2/2): (1): Q1 = Q2


Variables of interest (2)
========================================
1: Q2:VARIABLE(uncertain=Uncertainty.refine)  type: Real
2: Q1:VARIABLE(uncertain=Uncertainty.refine)  type: Real


Boundary conditions (1)
========================================
1: p:VARIABLE()  type: Real


Binding equations:(0)
============================================================



E-BLT: equations that compute the variables of interest:(2)
============================================================

1: Q2: (2/2): (1): Q1 = Q2
2: Q1: (3/3): (1): Q1 = p


Extracting SET-C and SET-S from E-BLT
Procedure is applied on each equation in the E-BLT
==========================================================================
>>>1: Q2: (2/2): (1): Q1 = Q2
Procedure success

>>>2: Q1: (3/3): (1): Q1 = p
p is a boundary condition ---> exit procedure
Procedure failed

Extraction procedure failed for iteration count: 1, re-running with modified model
==========================================================================

OrderedVariables (3)
========================================
1: Q2:VARIABLE(uncertain=Uncertainty.refine)  type: Real
2: Q1:VARIABLE(uncertain=Uncertainty.refine)  type: Real
3: p:VARIABLE()  type: Real


OrderedEquation (3, 3)
========================================
1/1 (1): Q1 = 0.0   [binding |0|0|0|0|]
2/2 (1): p = 2.0   [dynamic |0|0|0|0|]
3/3 (1): Q1 = Q2   [dynamic |0|0|0|0|]

Matching
========================================
3 variables and equations
var 1 is solved in eqn 3
var 2 is solved in eqn 1
var 3 is solved in eqn 2

Standard BLT of the original model:(3)
============================================================

3: p: (2/2): (1): p = 2.0
2: Q1: (1/1): (1): Q1 = 0.0
1: Q2: (3/3): (1): Q1 = Q2


Variables of interest (2)
========================================
1: Q2:VARIABLE(uncertain=Uncertainty.refine)  type: Real
2: Q1:VARIABLE(uncertain=Uncertainty.refine)  type: Real


Boundary conditions (1)
========================================
1: p:VARIABLE()  type: Real


Binding equations:(1)
============================================================

2: Q1: (1/1): (1): Q1 = 0.0


E-BLT: equations that compute the variables of interest:(1)
============================================================

1: Q2: (3/3): (1): Q1 = Q2


Extracting SET-C and SET-S from E-BLT
Procedure is applied on each equation in the E-BLT
==========================================================================
>>>1: Q2: (3/3): (1): Q1 = Q2
Procedure success

Extraction procedure is successfully completed in iteration count: 2
==========================================================================

Final set of equations after extraction algorithm
==========================================================================
SET_C: {3}
SET_S: {}


SET_C (1, 1)
========================================
1/1 (1): Q1 = Q2   [dynamic |0|0|0|0|]


Unknown variables in SET_S (0)
========================================




Automatic Verification Steps of DataReconciliation Algorithm
==========================================================================

knownVariables:{1, 2} (2)
========================================
1: Q2:VARIABLE(uncertain=Uncertainty.refine)  type: Real
2: Q1:VARIABLE(uncertain=Uncertainty.refine)  type: Real

-SET_C:{3}
-SET_S:{}

Condition-1 "SET_C and SET_S must not have no equations in common"
==========================================================================
-Passed

Condition-2 "All variables of interest must be involved in SET_C or SET_S"
==========================================================================
-Passed

-SET_C has all known variables:{1, 2} (2)
========================================
1: Q2:VARIABLE(uncertain=Uncertainty.refine)  type: Real
2: Q1:VARIABLE(uncertain=Uncertainty.refine)  type: Real

Condition-3 "SET_C equations must be strictly less than Variable of Interest"
==========================================================================
-Passed
-SET_C contains:1 equations < 2 known variables

Condition-4 "SET_S should contain all intermediate variables involved in SET_C"
==========================================================================
-Passed
-SET_C contains No Intermediate Variables

record SimulationResult
    resultFile = "",
    simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.Pipe1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.Pipe1_Inputs.csv -eps=0.0023 -lv=LOG_JAC'",
    messages = "Simulation execution failed for model: NewDataReconciliationSimpleTests.Pipe1
LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
LOG_SUCCESS       | info    | The simulation finished successfully.
LOG_STDOUT        | info    | DataReconciliation Starting!
LOG_STDOUT        | info    | NewDataReconciliationSimpleTests.Pipe1
LOG_STDOUT        | error   | Measurement input file path not found ./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.Pipe1_Inputs.csv.
"
end SimulationResult;
""
'' 
Equation mismatch: diff says: 
--- "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/openmodelica/dataReconciliation/Pipe1.mos_temp1641/equations-expected"2024-04-18 14:40:16.693072800 +0200
+++ "C:\\WINDOWS\\TEMP/omc-rtest-OpenModelica/openmodelica/dataReconciliation/Pipe1.mos_temp1641/equations-got"2024-04-18 14:40:33.169073100 +0200
@@ -185,15 +185,16 @@
 ==========================================================================
 -Passed
 -SET_C contains No Intermediate Variables
 
 record SimulationResult
-resultFile = "econcile",
-simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-06, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.Pipe1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.Pipe1_Inputs.csv -eps=0.0023 -lv=LOG_JAC'",
-messages = "LOG_SUCCESS       | info    | The initialization finished successfully without homotopy method.
+resultFile = "",
+simulationOptions = "startTime = 0.0, stopTime = 1.0, numberOfIntervals = 500, tolerance = 1e-6, method = 'dassl', fileNamePrefix = 'NewDataReconciliationSimpleTests.Pipe1', options = '', outputFormat = 'mat', variableFilter = '.*', cflags = '', simflags = '-reconcile -sx=./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.Pipe1_Inputs.csv -eps=0.0023 -lv=LOG_JAC'",
+messages = "Simulation execution failed for model: NewDataReconciliationSimpleTests.Pipe1
+LOG_SUCCESS | info    | The initialization finished successfully without homotopy method.
 LOG_SUCCESS       | info    | The simulation finished successfully.
 LOG_STDOUT        | info    | DataReconciliation Starting!
 LOG_STDOUT        | info    | NewDataReconciliationSimpleTests.Pipe1
-LOG_STDOUT        | info    | DataReconciliation Completed!
+LOG_STDOUT | error   | Measurement input file path not found ./NewDataReconciliationSimpleTests/resources/DataReconciliationSimpleTests.Pipe1_Inputs.csv.
 "
 end SimulationResult;
 ""
'' 
Equation mismatch: omc-diff says: 
----Failed 'e' '"'
Line 190: Text differs:
expected: resultFile = "econcile",
got:      resultFile = "",

== 1 out of 1 tests failed [openmodelica/dataReconciliation/Pipe1.mos_temp1641, time: 17]