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: translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|actMod|runSig.y|cooDowOpt.y",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.612/2.612, allocations: 390.3 MB / 405.3 MB, free: 13.46 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.001335/0.001335, allocations: 181.1 kB / 498.1 MB, free: 5.738 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.617/1.617, allocations: 223.2 MB / 0.7948 GB, free: 17.89 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.0009493/0.0009493, allocations: 101.9 kB / 0.9346 GB, free: 6.172 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003573/0.0003574, allocations: 12.94 kB / 1.084 GB, free: 221.1 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.323/0.3234, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2037/0.5271, allocations: 157.4 MB / 1.377 GB, free: 4.598 MB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002398/0.5274, allocations: 95.92 kB / 1.377 GB, free: 4.504 MB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.03533/0.5628, allocations: 14.55 MB / 1.391 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of FrontEnd: time 1.984e-06/0.5628, allocations: 0 / 1.391 GB, free: 5.805 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 4.388e-05/0.5629, allocations: 24 kB / 1.391 GB, free: 5.781 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001486/0.5644, allocations: 0.9213 MB / 1.392 GB, free: 4.793 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 6.107e-05/0.5644, allocations: 8.031 kB / 1.392 GB, free: 4.785 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001931/0.5646, allocations: 86.97 kB / 1.392 GB, free: 4.699 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008461/0.5655, allocations: 440.2 kB / 1.392 GB, free: 4.23 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001025/0.5656, allocations: 53.3 kB / 1.392 GB, free: 4.18 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.302e-05/0.5657, allocations: 63.94 kB / 1.392 GB, free: 4.117 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001075/0.5668, allocations: 0.6091 MB / 1.393 GB, free: 3.441 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.098e-05/0.5668, allocations: 3.938 kB / 1.393 GB, free: 3.438 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.714e-05/0.5669, allocations: 24 kB / 1.393 GB, free: 3.414 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.969e-05/0.5669, allocations: 12 kB / 1.393 GB, free: 3.402 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006793/0.5676, allocations: 379.5 kB / 1.393 GB, free: 3.031 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003013/0.5706, allocations: 2.585 MB / 1.396 GB, free: 344 kB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007133/0.5713, allocations: 372.7 kB / 1.396 GB, free: 15.92 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.584e-05/0.5714, allocations: 16.58 kB / 1.396 GB, free: 15.9 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004489/0.5718, allocations: 293.2 kB / 1.397 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 2.445e-06/0.5719, allocations: 4 kB / 1.397 GB, free: 15.58 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.0009653/0.5728, allocations: 0.4936 MB / 1.397 GB, free: 15.08 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001621/0.573, allocations: 225.5 kB / 1.397 GB, free: 14.81 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007451/0.5738, allocations: 0.5642 MB / 1.398 GB, free: 14.24 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 6.952e-05/0.5738, allocations: 46.33 kB / 1.398 GB, free: 14.19 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002894/0.5741, allocations: 352.6 kB / 1.398 GB, free: 13.84 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001106/0.5743, allocations: 106.7 kB / 1.398 GB, free: 13.73 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.354e-05/0.5743, allocations: 16 kB / 1.398 GB, free: 13.72 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001882/0.5745, allocations: 382.8 kB / 1.399 GB, free: 13.34 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002548/0.5747, allocations: 137.2 kB / 1.399 GB, free: 13.2 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003947/0.5751, allocations: 343.6 kB / 1.399 GB, free: 12.78 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002674/0.5754, allocations: 156.8 kB / 1.399 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.426e-06/0.5754, allocations: 0 / 1.399 GB, free: 12.63 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0008226/0.5763, allocations: 0.5384 MB / 1.4 GB, free: 12.09 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.5763, allocations: 8 kB / 1.4 GB, free: 12.08 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.5763, allocations: 4 kB / 1.4 GB, free: 12.07 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.731e-05/0.5763, allocations: 19.95 kB / 1.4 GB, free: 12.05 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002319/0.5766, allocations: 79.77 kB / 1.4 GB, free: 11.98 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.369e-05/0.5766, allocations: 11.94 kB / 1.4 GB, free: 11.96 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000232/0.5768, allocations: 43.73 kB / 1.4 GB, free: 11.92 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.652e-05/0.5769, allocations: 28 kB / 1.4 GB, free: 11.89 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.0003584/0.5773, allocations: 281.6 kB / 1.4 GB, free: 11.61 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.768e-05/0.5774, allocations: 67.16 kB / 1.4 GB, free: 11.54 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000739/0.5781, allocations: 410.8 kB / 1.401 GB, free: 11.13 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.5781, allocations: 7.953 kB / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.273e-06/0.5781, allocations: 7.938 kB / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.832e-06/0.5782, allocations: 0 / 1.401 GB, free: 11.12 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001507/0.5797, allocations: 1.09 MB / 1.402 GB, free: 9.961 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.35e-06/0.5797, allocations: 7.953 kB / 1.402 GB, free: 9.953 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000101/0.5798, allocations: 27.91 kB / 1.402 GB, free: 9.926 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.362e-06/0.5798, allocations: 4 kB / 1.402 GB, free: 9.922 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.12e-05/0.5798, allocations: 16 kB / 1.402 GB, free: 9.906 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.241e-06/0.5799, allocations: 11.98 kB / 1.402 GB, free: 9.895 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.386e-06/0.5799, allocations: 4 kB / 1.402 GB, free: 9.891 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006983/0.5806, allocations: 0.588 MB / 1.402 GB, free: 9.238 MB / 0.9011 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001452/0.5807, allocations: 148.2 kB / 1.403 GB, free: 9.074 MB / 0.9011 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.884e-05/0.5808, allocations: 15.95 kB / 1.403 GB, free: 9.059 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001705/0.581, allocations: 19.98 kB / 1.403 GB, free: 9.039 MB / 0.9011 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001164/0.5811, allocations: 55.92 kB / 1.403 GB, free: 8.984 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.482e-05/0.5811, allocations: 19.98 kB / 1.403 GB, free: 8.965 MB / 0.9011 GB Notification: Performance of sorting global known variables: time 0.0004767/0.5816, allocations: 410.8 kB / 1.403 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5816, allocations: 0 / 1.403 GB, free: 8.566 MB / 0.9011 GB Notification: Performance of remove unused functions: time 0.0005372/0.5822, allocations: 131.9 kB / 1.403 GB, free: 8.438 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.001077/0.5833, allocations: 493.3 kB / 1.404 GB, free: 8.105 MB / 0.9011 GB Notification: Performance of simCode: created initialization part: time 0.0006937/0.584, allocations: 410 kB / 1.404 GB, free: 7.707 MB / 0.9011 GB Notification: Performance of simCode: created event and clocks part: time 4.859e-06/0.584, allocations: 4 kB / 1.404 GB, free: 7.703 MB / 0.9011 GB Notification: Performance of simCode: created simulation system equations: time 0.0003091/0.5843, allocations: 203.5 kB / 1.404 GB, free: 7.504 MB / 0.9011 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004562/0.5848, allocations: 79.27 kB / 1.404 GB, free: 7.43 MB / 0.9011 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001981/0.5868, allocations: 1.321 MB / 1.406 GB, free: 6.055 MB / 0.9011 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006164/0.5874, allocations: 0.9497 MB / 1.407 GB, free: 5.082 MB / 0.9011 GB Notification: Performance of simCode: alias equations: time 0.000263/0.5877, allocations: 80.31 kB / 1.407 GB, free: 5.004 MB / 0.9011 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001255/0.5878, allocations: 43.44 kB / 1.407 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of SimCode: time 8.41e-07/0.5878, allocations: 0 / 1.407 GB, free: 4.965 MB / 0.9011 GB Notification: Performance of Templates: time 0.01286/0.6007, allocations: 5.674 MB / 1.412 GB, free: 15.33 MB / 0.9167 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (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 & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches