Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.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.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") translateModel(Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|transition1.condition|transition2.condition|transition3.condition|TEng.y|per.TEngNom|actMod",fileNamePrefix="Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature") [: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 2.004/2.004, allocations: 387.2 MB / 394.5 MB, free: 13.63 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.001034/0.001034, allocations: 181.3 kB / 487 MB, free: 5.371 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.201/1.201, allocations: 221.3 MB / 0.7819 GB, free: 1.441 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.0008924/0.0008924, allocations: 103.2 kB / 0.9213 GB, free: 2.688 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 7.063e-06/7.093e-06, allocations: 4 kB / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 142.3 MB / 1.205 GB, free: 26.27 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5857/0.7939, allocations: 157.7 MB / 1.359 GB, free: 15.57 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002385/0.7942, allocations: 85.44 kB / 1.359 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.03464/0.8289, allocations: 15.03 MB / 1.374 GB, free: 4.707 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.585e-05/0.8289, allocations: 12.66 kB / 1.374 GB, free: 4.695 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: 143 * Number of variables: 143 Notification: Performance of Generate backend data structure: time 0.001025/0.83, allocations: 0.912 MB / 1.375 GB, free: 3.797 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.349e-05/0.83, allocations: 9.031 kB / 1.375 GB, free: 3.789 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001278/0.8301, allocations: 94.88 kB / 1.375 GB, free: 3.695 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005898/0.8307, allocations: 464.8 kB / 1.375 GB, free: 3.27 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.813e-05/0.8308, allocations: 55 kB / 1.375 GB, free: 3.211 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.512e-05/0.8309, allocations: 40 kB / 1.376 GB, free: 3.172 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005448/0.8314, allocations: 358.8 kB / 1.376 GB, free: 2.949 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006767/0.8321, allocations: 0.5701 MB / 1.376 GB, free: 2.449 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.773e-05/0.8321, allocations: 3.938 kB / 1.376 GB, free: 2.445 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.999e-05/0.8322, allocations: 4 kB / 1.376 GB, free: 2.441 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.8322, allocations: 19.98 kB / 1.376 GB, free: 2.422 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001795/0.834, allocations: 2.561 MB / 1.379 GB, free: 104 kB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005357/0.8346, allocations: 336.8 kB / 1.379 GB, free: 15.79 MB / 0.823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002054/0.8348, allocations: 157.4 kB / 1.379 GB, free: 15.67 MB / 0.823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.998e-05/0.8348, allocations: 11.91 kB / 1.379 GB, free: 15.66 MB / 0.823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003168/0.8351, allocations: 242.9 kB / 1.38 GB, free: 15.44 MB / 0.823 GB Notification: Performance of pre-optimization done (n=43): time 2.154e-06/0.8351, allocations: 0 / 1.38 GB, free: 15.44 MB / 0.823 GB Notification: Performance of matching and sorting (n=43): time 0.0005378/0.8357, allocations: 308.2 kB / 1.38 GB, free: 15.19 MB / 0.823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.633e-05/0.8358, allocations: 225.3 kB / 1.38 GB, free: 14.92 MB / 0.823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005391/0.8363, allocations: 0.5235 MB / 1.381 GB, free: 14.51 MB / 0.823 GB Notification: Performance of collectPreVariables (initialization): time 5.863e-05/0.8364, allocations: 44.81 kB / 1.381 GB, free: 14.46 MB / 0.823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001751/0.8366, allocations: 278.1 kB / 1.381 GB, free: 14.23 MB / 0.823 GB Notification: Performance of collectInitialBindings (initialization): time 9.262e-05/0.8367, allocations: 106.9 kB / 1.381 GB, free: 14.15 MB / 0.823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.075e-05/0.8367, allocations: 0 / 1.381 GB, free: 14.15 MB / 0.823 GB Notification: Performance of setup shared object (initialization): time 0.0001448/0.8369, allocations: 377.8 kB / 1.381 GB, free: 13.8 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002174/0.8371, allocations: 132.8 kB / 1.382 GB, free: 13.72 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003421/0.8374, allocations: 351.2 kB / 1.382 GB, free: 13.35 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00023/0.8377, allocations: 155.3 kB / 1.382 GB, free: 13.24 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.347e-06/0.8377, allocations: 0 / 1.382 GB, free: 13.24 MB / 0.823 GB Notification: Performance of matching and sorting (n=83) (initialization): time 0.0007748/0.8385, allocations: 493.9 kB / 1.383 GB, free: 12.84 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.253e-05/0.8385, allocations: 4 kB / 1.383 GB, free: 12.84 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.397e-06/0.8385, allocations: 4.781 kB / 1.383 GB, free: 12.83 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.915e-05/0.8385, allocations: 12 kB / 1.383 GB, free: 12.82 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003166/0.8389, allocations: 87.33 kB / 1.383 GB, free: 12.74 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.217e-05/0.8389, allocations: 15.94 kB / 1.383 GB, free: 12.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003391/0.8392, allocations: 59.66 kB / 1.383 GB, free: 12.66 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.017e-05/0.8393, allocations: 34.61 kB / 1.383 GB, free: 12.64 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 27 * 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,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.pre.u,transition5.enableFire,$PRE.warUpCtr.hysTem.y,warUpCtr.hysTem.y,$PRE.warUpCtr.hysPow.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (83): * Single equations (assignments): 83 * 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.0001384/0.8394, allocations: 147.9 kB / 1.383 GB, free: 12.5 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.119e-05/0.8395, allocations: 71.16 kB / 1.383 GB, free: 12.43 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006271/0.8401, allocations: 352.7 kB / 1.383 GB, free: 12.16 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.324e-06/0.8402, allocations: 8 kB / 1.383 GB, free: 12.16 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.492e-06/0.8402, allocations: 4 kB / 1.383 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.301e-06/0.8402, allocations: 4 kB / 1.383 GB, free: 12.15 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001229/0.8414, allocations: 0.918 MB / 1.384 GB, free: 11.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.785e-06/0.8414, allocations: 4 kB / 1.384 GB, free: 11.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001763/0.8416, allocations: 39.84 kB / 1.384 GB, free: 11.36 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.593e-06/0.8416, allocations: 4 kB / 1.384 GB, free: 11.36 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.074e-05/0.8417, allocations: 7.984 kB / 1.384 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.859e-06/0.8417, allocations: 4 kB / 1.384 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.8417, allocations: 0 / 1.384 GB, free: 11.35 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006207/0.8423, allocations: 0.5264 MB / 1.385 GB, free: 10.84 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000126/0.8425, allocations: 148 kB / 1.385 GB, free: 10.68 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.475e-05/0.8426, allocations: 4 kB / 1.385 GB, free: 10.67 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002615/0.8428, allocations: 35.22 kB / 1.385 GB, free: 10.64 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001351/0.843, allocations: 54.84 kB / 1.385 GB, free: 10.6 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.493e-05/0.843, allocations: 19.38 kB / 1.385 GB, free: 10.58 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003788/0.8434, allocations: 377.3 kB / 1.385 GB, free: 10.3 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.0005709/0.844, allocations: 107.8 kB / 1.385 GB, free: 10.19 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: 40 (transition5.t_start,transition4.t_start,transition3.t_start,transition2.t_start,transition1.t_start,nor.active,off.active,warUp.localActive,$cse1,$cse2,$cse3,$cse4,$cse5,$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,warUp.active,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.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u) * Number of discrete states: 13 (runSig.combiTimeTable.nextTimeEvent,warUp.newActive,off.newActive,nor.newActive,warUpCtr.hysTem.y,warUpCtr.hysPow.y,warUpCtr.pre.u,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): 39 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.000759/0.8447, allocations: 383.3 kB / 1.386 GB, free: 9.898 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0005658/0.8453, allocations: 385.7 kB / 1.386 GB, free: 9.625 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.8453, allocations: 0 / 1.386 GB, free: 9.625 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002642/0.8456, allocations: 184.1 kB / 1.386 GB, free: 9.5 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004522/0.846, allocations: 74.11 kB / 1.386 GB, free: 9.453 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001561/0.8476, allocations: 0.8393 MB / 1.387 GB, free: 8.668 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006512/0.8483, allocations: 1.012 MB / 1.388 GB, free: 7.648 MB / 0.823 GB Notification: Performance of SimCode: time 3.7e-07/0.8483, allocations: 0 / 1.388 GB, free: 7.648 MB / 0.823 GB Notification: Performance of Templates: time 0.01236/0.8607, allocations: 6.069 MB / 1.394 GB, free: 1.641 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.makefile (rm -f Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; mkfifo Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe >> ../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.sim & ./Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_CHPs_BaseClasses_Validation_WarmUpTemperature.csv","../files/Buildings_9_Buildings.Fluid.CHPs.BaseClasses.Validation.WarmUpTemperature.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches