Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.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.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower",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.286/2.286, allocations: 390.3 MB / 405.3 MB, free: 13.44 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.001123/0.001123, allocations: 169.2 kB / 498.1 MB, free: 5.719 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.637/1.637, allocations: 223.2 MB / 0.7948 GB, free: 17.9 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.001035/0.001034, allocations: 96.33 kB / 0.9346 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 10.78 kB / 1.084 GB, free: 221.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3297/0.3301, allocations: 142.4 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1992/0.5294, allocations: 156.1 MB / 1.375 GB, free: 5.852 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002463/0.5297, allocations: 95.94 kB / 1.375 GB, free: 5.758 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03294/0.5626, allocations: 12.83 MB / 1.388 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.775e-06/0.5627, allocations: 0 / 1.388 GB, free: 8.809 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 3.835e-05/0.5627, allocations: 8 kB / 1.388 GB, free: 8.801 MB / 0.8855 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 28 * Number of variables: 28 Notification: Performance of Generate backend data structure: time 0.001445/0.5642, allocations: 0.7781 MB / 1.389 GB, free: 7.973 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 7.451e-05/0.5643, allocations: 12.03 kB / 1.389 GB, free: 7.961 MB / 0.8855 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.226e-05/0.5643, allocations: 42.56 kB / 1.389 GB, free: 7.91 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001033/0.5645, allocations: 59.2 kB / 1.389 GB, free: 7.852 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008299/0.5653, allocations: 435 kB / 1.389 GB, free: 7.387 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.627e-05/0.5653, allocations: 8.234 kB / 1.389 GB, free: 7.379 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.068e-05/0.5654, allocations: 23.98 kB / 1.389 GB, free: 7.355 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003209/0.5657, allocations: 135.2 kB / 1.389 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.238e-05/0.5657, allocations: 0 / 1.389 GB, free: 7.223 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.215e-05/0.5658, allocations: 4 kB / 1.389 GB, free: 7.219 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.384e-06/0.5658, allocations: 4 kB / 1.389 GB, free: 7.215 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002056/0.566, allocations: 87.91 kB / 1.39 GB, free: 7.129 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0012/0.5672, allocations: 0.6603 MB / 1.39 GB, free: 6.418 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003521/0.5676, allocations: 130.6 kB / 1.39 GB, free: 6.281 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.541e-05/0.5676, allocations: 8.125 kB / 1.39 GB, free: 6.273 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002349/0.5679, allocations: 103.4 kB / 1.39 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=12): time 1.824e-06/0.5679, allocations: 0 / 1.39 GB, free: 6.16 MB / 0.8855 GB Notification: Performance of matching and sorting (n=12): time 0.0004972/0.5684, allocations: 209.1 kB / 1.391 GB, free: 5.949 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.598e-05/0.5685, allocations: 55.41 kB / 1.391 GB, free: 5.883 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007409/0.5692, allocations: 0.5764 MB / 1.391 GB, free: 5.297 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 3.669e-05/0.5693, allocations: 33.7 kB / 1.391 GB, free: 5.258 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002539/0.5695, allocations: 260.4 kB / 1.392 GB, free: 4.996 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 4.834e-05/0.5696, allocations: 35.55 kB / 1.392 GB, free: 4.961 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.489e-05/0.5696, allocations: 4 kB / 1.392 GB, free: 4.957 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0002045/0.5698, allocations: 374.7 kB / 1.392 GB, free: 4.582 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001679/0.57, allocations: 91.89 kB / 1.392 GB, free: 4.492 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002004/0.5702, allocations: 123.4 kB / 1.392 GB, free: 4.359 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000179/0.5704, allocations: 98.03 kB / 1.392 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.5704, allocations: 0 / 1.392 GB, free: 4.266 MB / 0.8855 GB Notification: Performance of matching and sorting (n=25) (initialization): time 0.0004794/0.5709, allocations: 285 kB / 1.392 GB, free: 3.98 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 2.223e-05/0.5709, allocations: 4 kB / 1.392 GB, free: 3.977 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/0.5709, allocations: 7.938 kB / 1.392 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.188e-05/0.571, allocations: 0 / 1.392 GB, free: 3.969 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002046/0.5712, allocations: 39.92 kB / 1.393 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.698e-06/0.5712, allocations: 0 / 1.393 GB, free: 3.93 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001875/0.5714, allocations: 39.91 kB / 1.393 GB, free: 3.891 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.5714, allocations: 8 kB / 1.393 GB, free: 3.883 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition1,$PRE.PEleDem.tab.nextTimeEvent,assPow.assMesP.u,$PRE.assPow.maxPow.y,assPow.maxPow.y,$PRE.assPow.minPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,$PRE.PEleDem.tab.nextTimeEventScaled,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (25): * Single equations (assignments): 25 * 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 0.0002664/0.5717, allocations: 209.7 kB / 1.393 GB, free: 3.668 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.363e-05/0.5718, allocations: 55.28 kB / 1.393 GB, free: 3.613 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004064/0.5722, allocations: 190.3 kB / 1.393 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5722, allocations: 0 / 1.393 GB, free: 3.422 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.57e-06/0.5722, allocations: 4 kB / 1.393 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.25e-06/0.5722, allocations: 0 / 1.393 GB, free: 3.418 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004227/0.5727, allocations: 381.3 kB / 1.393 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.5727, allocations: 0 / 1.393 GB, free: 2.996 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.101e-05/0.5727, allocations: 15.94 kB / 1.393 GB, free: 2.98 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.85e-06/0.5728, allocations: 4 kB / 1.393 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.64e-05/0.5728, allocations: 0 / 1.393 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.5728, allocations: 0 / 1.393 GB, free: 2.977 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.41e-06/0.5728, allocations: 7.984 kB / 1.393 GB, free: 2.969 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004731/0.5733, allocations: 264.3 kB / 1.394 GB, free: 2.691 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001435/0.5734, allocations: 128.5 kB / 1.394 GB, free: 2.547 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.794e-05/0.5735, allocations: 4 kB / 1.394 GB, free: 2.543 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001354/0.5736, allocations: 23.97 kB / 1.394 GB, free: 2.52 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.546e-05/0.5737, allocations: 23.95 kB / 1.394 GB, free: 2.496 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.294e-05/0.5737, allocations: 7.938 kB / 1.394 GB, free: 2.488 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 0.000513/0.5743, allocations: 438.8 kB / 1.394 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of sort global known variables: time 1.41e-07/0.5743, allocations: 0 / 1.394 GB, free: 2.062 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0003708/0.5747, allocations: 75.94 kB / 1.394 GB, free: 1.988 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (assPow.demRat.x) * Number of discrete variables: 7 ($whenCondition1,assPow.assMesP.u,assPow.maxPow.y,assPow.minPow.y,assPow.assMesDP.u,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of discrete states: 4 (assPow.minPow.y,assPow.maxPow.y,PEleDem.tab.nextTimeEvent,PEleDem.tab.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 11 * 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.001975/0.5766, allocations: 1.154 MB / 1.395 GB, free: 0.9688 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0003618/0.577, allocations: 161.6 kB / 1.396 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 4.058e-06/0.577, allocations: 0 / 1.396 GB, free: 0.8125 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.5772, allocations: 55.92 kB / 1.396 GB, free: 0.7578 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004349/0.5776, allocations: 73.36 kB / 1.396 GB, free: 0.6914 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001983/0.5796, allocations: 1.417 MB / 1.397 GB, free: 15.21 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004738/0.5801, allocations: 0.8729 MB / 1.398 GB, free: 14.31 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0001518/0.5802, allocations: 38.27 kB / 1.398 GB, free: 14.27 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002244/0.5805, allocations: 163.4 kB / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of SimCode: time 2.2e-07/0.5805, allocations: 0 / 1.398 GB, free: 14.11 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.6052, allocations: 9.315 MB / 1.407 GB, free: 4.969 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001841/0.6054, allocations: 218.5 kB / 1.407 GB, free: 4.73 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.292/2.898, allocations: 4.062 kB / 1.407 GB, free: 4.727 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower_fmu --startTime=0 --stopTime=1800 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_AssertPower.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.AssertPower_res.mat does not exist to compare? outputFormat=mat