Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.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_log,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log,fileNamePrefix="ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log",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.001257/0.001257, 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.734/1.734, allocations: 221.5 MB / 229.6 MB, free: 7.594 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.001234/0.001234, allocations: 93 kB / 280.5 MB, free: 5.328 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1178/0.1178, 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.8517/0.8517, allocations: 127.6 MB / 0.5233 GB, free: 1.008 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.098e-05/3.107e-05, allocations: 0 / 0.6111 GB, free: 7.711 MB / 378.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7071/0.7071, allocations: 82.86 MB / 0.692 GB, free: 3.047 MB / 442.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2139/0.9211, allocations: 120.8 MB / 0.81 GB, free: 8.316 MB / 0.5418 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003761/0.9216, allocations: 83.94 kB / 0.8101 GB, free: 8.234 MB / 0.5418 GB Notification: Performance of FrontEnd - DAE generated: time 0.0274/0.949, allocations: 7.941 MB / 0.8178 GB, free: 284 kB / 0.5418 GB Notification: Performance of FrontEnd: time 1.823e-06/0.9491, allocations: 0 / 0.8178 GB, free: 284 kB / 0.5418 GB Notification: Performance of Transformations before backend: time 2.193e-05/0.9491, allocations: 4 kB / 0.8178 GB, free: 280 kB / 0.5418 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001453/0.9506, allocations: 0.552 MB / 0.8184 GB, free: 15.66 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.599e-05/0.9507, allocations: 8.031 kB / 0.8184 GB, free: 15.65 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001583/0.9509, allocations: 19.77 kB / 0.8184 GB, free: 15.63 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005317/0.9514, allocations: 223.4 kB / 0.8186 GB, free: 15.37 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.993e-05/0.9514, allocations: 3.938 kB / 0.8186 GB, free: 15.37 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.12e-05/0.9515, allocations: 8 kB / 0.8186 GB, free: 15.36 MB / 0.5574 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0003132/0.9518, allocations: 111.9 kB / 0.8187 GB, free: 15.25 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002912/0.9521, allocations: 141.6 kB / 0.8189 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.529e-05/0.9522, allocations: 3.562 kB / 0.8189 GB, free: 15.11 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.548e-05/0.9522, allocations: 8 kB / 0.8189 GB, free: 15.1 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.628e-05/0.9522, allocations: 4 kB / 0.8189 GB, free: 15.09 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001035/0.9533, allocations: 389.8 kB / 0.8193 GB, free: 14.67 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000293/0.9536, allocations: 126.5 kB / 0.8194 GB, free: 14.54 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001535/0.9538, allocations: 92.83 kB / 0.8195 GB, free: 14.45 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.486e-05/0.9538, allocations: 7.984 kB / 0.8195 GB, free: 14.44 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000359/0.9542, allocations: 185.9 kB / 0.8197 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 3.476e-06/0.9542, allocations: 0 / 0.8197 GB, free: 14.24 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.001285/0.9555, allocations: 358.6 kB / 0.82 GB, free: 13.88 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.912e-05/0.9556, allocations: 85.09 kB / 0.8201 GB, free: 13.78 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002216/0.9558, allocations: 154.5 kB / 0.8202 GB, free: 13.62 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.556e-05/0.9559, allocations: 33.64 kB / 0.8203 GB, free: 13.58 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001158/0.956, allocations: 104.5 kB / 0.8204 GB, free: 13.47 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 6.397e-05/0.9561, allocations: 51.41 kB / 0.8204 GB, free: 13.42 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.757e-05/0.9561, allocations: 0 / 0.8204 GB, free: 13.42 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0002213/0.9563, allocations: 334.8 kB / 0.8207 GB, free: 13.09 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001394/0.9565, allocations: 72.17 kB / 0.8208 GB, free: 13.01 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001565/0.9566, allocations: 94.98 kB / 0.8209 GB, free: 12.91 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006935/0.9573, allocations: 172.1 kB / 0.8211 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.388e-06/0.9574, allocations: 0 / 0.8211 GB, free: 12.75 MB / 0.5574 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001014/0.9584, allocations: 371.7 kB / 0.8214 GB, free: 12.38 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 8.293e-05/0.9585, allocations: 67.33 kB / 0.8215 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.9585, allocations: 0 / 0.8215 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.571e-05/0.9585, allocations: 3.953 kB / 0.8215 GB, free: 12.3 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000344/0.9589, allocations: 55.98 kB / 0.8215 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.388e-06/0.9589, allocations: 0 / 0.8215 GB, free: 12.25 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003195/0.9592, allocations: 39.8 kB / 0.8216 GB, free: 12.21 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.594e-05/0.9593, allocations: 8 kB / 0.8216 GB, free: 12.2 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition1,$whenCondition2,$PRE.T_o.T_start,T_o.T_start,$PRE.T_o.count,T_o.count,T_i.a,T_i.b,T_i.last,$PRE.T_i.nextEvent,T_i.nextEvent,T_i.nextEventScaled) * 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.000212/0.9595, allocations: 154.4 kB / 0.8217 GB, free: 12.04 MB / 0.5574 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.001038/0.9606, allocations: 375.3 kB / 0.8221 GB, free: 11.66 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.072e-05/0.9606, allocations: 19.77 kB / 0.8221 GB, free: 11.64 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00132/0.962, allocations: 460.2 kB / 0.8225 GB, free: 11.19 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.682e-06/0.962, allocations: 0 / 0.8225 GB, free: 11.19 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.656e-06/0.962, allocations: 0 / 0.8225 GB, free: 11.19 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.208e-06/0.962, allocations: 3.984 kB / 0.8225 GB, free: 11.19 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000336/0.9624, allocations: 233.9 kB / 0.8228 GB, free: 10.92 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.9624, allocations: 0 / 0.8228 GB, free: 10.92 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003141/0.9627, allocations: 57.95 kB / 0.8228 GB, free: 10.87 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.163e-06/0.9627, allocations: 3.938 kB / 0.8228 GB, free: 10.86 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.665e-05/0.9628, allocations: 11.94 kB / 0.8228 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.137e-06/0.9628, allocations: 4 kB / 0.8228 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.459e-06/0.9628, allocations: 0 / 0.8228 GB, free: 10.85 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001196/0.964, allocations: 448 kB / 0.8233 GB, free: 10.39 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 9.608e-05/0.9641, allocations: 92.91 kB / 0.8234 GB, free: 10.28 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.706e-05/0.9642, allocations: 11.95 kB / 0.8234 GB, free: 10.27 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003089/0.9645, allocations: 31.97 kB / 0.8234 GB, free: 10.24 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001279/0.9646, allocations: 27.95 kB / 0.8234 GB, free: 10.21 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.939e-05/0.9647, allocations: 11.98 kB / 0.8234 GB, free: 10.2 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001321/0.9648, allocations: 132.8 kB / 0.8236 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of sort global known variables: time 4.21e-07/0.9648, allocations: 0 / 0.8236 GB, free: 10.07 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004717/0.9653, allocations: 87.86 kB / 0.8236 GB, free: 9.984 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,T_o.T_start,T_o.count,T_i.a,T_i.b,T_i.last,T_i.nextEvent,T_i.nextEventScaled) * Number of discrete states: 7 (T_o.count,T_i.nextEvent,T_i.last,T_i.nextEventScaled,T_i.b,T_i.a,$whenCondition2) * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 2 * 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.001808/0.9671, allocations: 0.9994 MB / 0.8246 GB, free: 8.957 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0005399/0.9677, allocations: 322.6 kB / 0.8249 GB, free: 8.617 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.029e-06/0.9677, allocations: 0 / 0.8249 GB, free: 8.617 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0002475/0.968, allocations: 193 kB / 0.8251 GB, free: 8.418 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003436/0.9683, allocations: 30.28 kB / 0.8251 GB, free: 8.395 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009689/0.9693, allocations: 298.8 kB / 0.8254 GB, free: 8.07 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004542/0.9698, allocations: 0.7197 MB / 0.8261 GB, free: 7.324 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001589/0.9699, allocations: 28.77 kB / 0.8262 GB, free: 7.297 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001359/0.9701, allocations: 58.53 kB / 0.8262 GB, free: 7.246 MB / 0.5574 GB Notification: Performance of SimCode: time 2.7e-07/0.9701, allocations: 0 / 0.8262 GB, free: 7.246 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03652/1.007, allocations: 3.817 MB / 0.8299 GB, free: 3.48 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003014/1.007, allocations: 163.6 kB / 0.8301 GB, free: 3.289 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.063/3.07, allocations: 0 / 0.8301 GB, free: 3.289 MB / 0.5574 GB (rm -f ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; mkfifo ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe ; head -c 1048576 < ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe >> ../files/ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log_res.mat --tempDir=temp_ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log_fmu --startTime=0 --stopTime=20 --timeout=50 --tolerance=1e-06 ClaRa_dev_ClaRa_Basics_ControlVolumes_Fundamentals_Check_Test_SmoothedDeltaTmean_log.fmu > ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ClaRa_dev_ClaRa.Basics.ControlVolumes.Fundamentals.Check.Test_SmoothedDeltaTmean_log_res.mat does not exist to compare? outputFormat=mat