Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|QTot.y|chiStaCon.criPoiLoa|TCHWSup.y|cooMod.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage") [: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.785/1.785, allocations: 387.2 MB / 394.5 MB, free: 13.64 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.0009938/0.0009939, allocations: 181.3 kB / 487 MB, free: 5.367 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.14/1.14, allocations: 221.3 MB / 0.7819 GB, free: 1.391 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.000858/0.000858, allocations: 98.36 kB / 0.9213 GB, free: 2.633 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 5.521e-06/5.541e-06, allocations: 0 / 1.066 GB, free: 168.3 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1895/0.1895, allocations: 142.3 MB / 1.205 GB, free: 26.23 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5104/0.7, allocations: 158.9 MB / 1.36 GB, free: 15.08 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000214/0.7002, allocations: 97.83 kB / 1.36 GB, free: 15.04 MB / 0.8073 GB Notification: Performance of FrontEnd: time 0.02955/0.7298, allocations: 13.69 MB / 1.374 GB, free: 5.141 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.054e-05/0.7299, allocations: 12 kB / 1.374 GB, free: 5.129 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.0009922/0.7309, allocations: 0.8576 MB / 1.375 GB, free: 4.254 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.351e-05/0.7309, allocations: 9.031 kB / 1.375 GB, free: 4.246 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001184/0.731, allocations: 77.89 kB / 1.375 GB, free: 4.172 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005736/0.7316, allocations: 461.4 kB / 1.375 GB, free: 3.758 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.321e-05/0.7317, allocations: 19.69 kB / 1.375 GB, free: 3.742 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.264e-05/0.7317, allocations: 39.94 kB / 1.375 GB, free: 3.703 MB / 0.8073 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005997/0.7323, allocations: 395 kB / 1.376 GB, free: 3.465 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006333/0.733, allocations: 485.2 kB / 1.376 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.374e-05/0.733, allocations: 0 / 1.376 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.148e-05/0.733, allocations: 0 / 1.376 GB, free: 3.102 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.258e-06/0.7331, allocations: 12 kB / 1.376 GB, free: 3.09 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001667/0.7347, allocations: 1.45 MB / 1.377 GB, free: 1.988 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004924/0.7352, allocations: 410.5 kB / 1.378 GB, free: 1.711 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002363/0.7355, allocations: 194.8 kB / 1.378 GB, free: 1.586 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 3.554e-05/0.7355, allocations: 11.69 kB / 1.378 GB, free: 1.578 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000328/0.7358, allocations: 262.2 kB / 1.378 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=63): time 1.833e-06/0.7359, allocations: 0 / 1.378 GB, free: 1.383 MB / 0.8073 GB Notification: Performance of matching and sorting (n=63): time 0.0005479/0.7364, allocations: 401.3 kB / 1.379 GB, free: 1.07 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.7364, allocations: 118.1 kB / 1.379 GB, free: 0.9336 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003458/0.7368, allocations: 432.7 kB / 1.379 GB, free: 0.6055 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 5.157e-05/0.7369, allocations: 41.5 kB / 1.379 GB, free: 0.5625 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 7.964e-05/0.7369, allocations: 192.7 kB / 1.379 GB, free: 400 kB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 8.137e-05/0.737, allocations: 148.7 kB / 1.38 GB, free: 272 kB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.443e-05/0.7371, allocations: 0 / 1.38 GB, free: 272 kB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.7372, allocations: 372.7 kB / 1.38 GB, free: 15.92 MB / 0.823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002532/0.7375, allocations: 161.1 kB / 1.38 GB, free: 15.82 MB / 0.823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003314/0.7378, allocations: 286.7 kB / 1.38 GB, free: 15.59 MB / 0.823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002447/0.7381, allocations: 159.5 kB / 1.381 GB, free: 15.49 MB / 0.823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.425e-06/0.7381, allocations: 4 kB / 1.381 GB, free: 15.48 MB / 0.823 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007257/0.7388, allocations: 0.493 MB / 1.381 GB, free: 15.1 MB / 0.823 GB Notification: Performance of prepare postOptimizeDAE: time 1.071e-05/0.7388, allocations: 4 kB / 1.381 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.873e-06/0.7388, allocations: 4 kB / 1.381 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.408e-05/0.7388, allocations: 4 kB / 1.381 GB, free: 15.09 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003368/0.7392, allocations: 87.39 kB / 1.381 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.554e-06/0.7392, allocations: 4 kB / 1.381 GB, free: 15 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003952/0.7396, allocations: 87.38 kB / 1.381 GB, free: 14.92 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.978e-05/0.7397, allocations: 23.8 kB / 1.381 GB, free: 14.9 MB / 0.823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 68 ($PRE.chiStaCon.con1.enableFire,$PRE.chiStaCon.con2.enableFire,$PRE.chiStaCon.con3.enableFire,$PRE.chiStaCon.con4.enableFire,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,$whenCondition6,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.enableFire,chiStaCon.con1.fire,$PRE.chiStaCon.con1.t_start,chiStaCon.con1.t_start,chiStaCon.con1.condition,$PRE.chiStaCon.oneOn.localActive,chiStaCon.oneOn.localActive,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,$PRE.chiStaCon.off.localActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.oldActive,chiStaCon.off.active,$PRE.chiStaCon.twoOn.localActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.enableFire,chiStaCon.con2.fire,$PRE.chiStaCon.con2.t_start,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.enableFire,chiStaCon.con3.fire,$PRE.chiStaCon.con3.t_start,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.enableFire,chiStaCon.con4.fire,$PRE.chiStaCon.con4.t_start,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.TCHWSup.T_start,TCHWSup.T_start,$PRE.TCHWSup.count,TCHWSup.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (87): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 1 * 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.0001539/0.7398, allocations: 156.6 kB / 1.381 GB, free: 14.75 MB / 0.823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.927e-05/0.7399, allocations: 51.34 kB / 1.381 GB, free: 14.7 MB / 0.823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008028/0.7407, allocations: 478.9 kB / 1.382 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.7407, allocations: 4 kB / 1.382 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.7407, allocations: 3.906 kB / 1.382 GB, free: 14.34 MB / 0.823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.586e-06/0.7408, allocations: 3.984 kB / 1.382 GB, free: 14.33 MB / 0.823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001604/0.7424, allocations: 1.179 MB / 1.383 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.7424, allocations: 0 / 1.383 GB, free: 13.4 MB / 0.823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002478/0.7426, allocations: 66.83 kB / 1.383 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.554e-06/0.7426, allocations: 4 kB / 1.383 GB, free: 13.34 MB / 0.823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.349e-05/0.7427, allocations: 3.984 kB / 1.383 GB, free: 13.33 MB / 0.823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.648e-06/0.7427, allocations: 11.84 kB / 1.383 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.7427, allocations: 0 / 1.383 GB, free: 13.32 MB / 0.823 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.000686/0.7434, allocations: 0.5347 MB / 1.384 GB, free: 12.88 MB / 0.823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001109/0.7435, allocations: 139.3 kB / 1.384 GB, free: 12.73 MB / 0.823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.897e-05/0.7436, allocations: 4 kB / 1.384 GB, free: 12.72 MB / 0.823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003705/0.744, allocations: 63.81 kB / 1.384 GB, free: 12.66 MB / 0.823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001733/0.7442, allocations: 97.19 kB / 1.384 GB, free: 12.59 MB / 0.823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.842e-05/0.7442, allocations: 23.67 kB / 1.384 GB, free: 12.57 MB / 0.823 GB Notification: Performance of sort global known variables: time 0.0003074/0.7445, allocations: 305.7 kB / 1.384 GB, free: 12.34 MB / 0.823 GB Notification: Performance of remove unused functions: time 0.000442/0.745, allocations: 138.6 kB / 1.384 GB, free: 12.21 MB / 0.823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 51 (chiStaCon.con3.enableFire,chiStaCon.con4.enableFire,chiStaCon.con1.enableFire,chiStaCon.con2.enableFire,chiStaCon.twoOn.localActive,chiStaCon.off.localActive,chiStaCon.oneOn.localActive,$cse2,$cse3,$cse4,$cse5,$cse6,$cse7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,chiStaCon.cooMod,chiStaCon.con1.fire,chiStaCon.con1.t_start,chiStaCon.con1.condition,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.newActive,chiStaCon.oneOn.oldActive,chiStaCon.oneOn.active,chiStaCon.off.newActive,chiStaCon.off.oldActive,chiStaCon.off.active,chiStaCon.twoOn.newActive,chiStaCon.twoOn.oldActive,chiStaCon.twoOn.active,chiStaCon.con2.fire,chiStaCon.con2.t_start,chiStaCon.con2.condition,chiStaCon.con3.fire,chiStaCon.con3.t_start,chiStaCon.con3.condition,chiStaCon.con4.fire,chiStaCon.con4.t_start,chiStaCon.con4.condition,chiStaCon.stateGraphRoot.activeSteps,chiStaCon.addInt.u1,chiStaCon.addInt.u2,chiStaCon.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,TCHWSup.T_start,TCHWSup.count) * Number of discrete states: 6 (TCHWSup.count,cooMod.combiTimeTable.nextTimeEvent,chiStaCon.oneOn.newActive,chiStaCon.off.newActive,chiStaCon.twoOn.newActive,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (70): * Single equations (assignments): 59 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 11 * 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.0009468/0.7459, allocations: 0.5053 MB / 1.385 GB, free: 11.86 MB / 0.823 GB Notification: Performance of simCode: created initialization part: time 0.0006671/0.7466, allocations: 0.4938 MB / 1.385 GB, free: 11.5 MB / 0.823 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.7466, allocations: 0 / 1.385 GB, free: 11.5 MB / 0.823 GB Notification: Performance of simCode: created simulation system equations: time 0.0003267/0.7469, allocations: 257.8 kB / 1.386 GB, free: 11.32 MB / 0.823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004186/0.7474, allocations: 71.47 kB / 1.386 GB, free: 11.27 MB / 0.823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001327/0.7487, allocations: 0.7562 MB / 1.386 GB, free: 10.61 MB / 0.823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005915/0.7493, allocations: 0.9574 MB / 1.387 GB, free: 9.645 MB / 0.823 GB Notification: Performance of SimCode: time 2.41e-07/0.7493, allocations: 3.938 kB / 1.387 GB, free: 9.641 MB / 0.823 GB Notification: Performance of Templates: time 0.01253/0.7619, allocations: 7.814 MB / 1.395 GB, free: 1.895 MB / 0.823 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches