Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.295/2.295, allocations: 393.5 MB / 408.4 MB, free: 10.99 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.001408/0.001408, allocations: 191.5 kB / 0.4902 GB, free: 2.203 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.59/1.59, allocations: 223.2 MB / 0.7992 GB, free: 14.67 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.001136/0.001136, allocations: 94.16 kB / 0.9396 GB, free: 1.844 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0003646/0.0003647, allocations: 10.78 kB / 1.09 GB, free: 216.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3321/0.3325, allocations: 143 MB / 1.229 GB, free: 105.7 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2146/0.5472, allocations: 158.2 MB / 1.384 GB, free: 11.26 MB / 0.8855 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003774/0.5477, allocations: 95.94 kB / 1.384 GB, free: 11.16 MB / 0.8855 GB Notification: Performance of FrontEnd - DAE generated: time 0.04079/0.5885, allocations: 14.55 MB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of FrontEnd: time 3.066e-06/0.5885, allocations: 3.938 kB / 1.398 GB, free: 12.46 MB / 0.9011 GB Notification: Performance of Transformations before backend: time 8.05e-05/0.5886, allocations: 16 kB / 1.398 GB, free: 12.45 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.002127/0.5908, allocations: 0.9291 MB / 1.399 GB, free: 11.45 MB / 0.9011 GB Notification: Performance of prepare preOptimizeDAE: time 5.339e-05/0.5908, allocations: 12.03 kB / 1.399 GB, free: 11.44 MB / 0.9011 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003169/0.5912, allocations: 90.95 kB / 1.399 GB, free: 11.35 MB / 0.9011 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009859/0.5922, allocations: 444.2 kB / 1.399 GB, free: 10.88 MB / 0.9011 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.5e-05/0.5922, allocations: 45.31 kB / 1.399 GB, free: 10.83 MB / 0.9011 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.00012/0.5924, allocations: 59.98 kB / 1.4 GB, free: 10.77 MB / 0.9011 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00109/0.5935, allocations: 0.6169 MB / 1.4 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.879e-05/0.5935, allocations: 4 kB / 1.4 GB, free: 10.09 MB / 0.9011 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.524e-05/0.5936, allocations: 20 kB / 1.4 GB, free: 10.07 MB / 0.9011 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.478e-05/0.5936, allocations: 16 kB / 1.4 GB, free: 10.05 MB / 0.9011 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007359/0.5943, allocations: 379.5 kB / 1.401 GB, free: 9.676 MB / 0.9011 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003188/0.5975, allocations: 2.566 MB / 1.403 GB, free: 7 MB / 0.9011 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007306/0.5983, allocations: 400.6 kB / 1.403 GB, free: 6.555 MB / 0.9011 GB Notification: Performance of preOpt evalFunc (simulation): time 3.267e-05/0.5983, allocations: 8 kB / 1.403 GB, free: 6.547 MB / 0.9011 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000481/0.5988, allocations: 293.2 kB / 1.404 GB, free: 6.227 MB / 0.9011 GB Notification: Performance of pre-optimization done (n=44): time 4.578e-06/0.5988, allocations: 3.984 kB / 1.404 GB, free: 6.223 MB / 0.9011 GB Notification: Performance of matching and sorting (n=44): time 0.001057/0.5999, allocations: 0.4991 MB / 1.404 GB, free: 5.719 MB / 0.9011 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001363/0.6, allocations: 226.2 kB / 1.404 GB, free: 5.449 MB / 0.9011 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008132/0.6009, allocations: 0.5603 MB / 1.405 GB, free: 4.879 MB / 0.9011 GB Notification: Performance of collectPreVariables (initialization): time 7.298e-05/0.601, allocations: 45.7 kB / 1.405 GB, free: 4.828 MB / 0.9011 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003184/0.6013, allocations: 352.6 kB / 1.405 GB, free: 4.48 MB / 0.9011 GB Notification: Performance of collectInitialBindings (initialization): time 0.000119/0.6014, allocations: 102.8 kB / 1.405 GB, free: 4.379 MB / 0.9011 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.753e-05/0.6014, allocations: 16 kB / 1.405 GB, free: 4.363 MB / 0.9011 GB Notification: Performance of setup shared object (initialization): time 0.0001991/0.6016, allocations: 378.8 kB / 1.406 GB, free: 3.984 MB / 0.9011 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002868/0.6019, allocations: 141.2 kB / 1.406 GB, free: 3.848 MB / 0.9011 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004042/0.6024, allocations: 343.6 kB / 1.406 GB, free: 3.426 MB / 0.9011 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000323/0.6027, allocations: 160.7 kB / 1.406 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.508e-06/0.6027, allocations: 0 / 1.406 GB, free: 3.27 MB / 0.9011 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.001014/0.6037, allocations: 0.5301 MB / 1.407 GB, free: 2.73 MB / 0.9011 GB Notification: Performance of prepare postOptimizeDAE: time 3.139e-05/0.6038, allocations: 8 kB / 1.407 GB, free: 2.723 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.899e-05/0.6038, allocations: 8 kB / 1.407 GB, free: 2.715 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.142e-05/0.6038, allocations: 11.95 kB / 1.407 GB, free: 2.703 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002659/0.6041, allocations: 84.42 kB / 1.407 GB, free: 2.621 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.493e-05/0.6042, allocations: 11.94 kB / 1.407 GB, free: 2.609 MB / 0.9011 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003547/0.6045, allocations: 47.67 kB / 1.407 GB, free: 2.562 MB / 0.9011 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.328e-05/0.6046, allocations: 35.94 kB / 1.407 GB, free: 2.527 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.0005111/0.6051, allocations: 270.4 kB / 1.407 GB, free: 2.254 MB / 0.9011 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.6053, allocations: 63.25 kB / 1.407 GB, free: 2.191 MB / 0.9011 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009121/0.6062, allocations: 427.2 kB / 1.408 GB, free: 1.766 MB / 0.9011 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.822e-05/0.6062, allocations: 11.95 kB / 1.408 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.335e-06/0.6063, allocations: 0 / 1.408 GB, free: 1.754 MB / 0.9011 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.6063, allocations: 7.984 kB / 1.408 GB, free: 1.746 MB / 0.9011 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001956/0.6082, allocations: 1.086 MB / 1.409 GB, free: 0.5938 MB / 0.9011 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.52e-06/0.6083, allocations: 3.953 kB / 1.409 GB, free: 0.5898 MB / 0.9011 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/0.6084, allocations: 27.92 kB / 1.409 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.524e-06/0.6084, allocations: 0 / 1.409 GB, free: 0.5625 MB / 0.9011 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.823e-05/0.6084, allocations: 19.98 kB / 1.409 GB, free: 0.543 MB / 0.9011 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.203e-06/0.6085, allocations: 7.984 kB / 1.409 GB, free: 0.5352 MB / 0.9011 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.889e-06/0.6085, allocations: 3.938 kB / 1.409 GB, free: 0.5312 MB / 0.9011 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008676/0.6093, allocations: 0.5887 MB / 1.41 GB, free: 15.88 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.6096, allocations: 156.2 kB / 1.41 GB, free: 15.71 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.47e-05/0.6096, allocations: 11.95 kB / 1.41 GB, free: 15.7 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001978/0.6099, allocations: 23.98 kB / 1.41 GB, free: 15.68 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001488/0.61, allocations: 55.86 kB / 1.41 GB, free: 15.62 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.286e-05/0.6101, allocations: 23.98 kB / 1.41 GB, free: 15.6 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 0.0005311/0.6106, allocations: 414.8 kB / 1.41 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6106, allocations: 0 / 1.41 GB, free: 15.2 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.0006839/0.6113, allocations: 124 kB / 1.41 GB, free: 15.07 MB / 0.9167 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.001339/0.6126, allocations: 488.1 kB / 1.411 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 0.0008999/0.6136, allocations: 414.4 kB / 1.411 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.6136, allocations: 0 / 1.411 GB, free: 14.34 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 0.0003774/0.614, allocations: 203.8 kB / 1.411 GB, free: 14.14 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000546/0.6145, allocations: 87 kB / 1.412 GB, free: 14.06 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002446/0.617, allocations: 1.321 MB / 1.413 GB, free: 12.69 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007136/0.6177, allocations: 0.9458 MB / 1.414 GB, free: 11.71 MB / 0.9167 GB Notification: Performance of simCode: alias equations: time 0.0003038/0.618, allocations: 76.33 kB / 1.414 GB, free: 11.64 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001406/0.6182, allocations: 47.42 kB / 1.414 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of SimCode: time 5.81e-07/0.6182, allocations: 4 kB / 1.414 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of Templates: time 0.01475/0.6329, allocations: 5.664 MB / 1.419 GB, free: 5.973 MB / 0.9167 GB make -j1 -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","../files/Buildings_latest_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches