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.001748/0.001748, allocations: 175.2 kB / 12.73 MB, free: 2.59 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.625/1.625, allocations: 221.4 MB / 234.6 MB, free: 14.44 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001123/0.001123, allocations: 85.17 kB / 285.6 MB, free: 12.98 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/TILMedia 1.8.0-main/package.mo): time 0.1158/0.1158, allocations: 20.17 MB / 356.7 MB, free: 5.902 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.581/1.581, allocations: 127.5 MB / 0.5284 GB, free: 15.92 MB / 362.8 MB Notification: Performance of FrontEnd - loaded program: time 7.415e-05/7.426e-05, allocations: 0 / 0.6181 GB, free: 3.945 MB / 442.8 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6445/0.6446, allocations: 82.85 MB / 0.699 GB, free: 32.22 MB / 474.8 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.22/0.8647, allocations: 121.5 MB / 0.8176 GB, free: 15.72 MB / 0.5574 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004191/0.8652, allocations: 76.53 kB / 0.8177 GB, free: 15.64 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 0.02811/0.8934, allocations: 7.981 MB / 0.8254 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.226e-06/0.8935, allocations: 0 / 0.8254 GB, free: 7.754 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 1.64e-05/0.8935, allocations: 0 / 0.8254 GB, free: 7.754 MB / 0.5574 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.001569/0.8951, allocations: 0.5486 MB / 0.826 GB, free: 7.152 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.589e-05/0.8952, allocations: 12.75 kB / 0.826 GB, free: 7.141 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000122/0.8953, allocations: 39.69 kB / 0.826 GB, free: 7.094 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001067/0.8954, allocations: 19.77 kB / 0.8261 GB, free: 7.074 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004819/0.8959, allocations: 219.4 kB / 0.8263 GB, free: 6.816 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.4e-05/0.896, allocations: 9.234 kB / 0.8263 GB, free: 6.809 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.446e-05/0.896, allocations: 12 kB / 0.8263 GB, free: 6.797 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003706/0.8964, allocations: 152 kB / 0.8264 GB, free: 6.645 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.302e-05/0.8964, allocations: 0 / 0.8264 GB, free: 6.645 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.817e-05/0.8965, allocations: 4 kB / 0.8264 GB, free: 6.641 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.135e-06/0.8965, allocations: 0 / 0.8264 GB, free: 6.641 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.8968, allocations: 125.2 kB / 0.8265 GB, free: 6.52 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001017/0.8978, allocations: 414.5 kB / 0.8269 GB, free: 6.062 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002954/0.8981, allocations: 136.2 kB / 0.8271 GB, free: 5.922 MB / 0.5574 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001879/0.8983, allocations: 104.3 kB / 0.8272 GB, free: 5.82 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.377e-05/0.8984, allocations: 11.75 kB / 0.8272 GB, free: 5.812 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003856/0.8988, allocations: 189.1 kB / 0.8274 GB, free: 5.609 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=18): time 2.635e-06/0.8988, allocations: 0 / 0.8274 GB, free: 5.609 MB / 0.5574 GB Notification: Performance of matching and sorting (n=18): time 0.0007424/0.8995, allocations: 289.4 kB / 0.8276 GB, free: 5.316 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.101e-05/0.8996, allocations: 93.03 kB / 0.8277 GB, free: 5.207 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002212/0.8999, allocations: 155.9 kB / 0.8279 GB, free: 5.047 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 4.482e-05/0.8999, allocations: 33.7 kB / 0.8279 GB, free: 5.008 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/0.9, allocations: 109.1 kB / 0.828 GB, free: 4.895 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 6.728e-05/0.9001, allocations: 48.88 kB / 0.8281 GB, free: 4.848 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.923e-05/0.9001, allocations: 10.53 kB / 0.8281 GB, free: 4.84 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001648/0.9003, allocations: 330.8 kB / 0.8284 GB, free: 4.508 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001732/0.9005, allocations: 79.45 kB / 0.8285 GB, free: 4.43 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001678/0.9007, allocations: 102 kB / 0.8286 GB, free: 4.324 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001751/0.9009, allocations: 124.6 kB / 0.8287 GB, free: 4.195 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.346e-06/0.9009, allocations: 4 kB / 0.8287 GB, free: 4.191 MB / 0.5574 GB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000566/0.9014, allocations: 335.7 kB / 0.829 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 7.752e-05/0.9015, allocations: 71.34 kB / 0.8291 GB, free: 3.766 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.9016, allocations: 3.312 kB / 0.8291 GB, free: 3.766 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.371e-05/0.9016, allocations: 4 kB / 0.8291 GB, free: 3.762 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003289/0.9019, allocations: 43.95 kB / 0.8291 GB, free: 3.719 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.333e-05/0.9019, allocations: 0.7031 kB / 0.8291 GB, free: 3.719 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003159/0.9023, allocations: 51.83 kB / 0.8292 GB, free: 3.668 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.669e-05/0.9023, allocations: 8 kB / 0.8292 GB, free: 3.66 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.0001655/0.9025, allocations: 150.6 kB / 0.8293 GB, free: 3.5 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.641e-05/0.9026, allocations: 15.81 kB / 0.8293 GB, free: 3.484 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007718/0.9033, allocations: 381.7 kB / 0.8297 GB, free: 3.098 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.819e-06/0.9034, allocations: 0 / 0.8297 GB, free: 3.098 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.474e-06/0.9034, allocations: 0 / 0.8297 GB, free: 3.098 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.012e-05/0.9034, allocations: 4 kB / 0.8297 GB, free: 3.094 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003314/0.9037, allocations: 257.4 kB / 0.83 GB, free: 2.793 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.703e-06/0.9038, allocations: 0 / 0.83 GB, free: 2.793 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003111/0.9041, allocations: 67.81 kB / 0.83 GB, free: 2.727 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.881e-06/0.9041, allocations: 0 / 0.83 GB, free: 2.727 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.164e-05/0.9041, allocations: 15.94 kB / 0.83 GB, free: 2.711 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.134e-06/0.9041, allocations: 4 kB / 0.83 GB, free: 2.707 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.095e-06/0.9042, allocations: 2.188 kB / 0.83 GB, free: 2.707 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006249/0.9048, allocations: 374.1 kB / 0.8304 GB, free: 2.324 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.575e-05/0.9049, allocations: 88.92 kB / 0.8305 GB, free: 2.219 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.276e-05/0.905, allocations: 15.95 kB / 0.8305 GB, free: 2.203 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002791/0.9052, allocations: 35.95 kB / 0.8305 GB, free: 2.168 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001135/0.9054, allocations: 23.91 kB / 0.8305 GB, free: 2.145 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.9054, allocations: 15.98 kB / 0.8306 GB, free: 2.129 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.000135/0.9055, allocations: 132 kB / 0.8307 GB, free: 2 MB / 0.5574 GB Notification: Performance of sort global known variables: time 3.1e-07/0.9056, allocations: 0 / 0.8307 GB, free: 2 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0004655/0.906, allocations: 87.88 kB / 0.8308 GB, free: 1.914 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.001243/0.9073, allocations: 0.9234 MB / 0.8317 GB, free: 0.957 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0005163/0.9078, allocations: 331.9 kB / 0.832 GB, free: 0.6094 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.941e-06/0.9078, allocations: 3.938 kB / 0.832 GB, free: 0.6055 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.000261/0.9081, allocations: 196.2 kB / 0.8322 GB, free: 412 kB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002841/0.9084, allocations: 21.66 kB / 0.8322 GB, free: 392 kB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009774/0.9094, allocations: 315.5 kB / 0.8325 GB, free: 44 kB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003855/0.9098, allocations: 0.7238 MB / 0.8332 GB, free: 15.29 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.000151/0.91, allocations: 24.77 kB / 0.8332 GB, free: 15.27 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001248/0.9101, allocations: 48.28 kB / 0.8333 GB, free: 15.22 MB / 0.573 GB Notification: Performance of SimCode: time 4.71e-07/0.9101, allocations: 0 / 0.8333 GB, free: 15.22 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04323/0.9533, allocations: 4.208 MB / 0.8374 GB, free: 11.29 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000327/0.9537, allocations: 187.8 kB / 0.8376 GB, free: 11.05 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.151/3.105, allocations: 0 / 0.8376 GB, free: 11.05 MB / 0.573 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