Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay") [: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.16/1.16, allocations: 249.4 MB / 256.7 MB, free: 7.004 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009912/0.0009914, allocations: 184.2 kB / 316 MB, free: 3.535 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9806/0.9806, allocations: 205.1 MB / 0.5667 GB, free: 15.72 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007872/0.0007871, allocations: 91.73 kB / 0.671 GB, free: 4.852 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 6.402e-06/6.422e-06, allocations: 4 kB / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1397/0.1397, allocations: 106.3 MB / 0.8846 GB, free: 12.64 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3934/0.5331, allocations: 140.8 MB / 1.022 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002067/0.5333, allocations: 92.84 kB / 1.022 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03108/0.5644, allocations: 13.89 MB / 1.036 GB, free: 2.309 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.989e-05/0.5645, allocations: 19.94 kB / 1.036 GB, free: 2.289 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 129 * Number of variables: 129 Notification: Performance of Generate backend data structure: time 0.0008281/0.5653, allocations: 0.8203 MB / 1.037 GB, free: 1.461 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.009e-05/0.5654, allocations: 12.03 kB / 1.037 GB, free: 1.449 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/0.5655, allocations: 82.97 kB / 1.037 GB, free: 1.367 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005716/0.5661, allocations: 457.9 kB / 1.037 GB, free: 0.9297 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.161e-05/0.5661, allocations: 61.73 kB / 1.037 GB, free: 0.8672 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.628e-05/0.5662, allocations: 32 kB / 1.037 GB, free: 0.8359 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005011/0.5667, allocations: 326 kB / 1.037 GB, free: 0.6328 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006341/0.5673, allocations: 0.5308 MB / 1.038 GB, free: 156 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.557e-05/0.5674, allocations: 4 kB / 1.038 GB, free: 152 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.543e-05/0.5674, allocations: 4 kB / 1.038 GB, free: 148 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.496e-05/0.5674, allocations: 16 kB / 1.038 GB, free: 132 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001888/0.5693, allocations: 2.559 MB / 1.041 GB, free: 13.76 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003041/0.5696, allocations: 231.1 kB / 1.041 GB, free: 13.6 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001508/0.5698, allocations: 120.3 kB / 1.041 GB, free: 13.53 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.5698, allocations: 4 kB / 1.041 GB, free: 13.52 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002261/0.5701, allocations: 175 kB / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=39): time 1.452e-06/0.5701, allocations: 0 / 1.041 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of matching and sorting (n=39): time 0.0004179/0.5705, allocations: 290.7 kB / 1.041 GB, free: 13.14 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.504e-05/0.5705, allocations: 85.11 kB / 1.041 GB, free: 13.04 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004855/0.571, allocations: 0.5429 MB / 1.042 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 3.987e-05/0.5711, allocations: 37.2 kB / 1.042 GB, free: 12.58 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001416/0.5712, allocations: 273 kB / 1.042 GB, free: 12.34 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 6.846e-05/0.5713, allocations: 88.02 kB / 1.042 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.636e-05/0.5713, allocations: 4 kB / 1.042 GB, free: 12.27 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001225/0.5715, allocations: 379.5 kB / 1.043 GB, free: 11.92 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001686/0.5716, allocations: 118.7 kB / 1.043 GB, free: 11.84 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002614/0.5719, allocations: 319.4 kB / 1.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00018/0.5721, allocations: 130.6 kB / 1.043 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5721, allocations: 4 kB / 1.043 GB, free: 11.41 MB / 0.6667 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0005817/0.5727, allocations: 459.9 kB / 1.044 GB, free: 11.03 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 9.237e-06/0.5727, allocations: 4 kB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.335e-06/0.5727, allocations: 4 kB / 1.044 GB, free: 11.02 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.702e-05/0.5727, allocations: 12.81 kB / 1.044 GB, free: 11.01 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002294/0.573, allocations: 78.95 kB / 1.044 GB, free: 10.94 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.002e-05/0.573, allocations: 15.94 kB / 1.044 GB, free: 10.92 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002186/0.5732, allocations: 27.73 kB / 1.044 GB, free: 10.89 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.737e-05/0.5733, allocations: 27.88 kB / 1.044 GB, free: 10.87 MB / 0.6667 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * Number of states: 0 () * Number of discrete variables: 56 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$PRE.warUpCtr.timer.yAcc,warUpCtr.timer.yAcc,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition4,$whenCondition2,$whenCondition3,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,$PRE.warUp.localActive,warUp.localActive,warUp.inPort[2].occupied,warUp.outPort[2].available,$PRE.warUp.newActive,warUp.newActive,$PRE.warUp.oldActive,warUp.oldActive,warUp.active,$PRE.off.localActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,$PRE.off.newActive,off.newActive,$PRE.off.oldActive,off.oldActive,off.active,stateGraphRoot.activeSteps,transition4.enableFire,$PRE.nor.localActive,nor.localActive,$PRE.nor.newActive,nor.newActive,$PRE.nor.oldActive,nor.oldActive,nor.active,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire,$PRE.warUpCtr.timer.reset_internal,warUpCtr.timer.reset_internal) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0001086/0.5734, allocations: 148.9 kB / 1.044 GB, free: 10.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.38e-05/0.5734, allocations: 67.23 kB / 1.044 GB, free: 10.66 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005398/0.574, allocations: 347.2 kB / 1.044 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.001e-06/0.574, allocations: 7.984 kB / 1.044 GB, free: 10.39 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.409e-06/0.574, allocations: 7.844 kB / 1.044 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.574, allocations: 0 / 1.044 GB, free: 10.38 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001062/0.5751, allocations: 0.9244 MB / 1.045 GB, free: 9.602 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.5751, allocations: 4 kB / 1.045 GB, free: 9.598 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001046/0.5752, allocations: 27.86 kB / 1.045 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.046e-06/0.5752, allocations: 0 / 1.045 GB, free: 9.57 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.282e-05/0.5753, allocations: 11.17 kB / 1.045 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.773e-06/0.5753, allocations: 0 / 1.045 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.5753, allocations: 0 / 1.045 GB, free: 9.562 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0004567/0.5757, allocations: 419 kB / 1.046 GB, free: 9.199 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.432e-05/0.5758, allocations: 142.7 kB / 1.046 GB, free: 9.043 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.152e-05/0.5759, allocations: 7.125 kB / 1.046 GB, free: 9.039 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001555/0.5761, allocations: 11.98 kB / 1.046 GB, free: 9.027 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001031/0.5762, allocations: 46.55 kB / 1.046 GB, free: 8.988 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.678e-05/0.5762, allocations: 18.06 kB / 1.046 GB, free: 8.977 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003207/0.5765, allocations: 390.9 kB / 1.046 GB, free: 8.688 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003968/0.5769, allocations: 102.9 kB / 1.046 GB, free: 8.59 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 37 (nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition4,$whenCondition2,$whenCondition3,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,transition2.condition,transition3.enableFire,transition3.condition,warUp.inPort[2].occupied,warUp.outPort[2].available,warUp.newActive,warUp.oldActive,off.localActive,off.inPort[2].occupied,off.outPort[2].available,off.newActive,off.oldActive,stateGraphRoot.activeSteps,transition4.enableFire,nor.localActive,nor.newActive,nor.oldActive,warUpCtr.timer.entryTime,warUpCtr.timer.yAcc) * Number of discrete states: 6 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.timer.y,runSig.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (45): * Single equations (assignments): 38 * 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.0006234/0.5776, allocations: 368.6 kB / 1.047 GB, free: 8.312 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0004539/0.578, allocations: 355.4 kB / 1.047 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.578, allocations: 0 / 1.047 GB, free: 8.059 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0001868/0.5782, allocations: 160.4 kB / 1.047 GB, free: 7.949 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003875/0.5786, allocations: 72.41 kB / 1.047 GB, free: 7.902 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001173/0.5798, allocations: 0.782 MB / 1.048 GB, free: 7.184 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005729/0.5804, allocations: 0.99 MB / 1.049 GB, free: 6.188 MB / 0.6667 GB Notification: Performance of SimCode: time 2.71e-07/0.5804, allocations: 3.938 kB / 1.049 GB, free: 6.184 MB / 0.6667 GB Notification: Performance of Templates: time 0.01033/0.5907, allocations: 5.561 MB / 1.054 GB, free: 0.6641 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches