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.438/2.438, allocations: 390.5 MB / 398 MB, free: 10.94 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.001195/0.001195, allocations: 176.8 kB / 491.2 MB, free: 1.582 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.553/1.553, allocations: 221.5 MB / 0.7868 GB, free: 13.36 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.0009644/0.0009645, allocations: 91.89 kB / 0.9269 GB, free: 13.86 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 1.573e-05/1.634e-05, allocations: 4 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2911/0.2911, allocations: 143 MB / 1.212 GB, free: 39.54 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.046/1.337, allocations: 157.5 MB / 1.366 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002679/1.338, allocations: 89.08 kB / 1.366 GB, free: 17.58 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.03189/1.37, allocations: 14.31 MB / 1.38 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.303e-06/1.37, allocations: 0 / 1.38 GB, free: 31.59 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.063e-05/1.37, allocations: 23.22 kB / 1.38 GB, free: 31.58 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: 127 * Number of variables: 127 Notification: Performance of Generate backend data structure: time 0.001462/1.371, allocations: 0.8324 MB / 1.381 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.33e-05/1.371, allocations: 11.72 kB / 1.381 GB, free: 30.91 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002452/1.372, allocations: 89.64 kB / 1.381 GB, free: 30.86 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000736/1.372, allocations: 440 kB / 1.381 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.056e-05/1.372, allocations: 15.28 kB / 1.382 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.849e-05/1.372, allocations: 45.27 kB / 1.382 GB, free: 30.55 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005307/1.373, allocations: 315.1 kB / 1.382 GB, free: 30.52 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006867/1.374, allocations: 0.5324 MB / 1.382 GB, free: 30.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.741e-05/1.374, allocations: 11.73 kB / 1.382 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.715e-05/1.374, allocations: 0 / 1.382 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.636e-05/1.374, allocations: 19.36 kB / 1.382 GB, free: 30.24 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002071/1.376, allocations: 2.481 MB / 1.385 GB, free: 28.3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004481/1.376, allocations: 354 kB / 1.385 GB, free: 28.13 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001602/1.377, allocations: 152 kB / 1.385 GB, free: 28.08 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.263e-05/1.377, allocations: 11.69 kB / 1.385 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003216/1.377, allocations: 269.7 kB / 1.386 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=44): time 1.844e-06/1.377, allocations: 0 / 1.386 GB, free: 27.92 MB / 0.8386 GB Notification: Performance of matching and sorting (n=44): time 0.000556/1.377, allocations: 358.5 kB / 1.386 GB, free: 27.81 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.618e-05/1.378, allocations: 224.2 kB / 1.386 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004693/1.378, allocations: 0.5234 MB / 1.387 GB, free: 27.36 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.045e-05/1.378, allocations: 41.22 kB / 1.387 GB, free: 27.33 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/1.378, allocations: 345.9 kB / 1.387 GB, free: 27.15 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 7.034e-05/1.378, allocations: 102.2 kB / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/1.378, allocations: 160 / 1.387 GB, free: 27.09 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001709/1.379, allocations: 384.6 kB / 1.387 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001724/1.379, allocations: 118.2 kB / 1.388 GB, free: 26.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002517/1.379, allocations: 317.9 kB / 1.388 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000195/1.379, allocations: 136.1 kB / 1.388 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.478e-06/1.379, allocations: 3.844 kB / 1.388 GB, free: 26.47 MB / 0.8386 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.0005707/1.38, allocations: 471.6 kB / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/1.38, allocations: 8.375 kB / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.896e-06/1.38, allocations: 3.719 kB / 1.388 GB, free: 26.33 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.154e-05/1.38, allocations: 15.25 kB / 1.388 GB, free: 26.32 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002317/1.38, allocations: 81.88 kB / 1.389 GB, free: 26.3 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.064e-05/1.38, allocations: 15.11 kB / 1.389 GB, free: 26.29 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/1.38, allocations: 30.98 kB / 1.389 GB, free: 26.27 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.35e-05/1.38, allocations: 37.09 kB / 1.389 GB, free: 26.27 MB / 0.8386 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 () * 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.0001374/1.381, allocations: 158.1 kB / 1.389 GB, free: 26.13 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.334e-05/1.381, allocations: 66.03 kB / 1.389 GB, free: 26.1 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005725/1.381, allocations: 368.8 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/1.381, allocations: 7.688 kB / 1.389 GB, free: 26 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.654e-06/1.381, allocations: 3.953 kB / 1.389 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.603e-06/1.381, allocations: 7.781 kB / 1.389 GB, free: 25.99 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001178/1.382, allocations: 0.975 MB / 1.39 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/1.382, allocations: 0 / 1.39 GB, free: 25.5 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001023/1.383, allocations: 31.11 kB / 1.39 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.149e-06/1.383, allocations: 3.844 kB / 1.39 GB, free: 25.49 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.881e-05/1.383, allocations: 15.77 kB / 1.39 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/1.383, allocations: 3.844 kB / 1.39 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.898e-06/1.383, allocations: 0 / 1.39 GB, free: 25.48 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005822/1.383, allocations: 0.5694 MB / 1.391 GB, free: 25.14 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001077/1.383, allocations: 146.2 kB / 1.391 GB, free: 25 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.101e-05/1.383, allocations: 15.42 kB / 1.391 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001601/1.384, allocations: 3.781 kB / 1.391 GB, free: 24.99 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001182/1.384, allocations: 56.44 kB / 1.391 GB, free: 24.97 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.186e-05/1.384, allocations: 22.55 kB / 1.391 GB, free: 24.96 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0003616/1.384, allocations: 384.3 kB / 1.391 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.3e-07/1.384, allocations: 0 / 1.391 GB, free: 24.84 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000466/1.385, allocations: 93.09 kB / 1.391 GB, free: 24.83 MB / 0.8386 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) * 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.001027/1.386, allocations: 427.9 kB / 1.392 GB, free: 24.6 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0004864/1.386, allocations: 361.5 kB / 1.392 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.875e-06/1.386, allocations: 0 / 1.392 GB, free: 24.56 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0002151/1.386, allocations: 188.6 kB / 1.392 GB, free: 24.54 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004448/1.387, allocations: 77.84 kB / 1.392 GB, free: 24.52 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001145/1.388, allocations: 0.822 MB / 1.393 GB, free: 24.13 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005286/1.388, allocations: 0.9485 MB / 1.394 GB, free: 23.32 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0002164/1.389, allocations: 77.36 kB / 1.394 GB, free: 23.29 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001093/1.389, allocations: 44.64 kB / 1.394 GB, free: 23.28 MB / 0.8386 GB Notification: Performance of SimCode: time 2.4e-07/1.389, allocations: 0 / 1.394 GB, free: 23.28 MB / 0.8386 GB Notification: Performance of Templates: time 0.009854/1.399, allocations: 5.159 MB / 1.399 GB, free: 20.75 MB / 0.8386 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