Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.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.WarmUpTimeDelay,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|per.timeDelayStart|actMod",fileNamePrefix="Buildings_9_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_9_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 9.1.1-maint.9.1.x/package.mo): time 1.983/1.983, allocations: 387.2 MB / 394.5 MB, free: 13.72 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.001103/0.001103, allocations: 177.3 kB / 487 MB, free: 5.391 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.194/1.194, allocations: 221.3 MB / 0.7819 GB, free: 1.43 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009255/0.0009255, allocations: 102.5 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 8.385e-06/8.516e-06, allocations: 4 kB / 1.066 GB, free: 168.2 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2265/0.2266, allocations: 142.3 MB / 1.205 GB, free: 26.21 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5766/0.8032, allocations: 157.5 MB / 1.359 GB, free: 15.77 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000233/0.8035, allocations: 92.16 kB / 1.359 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03223/0.8357, allocations: 14.04 MB / 1.373 GB, free: 5.738 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 4.455e-05/0.8358, allocations: 16.59 kB / 1.373 GB, free: 5.723 MB / 0.8073 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 126 * Number of variables: 126 Notification: Performance of Generate backend data structure: time 0.001166/0.837, allocations: 0.8435 MB / 1.374 GB, free: 4.895 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.8371, allocations: 12.03 kB / 1.374 GB, free: 4.883 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001376/0.8372, allocations: 82.97 kB / 1.374 GB, free: 4.801 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006843/0.8379, allocations: 451.9 kB / 1.374 GB, free: 4.379 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.933e-05/0.838, allocations: 58.12 kB / 1.374 GB, free: 4.32 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.408e-05/0.8381, allocations: 36 kB / 1.374 GB, free: 4.285 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005602/0.8386, allocations: 319.9 kB / 1.375 GB, free: 4.09 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006968/0.8393, allocations: 0.5344 MB / 1.375 GB, free: 3.605 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.928e-05/0.8394, allocations: 4 kB / 1.375 GB, free: 3.602 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.444e-05/0.8394, allocations: 8 kB / 1.375 GB, free: 3.594 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.408e-05/0.8394, allocations: 12 kB / 1.375 GB, free: 3.582 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001996/0.8414, allocations: 2.553 MB / 1.378 GB, free: 1.234 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000343/0.8418, allocations: 322.5 kB / 1.378 GB, free: 0.9414 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001705/0.842, allocations: 153.8 kB / 1.378 GB, free: 0.8242 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.844e-05/0.842, allocations: 4.281 kB / 1.378 GB, free: 0.8203 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002895/0.8423, allocations: 262.3 kB / 1.378 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=43): time 2.385e-06/0.8423, allocations: 0 / 1.378 GB, free: 0.5859 MB / 0.8073 GB Notification: Performance of matching and sorting (n=43): time 0.0005002/0.8428, allocations: 312.5 kB / 1.379 GB, free: 340 kB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.995e-05/0.8429, allocations: 225.6 kB / 1.379 GB, free: 68 kB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006055/0.8435, allocations: 0.5274 MB / 1.379 GB, free: 15.64 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 8.912e-05/0.8436, allocations: 41.44 kB / 1.379 GB, free: 15.6 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002252/0.8438, allocations: 252.6 kB / 1.38 GB, free: 15.4 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 8.883e-05/0.8439, allocations: 100.9 kB / 1.38 GB, free: 15.32 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.736e-05/0.844, allocations: 0 / 1.38 GB, free: 15.32 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001762/0.8441, allocations: 383.4 kB / 1.38 GB, free: 14.96 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001975/0.8443, allocations: 119.2 kB / 1.38 GB, free: 14.89 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00033/0.8447, allocations: 323.4 kB / 1.381 GB, free: 14.55 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002207/0.8449, allocations: 137.4 kB / 1.381 GB, free: 14.46 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.119e-06/0.8449, allocations: 4 kB / 1.381 GB, free: 14.45 MB / 0.823 GB Notification: Performance of matching and sorting (n=81) (initialization): time 0.0006994/0.8456, allocations: 464.8 kB / 1.381 GB, free: 14.07 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.503e-05/0.8457, allocations: 4 kB / 1.381 GB, free: 14.07 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.8457, allocations: 11.91 kB / 1.381 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.453e-05/0.8457, allocations: 8 kB / 1.381 GB, free: 14.05 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002767/0.846, allocations: 79.64 kB / 1.381 GB, free: 13.97 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.425e-05/0.846, allocations: 12.5 kB / 1.381 GB, free: 13.96 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002528/0.8463, allocations: 31.75 kB / 1.381 GB, free: 13.93 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-05/0.8463, allocations: 31.73 kB / 1.381 GB, free: 13.91 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 26 * Number of states: 0 () * Number of discrete variables: 63 ($PRE.transition1.enableFire,$PRE.transition2.enableFire,$PRE.transition3.enableFire,$PRE.transition4.enableFire,$PRE.transition5.enableFire,$whenCondition1,$PRE.runSig.combiTimeTable.nextTimeEvent,$PRE.transition1.t_start,transition1.t_start,$PRE.transition2.t_start,transition2.t_start,$PRE.transition3.t_start,transition3.t_start,$PRE.transition4.t_start,transition4.t_start,$PRE.transition5.t_start,transition5.t_start,stateGraphRoot.resume,stateGraphRoot.suspend,transition5.condition,$whenCondition2,$whenCondition3,$whenCondition4,runSig.combiTimeTable.nextTimeEvent,$PRE.runSig.combiTimeTable.nextTimeEventScaled,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.passed,warUpCtr.timer.passed,$PRE.warUpCtr.timer.entryTime,warUpCtr.timer.entryTime,transition5.enableFire) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (81): * Single equations (assignments): 81 * 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.000172/0.8465, allocations: 148.3 kB / 1.381 GB, free: 13.76 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.141e-05/0.8466, allocations: 70.3 kB / 1.381 GB, free: 13.69 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006927/0.8473, allocations: 355.9 kB / 1.382 GB, free: 13.42 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.367e-06/0.8473, allocations: 8 kB / 1.382 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/0.8473, allocations: 0 / 1.382 GB, free: 13.41 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.109e-05/0.8474, allocations: 7.984 kB / 1.382 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001352/0.8487, allocations: 0.943 MB / 1.383 GB, free: 12.63 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.8487, allocations: 0 / 1.383 GB, free: 12.63 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/0.8488, allocations: 31.83 kB / 1.383 GB, free: 12.6 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.931e-06/0.8489, allocations: 4 kB / 1.383 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.925e-05/0.8489, allocations: 11.55 kB / 1.383 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.667e-06/0.8489, allocations: 4 kB / 1.383 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.256e-06/0.8489, allocations: 0 / 1.383 GB, free: 12.58 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000609/0.8495, allocations: 0.5389 MB / 1.383 GB, free: 12.05 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001063/0.8496, allocations: 134.9 kB / 1.383 GB, free: 11.91 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.429e-05/0.8497, allocations: 11.8 kB / 1.383 GB, free: 11.9 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001883/0.8499, allocations: 11.98 kB / 1.383 GB, free: 11.89 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001335/0.8501, allocations: 54.08 kB / 1.384 GB, free: 11.84 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.395e-05/0.8501, allocations: 19.11 kB / 1.384 GB, free: 11.83 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0004042/0.8505, allocations: 376 kB / 1.384 GB, free: 11.55 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0006087/0.8511, allocations: 103.8 kB / 1.384 GB, free: 11.45 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 41 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition1,runSig.combiTimeTable.nextTimeEvent,runSig.combiTimeTable.nextTimeEventScaled,actMod,transition1.enableFire,transition2.enableFire,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.passed,warUpCtr.timer.entryTime) * Number of discrete states: 11 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,warUpCtr.timer.entryTime,off.newActive,nor.newActive,runSig.combiTimeTable.nextTimeEventScaled,transition1.t_start,transition2.t_start,transition3.t_start,transition4.t_start,transition5.t_start) * Top-level inputs: 0 Notification: Strong component statistics for simulation (49): * Single equations (assignments): 37 * 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.0008772/0.852, allocations: 390.2 kB / 1.384 GB, free: 11.17 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005595/0.8526, allocations: 362.6 kB / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.725e-06/0.8526, allocations: 1.562 kB / 1.385 GB, free: 10.91 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002646/0.8529, allocations: 195 kB / 1.385 GB, free: 10.78 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004644/0.8533, allocations: 69.55 kB / 1.385 GB, free: 10.73 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00143/0.8548, allocations: 0.818 MB / 1.386 GB, free: 9.977 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006116/0.8554, allocations: 0.9945 MB / 1.387 GB, free: 8.969 MB / 0.823 GB Notification: Performance of SimCode: time 5.31e-07/0.8554, allocations: 0 / 1.387 GB, free: 8.969 MB / 0.823 GB Notification: Performance of Templates: time 0.01178/0.8672, allocations: 5.68 MB / 1.392 GB, free: 3.367 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTimeDelay.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTimeDelay.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches