Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.148/1.148, allocations: 249.4 MB / 256.7 MB, free: 0.6758 MB / 194.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.000981/0.000981, allocations: 183.2 kB / 316 MB, free: 8.895 MB / 258.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9643/0.9643, allocations: 205.1 MB / 0.5667 GB, free: 13.44 MB / 434.8 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007841/0.0007841, allocations: 87.81 kB / 0.671 GB, free: 51.61 MB / 498.8 MB Notification: Performance of FrontEnd - loaded program: time 6.923e-06/6.933e-06, allocations: 4 kB / 0.7807 GB, free: 9.941 MB / 0.5496 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3844/0.3844, allocations: 106.3 MB / 0.8846 GB, free: 89.11 MB / 0.6434 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1302/0.5147, allocations: 138.8 MB / 1.02 GB, free: 6.855 MB / 0.659 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000213/0.5149, allocations: 89.34 kB / 1.02 GB, free: 6.77 MB / 0.659 GB Notification: Performance of FrontEnd: time 0.03202/0.5469, allocations: 13.79 MB / 1.034 GB, free: 9.047 MB / 0.6746 GB Notification: Performance of Transformations before backend: time 3.18e-05/0.547, allocations: 23.94 kB / 1.034 GB, free: 9.023 MB / 0.6746 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.0008934/0.5479, allocations: 0.8247 MB / 1.034 GB, free: 8.145 MB / 0.6746 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.5479, allocations: 8.031 kB / 1.034 GB, free: 8.137 MB / 0.6746 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001286/0.5481, allocations: 86.97 kB / 1.035 GB, free: 8.051 MB / 0.6746 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005836/0.5487, allocations: 440.2 kB / 1.035 GB, free: 7.578 MB / 0.6746 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-05/0.5487, allocations: 62.2 kB / 1.035 GB, free: 7.516 MB / 0.6746 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.921e-05/0.5488, allocations: 40 kB / 1.035 GB, free: 7.477 MB / 0.6746 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005271/0.5493, allocations: 324.7 kB / 1.035 GB, free: 7.16 MB / 0.6746 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006849/0.55, allocations: 0.5285 MB / 1.036 GB, free: 6.566 MB / 0.6746 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.402e-05/0.55, allocations: 0 / 1.036 GB, free: 6.566 MB / 0.6746 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.338e-05/0.5501, allocations: 4 kB / 1.036 GB, free: 6.562 MB / 0.6746 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.376e-05/0.5501, allocations: 14.02 kB / 1.036 GB, free: 6.551 MB / 0.6746 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001992/0.5521, allocations: 2.464 MB / 1.038 GB, free: 3.996 MB / 0.6746 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003808/0.5525, allocations: 233.5 kB / 1.039 GB, free: 3.762 MB / 0.6746 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001697/0.5527, allocations: 124.8 kB / 1.039 GB, free: 3.637 MB / 0.6746 GB Notification: Performance of preOpt evalFunc (simulation): time 2.379e-05/0.5527, allocations: 7.562 kB / 1.039 GB, free: 3.633 MB / 0.6746 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002328/0.5529, allocations: 177.6 kB / 1.039 GB, free: 3.445 MB / 0.6746 GB Notification: Performance of pre-optimization done (n=40): time 2.275e-06/0.553, allocations: 0.7969 kB / 1.039 GB, free: 3.445 MB / 0.6746 GB Notification: Performance of matching and sorting (n=40): time 0.0004376/0.5534, allocations: 290.3 kB / 1.039 GB, free: 3.156 MB / 0.6746 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.033e-05/0.5534, allocations: 81.11 kB / 1.039 GB, free: 3.059 MB / 0.6746 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005337/0.554, allocations: 0.5536 MB / 1.04 GB, free: 2.5 MB / 0.6746 GB Notification: Performance of collectPreVariables (initialization): time 4.855e-05/0.554, allocations: 33.7 kB / 1.04 GB, free: 2.461 MB / 0.6746 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001557/0.5542, allocations: 276.3 kB / 1.04 GB, free: 2.184 MB / 0.6746 GB Notification: Performance of collectInitialBindings (initialization): time 7.089e-05/0.5543, allocations: 90.86 kB / 1.04 GB, free: 2.094 MB / 0.6746 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.63e-05/0.5543, allocations: 4 kB / 1.04 GB, free: 2.09 MB / 0.6746 GB Notification: Performance of setup shared object (initialization): time 0.000137/0.5544, allocations: 378.8 kB / 1.04 GB, free: 1.711 MB / 0.6746 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00018/0.5546, allocations: 117.3 kB / 1.041 GB, free: 1.594 MB / 0.6746 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002858/0.5549, allocations: 314.5 kB / 1.041 GB, free: 1.199 MB / 0.6746 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001961/0.5551, allocations: 132.7 kB / 1.041 GB, free: 1.074 MB / 0.6746 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.5551, allocations: 0 / 1.041 GB, free: 1.074 MB / 0.6746 GB Notification: Performance of matching and sorting (n=80) (initialization): time 0.0006402/0.5558, allocations: 470.5 kB / 1.041 GB, free: 0.6055 MB / 0.6746 GB Notification: Performance of prepare postOptimizeDAE: time 1.007e-05/0.5558, allocations: 12.16 kB / 1.041 GB, free: 0.5977 MB / 0.6746 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.504e-06/0.5558, allocations: 4 kB / 1.041 GB, free: 0.5938 MB / 0.6746 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.5558, allocations: 13.75 kB / 1.042 GB, free: 0.582 MB / 0.6746 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002213/0.5561, allocations: 75.83 kB / 1.042 GB, free: 0.5078 MB / 0.6746 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.101e-05/0.5561, allocations: 15.84 kB / 1.042 GB, free: 0.4922 MB / 0.6746 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002067/0.5563, allocations: 27.69 kB / 1.042 GB, free: 476 kB / 0.6746 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.963e-05/0.5563, allocations: 31.98 kB / 1.042 GB, free: 444 kB / 0.6746 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 57 ($PRE.transition2.enableFire,$PRE.transition1.enableFire,$PRE.transition4.enableFire,$PRE.transition3.enableFire,$PRE.transition5.enableFire,$PRE.timer.yAcc,timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,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.entryTime,timer.entryTime,timeDel.y,transition5.enableFire,$PRE.timer.reset_internal,timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (80): * Single equations (assignments): 80 * 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.0001254/0.5565, allocations: 148.7 kB / 1.042 GB, free: 292 kB / 0.6746 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.541e-05/0.5565, allocations: 63.25 kB / 1.042 GB, free: 228 kB / 0.6746 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005861/0.5571, allocations: 354.1 kB / 1.042 GB, free: 15.88 MB / 0.6903 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.709e-06/0.5572, allocations: 4 kB / 1.042 GB, free: 15.87 MB / 0.6903 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.5572, allocations: 2.625 kB / 1.042 GB, free: 15.87 MB / 0.6903 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.502e-06/0.5572, allocations: 3.984 kB / 1.042 GB, free: 15.87 MB / 0.6903 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001129/0.5583, allocations: 0.9196 MB / 1.043 GB, free: 14.9 MB / 0.6903 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.663e-06/0.5583, allocations: 0 / 1.043 GB, free: 14.9 MB / 0.6903 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001067/0.5584, allocations: 27.92 kB / 1.043 GB, free: 14.87 MB / 0.6903 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.739e-06/0.5584, allocations: 4 kB / 1.043 GB, free: 14.87 MB / 0.6903 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.047e-05/0.5585, allocations: 3.984 kB / 1.043 GB, free: 14.86 MB / 0.6903 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.729e-06/0.5585, allocations: 10.47 kB / 1.043 GB, free: 14.86 MB / 0.6903 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.5585, allocations: 1.562 kB / 1.043 GB, free: 14.86 MB / 0.6903 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000491/0.559, allocations: 422.6 kB / 1.044 GB, free: 14.43 MB / 0.6903 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001036/0.5591, allocations: 136.3 kB / 1.044 GB, free: 14.27 MB / 0.6903 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.99e-05/0.5592, allocations: 7.938 kB / 1.044 GB, free: 14.27 MB / 0.6903 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001613/0.5593, allocations: 11.98 kB / 1.044 GB, free: 14.25 MB / 0.6903 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001083/0.5595, allocations: 49.14 kB / 1.044 GB, free: 14.21 MB / 0.6903 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.582e-05/0.5595, allocations: 12 kB / 1.044 GB, free: 14.2 MB / 0.6903 GB Notification: Performance of sort global known variables: time 0.0003686/0.5599, allocations: 399.1 kB / 1.044 GB, free: 13.81 MB / 0.6903 GB Notification: Performance of remove unused functions: time 0.0004055/0.5603, allocations: 107.9 kB / 1.044 GB, free: 13.7 MB / 0.6903 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 38 (off.active,norm.active,cooDow.active,cooDow.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$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.entryTime,timer.yAcc,timeDel.y) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,cooDow.newActive,norm.newActive,off.newActive,timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (46): * Single equations (assignments): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 7 * 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.0006354/0.5609, allocations: 364.1 kB / 1.045 GB, free: 13.48 MB / 0.6903 GB Notification: Performance of simCode: created initialization part: time 0.0004884/0.5614, allocations: 353.1 kB / 1.045 GB, free: 13.13 MB / 0.6903 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5614, allocations: 0 / 1.045 GB, free: 13.13 MB / 0.6903 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.5616, allocations: 161.5 kB / 1.045 GB, free: 12.98 MB / 0.6903 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/0.562, allocations: 73.2 kB / 1.045 GB, free: 12.91 MB / 0.6903 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001213/0.5632, allocations: 0.783 MB / 1.046 GB, free: 12.09 MB / 0.6903 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005767/0.5638, allocations: 1.001 MB / 1.047 GB, free: 11.07 MB / 0.6903 GB Notification: Performance of SimCode: time 2.11e-07/0.5638, allocations: 0 / 1.047 GB, free: 11.07 MB / 0.6903 GB Notification: Performance of Templates: time 0.01014/0.574, allocations: 5.555 MB / 1.052 GB, free: 5.688 MB / 0.6903 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_CoolDown.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.CoolDown.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches