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.009786/0.009786, allocations: 171 kB / 15.11 MB, free: 5.969 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.663/1.663, allocations: 223.2 MB / 239 MB, free: 1.758 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.001139/0.001139, allocations: 93.84 kB / 290.2 MB, free: 13.92 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1126/0.1126, allocations: 20.31 MB / 361.6 MB, free: 6.633 MB / 298.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 1.35/1.35, allocations: 127.1 MB / 0.533 GB, free: 17.03 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 0.0007056/0.0007057, allocations: 15.98 kB / 0.6256 GB, free: 11.01 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2815/0.2822, allocations: 82.86 MB / 0.7065 GB, free: 8.355 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6854/0.9677, allocations: 121.5 MB / 0.8251 GB, free: 3.273 MB / 0.5262 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003188/0.9681, allocations: 83.12 kB / 0.8252 GB, free: 3.223 MB / 0.5262 GB Notification: Performance of FrontEnd - DAE generated: time 0.02508/0.9932, allocations: 7.998 MB / 0.833 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of FrontEnd: time 5.12e-06/0.9933, allocations: 0 / 0.833 GB, free: 12.47 MB / 0.5418 GB Notification: Performance of Transformations before backend: time 1.328e-05/0.9933, allocations: 0.5625 kB / 0.833 GB, free: 12.47 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: 18 * Number of variables: 18 Notification: Performance of Generate backend data structure: time 0.001599/0.995, allocations: 0.5735 MB / 0.8336 GB, free: 11.85 MB / 0.5418 GB Notification: Performance of prepare preOptimizeDAE: time 8.824e-05/0.9951, allocations: 12.02 kB / 0.8336 GB, free: 11.84 MB / 0.5418 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.9952, allocations: 41.95 kB / 0.8337 GB, free: 11.79 MB / 0.5418 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001061/0.9953, allocations: 15.81 kB / 0.8337 GB, free: 11.78 MB / 0.5418 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000478/0.9958, allocations: 226.1 kB / 0.8339 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.359e-05/0.9958, allocations: 5.219 kB / 0.8339 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.234e-05/0.9959, allocations: 6.875 kB / 0.8339 GB, free: 11.52 MB / 0.5418 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000778/0.9967, allocations: 221.8 kB / 0.8341 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.412e-05/0.9967, allocations: 2.562 kB / 0.8341 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.526e-05/0.9967, allocations: 0 / 0.8341 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.079e-05/0.9967, allocations: 7.953 kB / 0.8341 GB, free: 11.32 MB / 0.5418 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009857/0.9977, allocations: 263 kB / 0.8344 GB, free: 11.09 MB / 0.5418 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001132/0.9989, allocations: 419.4 kB / 0.8348 GB, free: 10.69 MB / 0.5418 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000809/0.9997, allocations: 226.8 kB / 0.835 GB, free: 10.5 MB / 0.5418 GB Notification: Performance of preOpt evalFunc (simulation): time 4.636e-05/0.9998, allocations: 3.984 kB / 0.835 GB, free: 10.49 MB / 0.5418 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007398/1.001, allocations: 244.8 kB / 0.8352 GB, free: 10.27 MB / 0.5418 GB Notification: Performance of pre-optimization done (n=18): time 2.585e-06/1.001, allocations: 0 / 0.8352 GB, free: 10.27 MB / 0.5418 GB Notification: Performance of matching and sorting (n=18): time 0.001896/1.002, allocations: 0.5981 MB / 0.8358 GB, free: 9.715 MB / 0.5418 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001058/1.003, allocations: 85.86 kB / 0.8359 GB, free: 9.613 MB / 0.5418 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002127/1.003, allocations: 163.7 kB / 0.836 GB, free: 9.461 MB / 0.5418 GB Notification: Performance of collectPreVariables (initialization): time 4.343e-05/1.003, allocations: 33.58 kB / 0.8361 GB, free: 9.426 MB / 0.5418 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001226/1.003, allocations: 102.7 kB / 0.8362 GB, free: 9.332 MB / 0.5418 GB Notification: Performance of collectInitialBindings (initialization): time 6.377e-05/1.003, allocations: 49.48 kB / 0.8362 GB, free: 9.289 MB / 0.5418 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.854e-05/1.003, allocations: 3.938 kB / 0.8362 GB, free: 9.289 MB / 0.5418 GB Notification: Performance of setup shared object (initialization): time 0.0001853/1.003, allocations: 325.8 kB / 0.8365 GB, free: 8.969 MB / 0.5418 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005033/1.004, allocations: 132.9 kB / 0.8367 GB, free: 8.859 MB / 0.5418 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005031/1.004, allocations: 151 kB / 0.8368 GB, free: 8.73 MB / 0.5418 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005239/1.005, allocations: 182.1 kB / 0.837 GB, free: 8.57 MB / 0.5418 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.31e-06/1.005, allocations: 0 / 0.837 GB, free: 8.57 MB / 0.5418 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.001326/1.006, allocations: 452.9 kB / 0.8374 GB, free: 8.176 MB / 0.5418 GB Notification: Performance of prepare postOptimizeDAE: time 8.062e-05/1.006, allocations: 67.14 kB / 0.8375 GB, free: 8.102 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.598e-06/1.006, allocations: 0 / 0.8375 GB, free: 8.102 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.286e-05/1.006, allocations: 1.688 kB / 0.8375 GB, free: 8.102 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003441/1.007, allocations: 51.92 kB / 0.8375 GB, free: 8.051 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.549e-05/1.007, allocations: 5.25 kB / 0.8375 GB, free: 8.047 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003205/1.007, allocations: 39.33 kB / 0.8376 GB, free: 8.012 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-05/1.007, allocations: 8 kB / 0.8376 GB, free: 8.004 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: 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 () * Number of clocked 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.0002341/1.007, allocations: 174.6 kB / 0.8377 GB, free: 7.828 MB / 0.5418 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.747e-05/1.007, allocations: 19.77 kB / 0.8378 GB, free: 7.809 MB / 0.5418 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001383/1.009, allocations: 492.8 kB / 0.8382 GB, free: 7.406 MB / 0.5418 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.732e-06/1.009, allocations: 3.984 kB / 0.8382 GB, free: 7.402 MB / 0.5418 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.009, allocations: 0.625 kB / 0.8382 GB, free: 7.402 MB / 0.5418 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.817e-06/1.009, allocations: 4 kB / 0.8382 GB, free: 7.398 MB / 0.5418 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/1.009, allocations: 279.5 kB / 0.8385 GB, free: 7.113 MB / 0.5418 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.146e-06/1.009, allocations: 0 / 0.8385 GB, free: 7.113 MB / 0.5418 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002947/1.009, allocations: 56.94 kB / 0.8386 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.669e-06/1.01, allocations: 0 / 0.8386 GB, free: 7.059 MB / 0.5418 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.351e-05/1.01, allocations: 11.05 kB / 0.8386 GB, free: 7.051 MB / 0.5418 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.976e-06/1.01, allocations: 0 / 0.8386 GB, free: 7.051 MB / 0.5418 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.01, allocations: 0 / 0.8386 GB, free: 7.051 MB / 0.5418 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001238/1.011, allocations: 0.4884 MB / 0.839 GB, free: 6.621 MB / 0.5418 GB Notification: Performance of postOpt removeConstants (simulation): time 9.17e-05/1.011, allocations: 92.86 kB / 0.8391 GB, free: 6.512 MB / 0.5418 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.259e-05/1.011, allocations: 6.688 kB / 0.8391 GB, free: 6.508 MB / 0.5418 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/1.011, allocations: 37.33 kB / 0.8392 GB, free: 6.477 MB / 0.5418 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/1.011, allocations: 21.84 kB / 0.8392 GB, free: 6.461 MB / 0.5418 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.114e-05/1.011, allocations: 19.3 kB / 0.8392 GB, free: 6.445 MB / 0.5418 GB Notification: Performance of sorting global known variables: time 0.0001323/1.012, allocations: 136.2 kB / 0.8393 GB, free: 6.328 MB / 0.5418 GB Notification: Performance of sort global known variables: time 1.3e-07/1.012, allocations: 0 / 0.8393 GB, free: 6.328 MB / 0.5418 GB Notification: Performance of remove unused functions: time 0.0004457/1.012, allocations: 75.25 kB / 0.8394 GB, free: 6.258 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: 11 ($cse5,$cse6,$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) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (19): * Single equations (assignments): 16 * 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.001801/1.014, allocations: 1.052 MB / 0.8404 GB, free: 5.18 MB / 0.5418 GB Notification: Performance of simCode: created initialization part: time 0.001162/1.015, allocations: 447.1 kB / 0.8409 GB, free: 4.719 MB / 0.5418 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.015, allocations: 0 / 0.8409 GB, free: 4.719 MB / 0.5418 GB Notification: Performance of simCode: created simulation system equations: time 0.000589/1.016, allocations: 263.1 kB / 0.8411 GB, free: 4.449 MB / 0.5418 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002431/1.016, allocations: 12 kB / 0.8411 GB, free: 4.438 MB / 0.5418 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003715/1.02, allocations: 1.456 MB / 0.8426 GB, free: 2.945 MB / 0.5418 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005397/1.02, allocations: 0.7245 MB / 0.8433 GB, free: 2.195 MB / 0.5418 GB Notification: Performance of simCode: alias equations: time 0.0001635/1.02, allocations: 21.08 kB / 0.8433 GB, free: 2.176 MB / 0.5418 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000148/1.021, allocations: 61.14 kB / 0.8433 GB, free: 2.117 MB / 0.5418 GB Notification: Performance of SimCode: time 1.984e-06/1.021, allocations: 0 / 0.8433 GB, free: 2.117 MB / 0.5418 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02498/1.046, allocations: 4.401 MB / 0.8476 GB, free: 14.01 MB / 0.5574 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003304/1.046, allocations: 203.6 kB / 0.8478 GB, free: 13.77 MB / 0.5574 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.146/3.192, allocations: 0 / 0.8478 GB, free: 13.77 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