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") [: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 9.1.1-maint.9.1.x/package.mo): time 1.909/1.909, allocations: 387.2 MB / 394.5 MB, free: 4.461 MB / 306.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001452/0.001452, allocations: 185.2 kB / 487 MB, free: 10.96 MB / 402.9 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.24/1.24, allocations: 221.3 MB / 0.7819 GB, free: 4.059 MB / 0.5497 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001015/0.001015, allocations: 95.03 kB / 0.9213 GB, free: 5.148 MB / 0.6903 GB Notification: Performance of FrontEnd - loaded program: time 7.023e-06/7.043e-06, allocations: 0 / 1.066 GB, free: 141.1 MB / 0.7216 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2297, allocations: 142.3 MB / 1.205 GB, free: 14.8 MB / 0.7372 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6429/0.8726, allocations: 156.6 MB / 1.358 GB, free: 11.59 MB / 0.8309 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002381/0.8729, allocations: 87.94 kB / 1.358 GB, free: 11.51 MB / 0.8309 GB Notification: Performance of FrontEnd: time 0.03564/0.9085, allocations: 13.93 MB / 1.372 GB, free: 13.45 MB / 0.8466 GB Notification: Performance of Transformations before backend: time 5.247e-05/0.9086, allocations: 24.64 kB / 1.372 GB, free: 13.43 MB / 0.8466 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.001383/0.91, allocations: 0.8357 MB / 1.373 GB, free: 12.53 MB / 0.8466 GB Notification: Performance of prepare preOptimizeDAE: time 3.859e-05/0.9101, allocations: 8.031 kB / 1.373 GB, free: 12.52 MB / 0.8466 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000199/0.9103, allocations: 90.97 kB / 1.373 GB, free: 12.43 MB / 0.8466 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000747/0.911, allocations: 440.2 kB / 1.373 GB, free: 11.96 MB / 0.8466 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.731e-05/0.9111, allocations: 23.98 kB / 1.373 GB, free: 11.94 MB / 0.8466 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.482e-05/0.9112, allocations: 39.91 kB / 1.373 GB, free: 11.9 MB / 0.8466 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005944/0.9118, allocations: 318.5 kB / 1.374 GB, free: 11.59 MB / 0.8466 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007702/0.9125, allocations: 0.5402 MB / 1.374 GB, free: 10.98 MB / 0.8466 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.554e-05/0.9126, allocations: 0 / 1.374 GB, free: 10.98 MB / 0.8466 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.918e-05/0.9126, allocations: 4 kB / 1.374 GB, free: 10.98 MB / 0.8466 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.386e-05/0.9126, allocations: 12 kB / 1.374 GB, free: 10.97 MB / 0.8466 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002488/0.9151, allocations: 2.47 MB / 1.376 GB, free: 8.398 MB / 0.8466 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004912/0.9156, allocations: 324.3 kB / 1.377 GB, free: 8.027 MB / 0.8466 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000214/0.9159, allocations: 165.6 kB / 1.377 GB, free: 7.848 MB / 0.8466 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.9159, allocations: 4 kB / 1.377 GB, free: 7.844 MB / 0.8466 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003258/0.9162, allocations: 253.3 kB / 1.377 GB, free: 7.562 MB / 0.8466 GB Notification: Performance of pre-optimization done (n=44): time 4.167e-06/0.9162, allocations: 0 / 1.377 GB, free: 7.562 MB / 0.8466 GB Notification: Performance of matching and sorting (n=44): time 0.0005602/0.9168, allocations: 323.1 kB / 1.378 GB, free: 7.242 MB / 0.8466 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.92e-05/0.9169, allocations: 221.6 kB / 1.378 GB, free: 6.977 MB / 0.8466 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006056/0.9175, allocations: 0.5255 MB / 1.378 GB, free: 6.445 MB / 0.8466 GB Notification: Performance of collectPreVariables (initialization): time 5.84e-05/0.9176, allocations: 45.69 kB / 1.378 GB, free: 6.395 MB / 0.8466 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001761/0.9178, allocations: 252.6 kB / 1.379 GB, free: 6.141 MB / 0.8466 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001007/0.9179, allocations: 98.77 kB / 1.379 GB, free: 6.043 MB / 0.8466 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.918e-05/0.9179, allocations: 0 / 1.379 GB, free: 6.043 MB / 0.8466 GB Notification: Performance of setup shared object (initialization): time 0.0001502/0.9181, allocations: 378.8 kB / 1.379 GB, free: 5.664 MB / 0.8466 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002144/0.9183, allocations: 129.2 kB / 1.379 GB, free: 5.539 MB / 0.8466 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003706/0.9187, allocations: 318.4 kB / 1.379 GB, free: 5.141 MB / 0.8466 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002329/0.9189, allocations: 136.7 kB / 1.38 GB, free: 5.008 MB / 0.8466 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.41e-06/0.9189, allocations: 4 kB / 1.38 GB, free: 5.004 MB / 0.8466 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.000702/0.9196, allocations: 466.3 kB / 1.38 GB, free: 4.539 MB / 0.8466 GB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.9196, allocations: 11.94 kB / 1.38 GB, free: 4.527 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.898e-06/0.9197, allocations: 4 kB / 1.38 GB, free: 4.523 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.01e-05/0.9197, allocations: 12 kB / 1.38 GB, free: 4.512 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002398/0.9199, allocations: 75.83 kB / 1.38 GB, free: 4.438 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.184e-05/0.92, allocations: 11.94 kB / 1.38 GB, free: 4.426 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002463/0.9202, allocations: 43.98 kB / 1.38 GB, free: 4.383 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.645e-05/0.9203, allocations: 28 kB / 1.38 GB, free: 4.355 MB / 0.8466 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.0001526/0.9204, allocations: 152.8 kB / 1.38 GB, free: 4.199 MB / 0.8466 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.244e-05/0.9205, allocations: 67.16 kB / 1.38 GB, free: 4.133 MB / 0.8466 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006437/0.9212, allocations: 350.5 kB / 1.381 GB, free: 3.785 MB / 0.8466 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.734e-06/0.9212, allocations: 12 kB / 1.381 GB, free: 3.773 MB / 0.8466 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.21e-06/0.9212, allocations: 0 / 1.381 GB, free: 3.773 MB / 0.8466 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.945e-06/0.9212, allocations: 3.984 kB / 1.381 GB, free: 3.77 MB / 0.8466 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001366/0.9226, allocations: 0.9539 MB / 1.382 GB, free: 2.766 MB / 0.8466 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.037e-06/0.9226, allocations: 8 kB / 1.382 GB, free: 2.758 MB / 0.8466 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001084/0.9227, allocations: 27.92 kB / 1.382 GB, free: 2.73 MB / 0.8466 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.9227, allocations: 0 / 1.382 GB, free: 2.73 MB / 0.8466 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.268e-05/0.9228, allocations: 15.98 kB / 1.382 GB, free: 2.715 MB / 0.8466 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.878e-06/0.9228, allocations: 0 / 1.382 GB, free: 2.715 MB / 0.8466 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.31e-06/0.9228, allocations: 11.88 kB / 1.382 GB, free: 2.703 MB / 0.8466 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006322/0.9234, allocations: 0.521 MB / 1.382 GB, free: 2.117 MB / 0.8466 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000113/0.9235, allocations: 140.3 kB / 1.382 GB, free: 1.961 MB / 0.8466 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.261e-05/0.9236, allocations: 15.98 kB / 1.382 GB, free: 1.945 MB / 0.8466 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000186/0.9238, allocations: 11.98 kB / 1.382 GB, free: 1.934 MB / 0.8466 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001194/0.924, allocations: 51.83 kB / 1.382 GB, free: 1.883 MB / 0.8466 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.405e-05/0.924, allocations: 20 kB / 1.382 GB, free: 1.863 MB / 0.8466 GB Notification: Performance of sort global known variables: time 0.0003868/0.9244, allocations: 378.9 kB / 1.383 GB, free: 1.496 MB / 0.8466 GB Notification: Performance of remove unused functions: time 0.0004983/0.9249, allocations: 103.9 kB / 1.383 GB, free: 1.395 MB / 0.8466 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.0008365/0.9257, allocations: 390.9 kB / 1.383 GB, free: 1.09 MB / 0.8466 GB Notification: Performance of simCode: created initialization part: time 0.0005845/0.9263, allocations: 376.2 kB / 1.384 GB, free: 0.7227 MB / 0.8466 GB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.9263, allocations: 0 / 1.384 GB, free: 0.7227 MB / 0.8466 GB Notification: Performance of simCode: created simulation system equations: time 0.0002796/0.9266, allocations: 186.3 kB / 1.384 GB, free: 0.543 MB / 0.8466 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004433/0.9271, allocations: 70.05 kB / 1.384 GB, free: 488 kB / 0.8466 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001462/0.9286, allocations: 0.8154 MB / 1.385 GB, free: 15.62 MB / 0.8622 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006438/0.9292, allocations: 0.997 MB / 1.386 GB, free: 14.6 MB / 0.8622 GB Notification: Performance of SimCode: time 2.71e-07/0.9292, allocations: 3.938 kB / 1.386 GB, free: 14.59 MB / 0.8622 GB Notification: Performance of Templates: time 0.0129/0.9421, allocations: 5.676 MB / 1.391 GB, free: 8.957 MB / 0.8622 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