Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.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.CoolDown,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,fileNamePrefix="Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown",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.279/2.279, allocations: 390.3 MB / 405.3 MB, free: 13.51 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.001025/0.001025, allocations: 181.1 kB / 498.1 MB, free: 5.762 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.46/1.46, allocations: 223.2 MB / 0.7948 GB, free: 18.94 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.0009585/0.0009585, allocations: 104 kB / 0.9346 GB, free: 7.285 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003546/0.0003546, allocations: 15.06 kB / 1.084 GB, free: 212.5 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2809/0.2812, allocations: 142.4 MB / 1.223 GB, free: 89.54 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1935/0.4748, allocations: 157.4 MB / 1.377 GB, free: 11.95 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002456/0.4751, allocations: 95.94 kB / 1.377 GB, free: 11.86 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.03781/0.5129, allocations: 14.55 MB / 1.391 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of FrontEnd: time 2.074e-06/0.5129, allocations: 0 / 1.391 GB, free: 13.15 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 6.36e-05/0.513, allocations: 15.94 kB / 1.391 GB, free: 13.14 MB / 0.9011 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001795/0.5148, allocations: 0.9306 MB / 1.392 GB, free: 12.14 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 4.421e-05/0.5149, allocations: 8.031 kB / 1.392 GB, free: 12.13 MB / 0.9011 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001688/0.5151, allocations: 94.5 kB / 1.392 GB, free: 12.03 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002016/0.5153, allocations: 86.97 kB / 1.392 GB, free: 11.95 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008249/0.5161, allocations: 448.1 kB / 1.392 GB, free: 11.47 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.187e-05/0.5162, allocations: 45.31 kB / 1.393 GB, free: 11.43 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.705e-05/0.5163, allocations: 59.98 kB / 1.393 GB, free: 11.37 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001033/0.5173, allocations: 0.6136 MB / 1.393 GB, free: 10.69 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.089e-05/0.5173, allocations: 7.938 kB / 1.393 GB, free: 10.68 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.12e-05/0.5174, allocations: 20 kB / 1.393 GB, free: 10.66 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.625e-05/0.5174, allocations: 16 kB / 1.393 GB, free: 10.64 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006937/0.5181, allocations: 371.6 kB / 1.394 GB, free: 10.28 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002849/0.521, allocations: 2.592 MB / 1.396 GB, free: 7.578 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000688/0.5217, allocations: 377.9 kB / 1.396 GB, free: 7.156 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.15e-05/0.5217, allocations: 12.59 kB / 1.396 GB, free: 7.145 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004707/0.5222, allocations: 289.2 kB / 1.397 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 3.907e-06/0.5222, allocations: 0 / 1.397 GB, free: 6.828 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.001033/0.5233, allocations: 0.5019 MB / 1.397 GB, free: 6.324 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001138/0.5234, allocations: 225.5 kB / 1.397 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007083/0.5241, allocations: 0.5526 MB / 1.398 GB, free: 5.492 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.304e-05/0.5242, allocations: 49.69 kB / 1.398 GB, free: 5.438 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003051/0.5245, allocations: 352.6 kB / 1.398 GB, free: 5.09 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001217/0.5246, allocations: 106.7 kB / 1.398 GB, free: 4.984 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.51e-05/0.5247, allocations: 12 kB / 1.398 GB, free: 4.973 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.000156/0.5248, allocations: 390.8 kB / 1.399 GB, free: 4.582 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000284/0.5251, allocations: 141.2 kB / 1.399 GB, free: 4.445 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000406/0.5255, allocations: 339.6 kB / 1.399 GB, free: 4.023 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003054/0.5258, allocations: 156.8 kB / 1.399 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.889e-06/0.5259, allocations: 0 / 1.399 GB, free: 3.871 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008963/0.5268, allocations: 0.5338 MB / 1.4 GB, free: 3.332 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.465e-05/0.5268, allocations: 12.77 kB / 1.4 GB, free: 3.32 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.322e-05/0.5268, allocations: 7.953 kB / 1.4 GB, free: 3.312 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.612e-05/0.5268, allocations: 16 kB / 1.4 GB, free: 3.297 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002442/0.5271, allocations: 71.84 kB / 1.4 GB, free: 3.227 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.51e-05/0.5271, allocations: 19.92 kB / 1.4 GB, free: 3.207 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002901/0.5274, allocations: 39.69 kB / 1.4 GB, free: 3.168 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.558e-05/0.5275, allocations: 32 kB / 1.4 GB, free: 3.137 MB / 0.9011 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 64 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition2.t_start,transition2.t_start,$PRE.transition1.t_start,transition1.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,actMod,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,$PRE.cooDow.localActive,cooDow.localActive,cooDow.inPort[2].occupied,cooDow.outPort[2].available,$PRE.cooDow.newActive,cooDow.newActive,$PRE.cooDow.oldActive,cooDow.oldActive,cooDow.active,$PRE.norm.localActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,$PRE.norm.newActive,norm.newActive,$PRE.norm.oldActive,norm.oldActive,norm.active,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,$PRE.off.localActive,off.localActive,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,transition3.enableFire,$PRE.timer.passed,timer.passed,$PRE.timer.entryTime,timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (82): * Single equations (assignments): 82 * 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.0003863/0.5279, allocations: 273.6 kB / 1.4 GB, free: 2.859 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001042/0.528, allocations: 71.16 kB / 1.401 GB, free: 2.789 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007603/0.5288, allocations: 414.8 kB / 1.401 GB, free: 2.375 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.287e-06/0.5288, allocations: 7.953 kB / 1.401 GB, free: 2.367 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.5288, allocations: 4 kB / 1.401 GB, free: 2.363 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.5288, allocations: 3.984 kB / 1.401 GB, free: 2.359 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001632/0.5304, allocations: 1.098 MB / 1.402 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.5305, allocations: 0 / 1.402 GB, free: 1.199 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001094/0.5306, allocations: 23.92 kB / 1.402 GB, free: 1.176 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.113e-06/0.5306, allocations: 4 kB / 1.402 GB, free: 1.172 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.58e-05/0.5306, allocations: 19.98 kB / 1.402 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.057e-06/0.5306, allocations: 0 / 1.402 GB, free: 1.152 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.428e-06/0.5306, allocations: 4 kB / 1.402 GB, free: 1.148 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007409/0.5314, allocations: 0.5919 MB / 1.403 GB, free: 500 kB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001587/0.5316, allocations: 152.2 kB / 1.403 GB, free: 328 kB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.837e-05/0.5317, allocations: 15.94 kB / 1.403 GB, free: 312 kB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001958/0.5319, allocations: 19.98 kB / 1.403 GB, free: 292 kB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000136/0.532, allocations: 55.86 kB / 1.403 GB, free: 236 kB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.415e-05/0.5321, allocations: 20 kB / 1.403 GB, free: 216 kB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.6037/1.136, allocations: 414.6 kB / 1.403 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.092e-06/1.136, allocations: 0 / 1.403 GB, free: 169.4 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.00107/1.137, allocations: 132 kB / 1.403 GB, free: 169.4 MB / 0.9011 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 42 (transition5.t_start,transition3.t_start,transition4.t_start,transition1.t_start,transition2.t_start,off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,actMod,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,notRun.y,and1.y,cooDow.inPort[2].occupied,cooDow.outPort[2].available,cooDow.newActive,cooDow.oldActive,norm.localActive,norm.inPort[2].occupied,norm.outPort[2].available,norm.newActive,norm.oldActive,stateGraphRoot.activeSteps,transition2.enableFire,transition1.enableFire,transition4.enableFire,off.localActive,off.newActive,off.oldActive,transition3.enableFire,timer.passed,timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,timer.entryTime,norm.newActive,off.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition2.t_start,transition1.t_start,transition4.t_start,transition3.t_start,transition5.t_start) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (50): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 12 * 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.002318/1.139, allocations: 1.848 MB / 1.405 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.000891/1.14, allocations: 415.1 kB / 1.406 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 3.145e-06/1.14, allocations: 1.344 kB / 1.406 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003707/1.141, allocations: 203.6 kB / 1.406 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005215/1.141, allocations: 84.08 kB / 1.406 GB, free: 168.2 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007226/1.148, allocations: 7.322 MB / 1.413 GB, free: 163.2 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000721/1.149, allocations: 0.9495 MB / 1.414 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.0003702/1.149, allocations: 75.39 kB / 1.414 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003547/1.15, allocations: 255.8 kB / 1.414 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of SimCode: time 2.054e-06/1.15, allocations: 0 / 1.414 GB, free: 162.5 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03757/1.187, allocations: 12.14 MB / 1.426 GB, free: 161.4 MB / 0.9011 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002242/1.188, allocations: 213.5 kB / 1.426 GB, free: 161.1 MB / 0.9011 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.452/3.639, allocations: 0 / 1.426 GB, free: 161.1 MB / 0.9011 GB (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown_fmu --startTime=0 --stopTime=900 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.fmu > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat does not exist to compare? outputFormat=mat