Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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) Using package Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.202/2.202, allocations: 387.1 MB / 399.7 MB, free: 9.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001073/0.001073, allocations: 184.1 kB / 492.3 MB, free: 0.6133 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 221.3 MB / 0.7871 GB, free: 12.88 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008741/0.000874, allocations: 101.2 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.391e-05/3.397e-05, allocations: 8 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2487/0.2488, allocations: 142.4 MB / 1.212 GB, free: 38.39 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8985/1.147, allocations: 154.8 MB / 1.364 GB, free: 18.84 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002516/1.148, allocations: 91.77 kB / 1.364 GB, free: 18.83 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.02606/1.174, allocations: 10.45 MB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.923e-06/1.174, allocations: 0 / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.863e-05/1.174, allocations: 7.906 kB / 1.374 GB, free: 33.51 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001062/1.175, allocations: 0.5754 MB / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.81e-05/1.175, allocations: 7.812 kB / 1.375 GB, free: 33.03 MB / 0.8386 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.527e-05/1.175, allocations: 38.06 kB / 1.375 GB, free: 32.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001325/1.175, allocations: 42.62 kB / 1.375 GB, free: 32.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006794/1.176, allocations: 348.1 kB / 1.375 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.254e-05/1.176, allocations: 5.734 kB / 1.375 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.094e-05/1.176, allocations: 11.69 kB / 1.375 GB, free: 32.71 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001842/1.176, allocations: 74.81 kB / 1.375 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/1.176, allocations: 0 / 1.375 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/1.176, allocations: 3.781 kB / 1.375 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/1.176, allocations: 0 / 1.375 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.286e-05/1.176, allocations: 36 kB / 1.375 GB, free: 32.68 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008521/1.177, allocations: 480.4 kB / 1.376 GB, free: 32.39 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001543/1.177, allocations: 60.03 kB / 1.376 GB, free: 32.37 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.075e-05/1.177, allocations: 29.38 kB / 1.376 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 2.307e-05/1.177, allocations: 3.828 kB / 1.376 GB, free: 32.36 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/1.178, allocations: 86.61 kB / 1.376 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=6): time 1.944e-06/1.178, allocations: 0 / 1.376 GB, free: 32.3 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6): time 0.0003011/1.178, allocations: 119.3 kB / 1.376 GB, free: 32.25 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/1.178, allocations: 54.09 kB / 1.376 GB, free: 32.19 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006606/1.179, allocations: 477.8 kB / 1.376 GB, free: 32.07 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.442e-05/1.179, allocations: 29.14 kB / 1.376 GB, free: 32.04 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001569/1.179, allocations: 219.2 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.403e-05/1.179, allocations: 15.56 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.086e-05/1.179, allocations: 3.062 kB / 1.377 GB, free: 31.95 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001015/1.179, allocations: 362.1 kB / 1.377 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.633e-05/1.179, allocations: 54.36 kB / 1.377 GB, free: 31.63 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.846e-05/1.179, allocations: 77.95 kB / 1.377 GB, free: 31.61 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.32e-05/1.179, allocations: 61.94 kB / 1.377 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/1.179, allocations: 3.938 kB / 1.377 GB, free: 31.6 MB / 0.8386 GB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003035/1.18, allocations: 206 kB / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.73e-05/1.18, allocations: 11.75 kB / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/1.18, allocations: 0 / 1.377 GB, free: 31.54 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/1.18, allocations: 3.953 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/1.18, allocations: 28.02 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.648e-06/1.18, allocations: 0 / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001391/1.18, allocations: 18.16 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.879e-05/1.18, allocations: 3.844 kB / 1.377 GB, free: 31.53 MB / 0.8386 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.TWat.tab.nextTimeEvent,$PRE.assWatTem.hys.y,assWatTem.hys.y,TWat.tab.nextTimeEvent,$PRE.TWat.tab.nextTimeEventScaled,TWat.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 0 * 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 7.221e-05/1.18, allocations: 116.9 kB / 1.378 GB, free: 31.42 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/1.18, allocations: 46.47 kB / 1.378 GB, free: 31.39 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002203/1.18, allocations: 144.4 kB / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/1.18, allocations: 3.953 kB / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.601e-06/1.18, allocations: 3.906 kB / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.807e-06/1.18, allocations: 0 / 1.378 GB, free: 31.34 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002273/1.181, allocations: 296 kB / 1.378 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.835e-06/1.181, allocations: 4.094 kB / 1.378 GB, free: 31.15 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.834e-05/1.181, allocations: 11.62 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/1.181, allocations: 0 / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.252e-05/1.181, allocations: 10.33 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/1.181, allocations: 0 / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.934e-06/1.181, allocations: 3.953 kB / 1.378 GB, free: 31.14 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001717/1.181, allocations: 153.8 kB / 1.378 GB, free: 31.05 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/1.181, allocations: 122 kB / 1.378 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.82e-05/1.181, allocations: 0 / 1.378 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.092e-05/1.181, allocations: 12.09 kB / 1.378 GB, free: 30.93 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.675e-05/1.181, allocations: 14.27 kB / 1.378 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.094e-05/1.181, allocations: 10.22 kB / 1.378 GB, free: 30.92 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003225/1.182, allocations: 358.3 kB / 1.379 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of sort global known variables: time 2.01e-07/1.182, allocations: 0 / 1.379 GB, free: 30.83 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0002921/1.182, allocations: 61.53 kB / 1.379 GB, free: 30.82 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition1,assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Number of discrete states: 3 (assWatTem.hys.y,TWat.tab.nextTimeEvent,TWat.tab.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.001242/1.183, allocations: 0.9952 MB / 1.38 GB, free: 30.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000192/1.183, allocations: 98.02 kB / 1.38 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 3.346e-06/1.183, allocations: 0 / 1.38 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.22e-05/1.183, allocations: 29.75 kB / 1.38 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003241/1.184, allocations: 57.77 kB / 1.38 GB, free: 30.09 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009443/1.185, allocations: 0.5467 MB / 1.38 GB, free: 29.87 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004068/1.185, allocations: 0.8231 MB / 1.381 GB, free: 29.17 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001013/1.185, allocations: 31.27 kB / 1.381 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001279/1.185, allocations: 116.4 kB / 1.381 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of SimCode: time 3.5e-07/1.185, allocations: 0 / 1.381 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02777/1.213, allocations: 7.605 MB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002113/1.213, allocations: 204.6 kB / 1.389 GB, free: 25.78 MB / 0.8386 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.159/3.372, allocations: 0 / 1.389 GB, free: 25.78 MB / 0.8386 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertWaterTemperature.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertWaterTemperature_res.mat does not exist to compare? outputFormat=mat