Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo", uses=false) loadFile("/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo", uses=false) Using package ClaRa with version 1.8.0 (/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo) Using package TILMedia with version 1.8.0 ClaRa (/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001482/0.001482, allocations: 180.9 kB / 7.65 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.909/1.909, allocations: 221.5 MB / 229.6 MB, free: 7.574 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001352/0.001352, allocations: 97.67 kB / 280.5 MB, free: 5.312 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1179/0.1179, allocations: 20.18 MB / 351.4 MB, free: 11 MB / 250.7 MB [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Components/Sensors/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TinySensorGas_L1_O2dry [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/PressureLoss/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/Fundamentals/HeatTransport/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: TubeType_L2 TubeType_L3 ShellType_L2 ShellType_L3 [/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/Basics/ControlVolumes/FluidVolumes/package.order:0:0-0:0:readonly] Warning: The package.order file does not list all .mo files and directories (containing package.mo) present in its directory. Missing names are: VolumeVLE_2 VolumeVLE_3_TwoZones Notification: Performance of loadFile(/mnt/ReferenceFiles/ExtraLibs/packaged/ClaRa/package.mo): time 0.8666/0.8666, allocations: 127.6 MB / 0.5233 GB, free: 1.012 MB / 362.7 MB Warning: Ignoring unknown experiment annotation option: __Dymola_NumberOfIntervals = 5000 Notification: Performance of FrontEnd - loaded program: time 3.341e-05/3.364e-05, allocations: 0 / 0.6111 GB, free: 7.691 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7373/0.7374, allocations: 82.86 MB / 0.692 GB, free: 3.02 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2237/0.9611, allocations: 119.4 MB / 0.8086 GB, free: 9.695 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004553/0.9617, allocations: 87.88 kB / 0.8087 GB, free: 9.613 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.01503/0.9768, allocations: 3.698 MB / 0.8123 GB, free: 5.902 MB / 0.5418 GB Notification: Performance of FrontEnd: time 2.825e-06/0.9769, allocations: 0 / 0.8123 GB, free: 5.902 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.316e-05/0.9769, allocations: 3.188 kB / 0.8123 GB, free: 5.902 MB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.001297/0.9782, allocations: 0.5404 MB / 0.8129 GB, free: 5.305 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 7.469e-05/0.9783, allocations: 12.03 kB / 0.8129 GB, free: 5.293 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001049/0.9784, allocations: 15.84 kB / 0.8129 GB, free: 5.277 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000265/0.9787, allocations: 180 kB / 0.8131 GB, free: 5.062 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.915e-05/0.9787, allocations: 4 kB / 0.8131 GB, free: 5.059 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.016e-05/0.9788, allocations: 8 kB / 0.8131 GB, free: 5.051 MB / 0.5418 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001973/0.979, allocations: 59.94 kB / 0.8131 GB, free: 4.992 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002057/0.9792, allocations: 86.34 kB / 0.8132 GB, free: 4.902 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.197e-05/0.9792, allocations: 0 / 0.8132 GB, free: 4.902 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.523e-05/0.9793, allocations: 7.984 kB / 0.8132 GB, free: 4.895 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.885e-06/0.9793, allocations: 4 kB / 0.8132 GB, free: 4.891 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000677/0.98, allocations: 329.2 kB / 0.8135 GB, free: 4.531 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002383/0.9802, allocations: 98.56 kB / 0.8136 GB, free: 4.426 MB / 0.5418 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001671/0.9804, allocations: 56.86 kB / 0.8137 GB, free: 4.367 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 6.633e-05/0.9805, allocations: 0 / 0.8137 GB, free: 4.367 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002783/0.9808, allocations: 125.3 kB / 0.8138 GB, free: 4.234 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=13): time 2.515e-06/0.9808, allocations: 0 / 0.8138 GB, free: 4.234 MB / 0.5418 GB Notification: Performance of matching and sorting (n=13): time 0.0005552/0.9813, allocations: 149.4 kB / 0.814 GB, free: 4.082 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.756e-05/0.9814, allocations: 55.41 kB / 0.814 GB, free: 4.016 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001803/0.9816, allocations: 150.5 kB / 0.8142 GB, free: 3.852 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 3.401e-05/0.9816, allocations: 25.7 kB / 0.8142 GB, free: 3.82 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 9.399e-05/0.9817, allocations: 100.1 kB / 0.8143 GB, free: 3.719 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 5.058e-05/0.9818, allocations: 43.72 kB / 0.8143 GB, free: 3.676 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.322e-05/0.9818, allocations: 0 / 0.8143 GB, free: 3.676 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001385/0.982, allocations: 326.8 kB / 0.8146 GB, free: 3.348 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.473e-05/0.9821, allocations: 39.98 kB / 0.8147 GB, free: 3.309 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001086/0.9822, allocations: 62.91 kB / 0.8147 GB, free: 3.242 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002746/0.9825, allocations: 63.94 kB / 0.8148 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.996e-06/0.9825, allocations: 0 / 0.8148 GB, free: 3.18 MB / 0.5418 GB Notification: Performance of matching and sorting (n=18) (initialization): time 0.0004713/0.983, allocations: 174.8 kB / 0.815 GB, free: 3.004 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 6.77e-05/0.983, allocations: 59.39 kB / 0.815 GB, free: 2.934 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.377e-06/0.9831, allocations: 4 kB / 0.815 GB, free: 2.93 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.304e-05/0.9831, allocations: 0 / 0.815 GB, free: 2.93 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.9834, allocations: 75.19 kB / 0.8151 GB, free: 2.859 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.335e-05/0.9835, allocations: 0 / 0.8151 GB, free: 2.859 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003357/0.9838, allocations: 63.78 kB / 0.8151 GB, free: 2.797 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.892e-05/0.9838, allocations: 7.953 kB / 0.8152 GB, free: 2.789 MB / 0.5418 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$whenCondition1,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,$PRE.T_i.T_start,T_i.T_start,$PRE.T_i.count,T_i.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001265/0.984, allocations: 112.8 kB / 0.8153 GB, free: 2.672 MB / 0.5418 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004177/0.9844, allocations: 161.4 kB / 0.8154 GB, free: 2.508 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.77e-05/0.9845, allocations: 7.906 kB / 0.8154 GB, free: 2.5 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004715/0.9849, allocations: 179.5 kB / 0.8156 GB, free: 2.324 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.112e-06/0.9849, allocations: 4 kB / 0.8156 GB, free: 2.32 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.137e-05/0.985, allocations: 7.953 kB / 0.8156 GB, free: 2.312 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.911e-06/0.985, allocations: 0 / 0.8156 GB, free: 2.312 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000223/0.9852, allocations: 198 kB / 0.8158 GB, free: 2.082 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.9852, allocations: 0 / 0.8158 GB, free: 2.082 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003061/0.9855, allocations: 67.94 kB / 0.8159 GB, free: 2.016 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.991e-06/0.9856, allocations: 3.938 kB / 0.8159 GB, free: 2.012 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.713e-05/0.9856, allocations: 0 / 0.8159 GB, free: 2.012 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.9856, allocations: 4 kB / 0.8159 GB, free: 2.008 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.507e-06/0.9856, allocations: 0 / 0.8159 GB, free: 2.008 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004127/0.986, allocations: 192.7 kB / 0.8161 GB, free: 1.805 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 7.86e-05/0.9861, allocations: 100.8 kB / 0.8161 GB, free: 1.688 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.736e-05/0.9861, allocations: 0 / 0.8161 GB, free: 1.688 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003034/0.9865, allocations: 55.94 kB / 0.8162 GB, free: 1.633 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001199/0.9866, allocations: 31.95 kB / 0.8162 GB, free: 1.602 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.675e-05/0.9866, allocations: 4 kB / 0.8162 GB, free: 1.598 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0001009/0.9867, allocations: 120.9 kB / 0.8164 GB, free: 1.48 MB / 0.5418 GB Notification: Performance of sort global known variables: time 2.3e-07/0.9867, allocations: 0 / 0.8164 GB, free: 1.48 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0002931/0.987, allocations: 43.98 kB / 0.8164 GB, free: 1.438 MB / 0.5418 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,T_o.T_start,T_o.count,T_i.T_start,T_i.count) * Number of discrete states: 2 (T_o.count,T_i.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009205/0.9879, allocations: 0.741 MB / 0.8171 GB, free: 0.6602 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.0003531/0.9883, allocations: 217.8 kB / 0.8173 GB, free: 436 kB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 3.947e-06/0.9883, allocations: 0 / 0.8173 GB, free: 436 kB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.0001633/0.9885, allocations: 59.94 kB / 0.8174 GB, free: 376 kB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002845/0.9888, allocations: 28.55 kB / 0.8174 GB, free: 352 kB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007169/0.9895, allocations: 202.4 kB / 0.8176 GB, free: 112 kB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003492/0.9899, allocations: 0.7084 MB / 0.8183 GB, free: 15.38 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001074/0.99, allocations: 13.22 kB / 0.8183 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001077/0.9901, allocations: 35.42 kB / 0.8183 GB, free: 15.32 MB / 0.5574 GB Notification: Performance of SimCode: time 5.62e-07/0.9901, allocations: 0 / 0.8183 GB, free: 15.32 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03752/1.028, allocations: 3.15 MB / 0.8214 GB, free: 12.23 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002643/1.028, allocations: 166 kB / 0.8216 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.088/3.116, allocations: 2.953 kB / 0.8216 GB, free: 12.04 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_arith.fmu > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_arith_res.mat does not exist to compare? outputFormat=mat