Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.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.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_maint.7.0.x_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_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 249.4 MB / 256.7 MB, free: 6.938 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.001516/0.001516, allocations: 193.2 kB / 316 MB, free: 3.547 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.404/1.404, allocations: 205.2 MB / 0.5667 GB, free: 15.62 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.0009128/0.0009128, allocations: 101.4 kB / 0.671 GB, free: 4.746 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 7.444e-06/7.474e-06, allocations: 0 / 0.7807 GB, free: 103.1 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2042/0.2042, allocations: 106.3 MB / 0.8846 GB, free: 12.65 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6232/0.8275, allocations: 141.6 MB / 1.023 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002501/0.8278, allocations: 96.92 kB / 1.023 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of FrontEnd: time 0.03598/0.8637, allocations: 13.47 MB / 1.036 GB, free: 2.121 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 5.376e-05/0.8638, allocations: 19.94 kB / 1.036 GB, free: 2.102 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: 123 * Number of variables: 123 Notification: Performance of Generate backend data structure: time 0.001462/0.8653, allocations: 0.8432 MB / 1.037 GB, free: 1.242 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.02e-05/0.8654, allocations: 12.03 kB / 1.037 GB, free: 1.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001434/0.8655, allocations: 67.16 kB / 1.037 GB, free: 1.164 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008306/0.8664, allocations: 476 kB / 1.037 GB, free: 0.7383 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.855e-05/0.8664, allocations: 18.75 kB / 1.037 GB, free: 0.7227 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.949e-05/0.8665, allocations: 42.61 kB / 1.038 GB, free: 0.6836 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007438/0.8672, allocations: 394 kB / 1.038 GB, free: 456 kB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008043/0.8681, allocations: 480.3 kB / 1.038 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.629e-05/0.8681, allocations: 0 / 1.038 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.589e-05/0.8681, allocations: 3.188 kB / 1.038 GB, free: 92 kB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.502e-05/0.8682, allocations: 16 kB / 1.038 GB, free: 76 kB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002335/0.8705, allocations: 1.453 MB / 1.04 GB, free: 14.97 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006542/0.8712, allocations: 411.7 kB / 1.04 GB, free: 14.69 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.8715, allocations: 199.5 kB / 1.04 GB, free: 14.57 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 5.183e-05/0.8715, allocations: 17.36 kB / 1.04 GB, free: 14.55 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004144/0.872, allocations: 261.6 kB / 1.041 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=63): time 2.525e-06/0.872, allocations: 0 / 1.041 GB, free: 14.36 MB / 0.6667 GB Notification: Performance of matching and sorting (n=63): time 0.0008242/0.8728, allocations: 391.4 kB / 1.041 GB, free: 14.06 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.366e-05/0.8729, allocations: 118.9 kB / 1.041 GB, free: 13.92 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005102/0.8734, allocations: 442 kB / 1.042 GB, free: 13.59 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 7.33e-05/0.8735, allocations: 40.08 kB / 1.042 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001379/0.8736, allocations: 195.2 kB / 1.042 GB, free: 13.38 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001331/0.8738, allocations: 150.5 kB / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.96e-05/0.8738, allocations: 0 / 1.042 GB, free: 13.25 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001582/0.874, allocations: 371.4 kB / 1.042 GB, free: 12.9 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002847/0.8743, allocations: 160.7 kB / 1.042 GB, free: 12.81 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003789/0.8746, allocations: 296.2 kB / 1.043 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002898/0.8749, allocations: 159.6 kB / 1.043 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.386e-06/0.875, allocations: 0 / 1.043 GB, free: 12.46 MB / 0.6667 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0008119/0.8758, allocations: 0.499 MB / 1.043 GB, free: 12.08 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.867e-05/0.8758, allocations: 6.5 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.899e-06/0.8758, allocations: 4 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.193e-05/0.8758, allocations: 4.25 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003775/0.8762, allocations: 87.02 kB / 1.043 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.8763, allocations: 4 kB / 1.043 GB, free: 11.98 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004662/0.8767, allocations: 75.12 kB / 1.044 GB, free: 11.91 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.431e-05/0.8768, allocations: 27.44 kB / 1.044 GB, free: 11.89 MB / 0.6667 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.0001729/0.877, allocations: 158.8 kB / 1.044 GB, free: 11.73 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.527e-05/0.8771, allocations: 51.34 kB / 1.044 GB, free: 11.68 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009448/0.878, allocations: 480.1 kB / 1.044 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.233e-05/0.878, allocations: 11.91 kB / 1.044 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.284e-06/0.878, allocations: 0 / 1.044 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.678e-06/0.8781, allocations: 3.984 kB / 1.044 GB, free: 11.31 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001946/0.88, allocations: 1.193 MB / 1.045 GB, free: 10.37 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.88, allocations: 7.938 kB / 1.045 GB, free: 10.36 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002755/0.8803, allocations: 62.47 kB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.127e-06/0.8803, allocations: 4 kB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.949e-05/0.8804, allocations: 14.77 kB / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.787e-06/0.8804, allocations: 0 / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.8804, allocations: 4 kB / 1.045 GB, free: 10.28 MB / 0.6667 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0008746/0.8813, allocations: 0.5281 MB / 1.046 GB, free: 9.844 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001355/0.8814, allocations: 146.4 kB / 1.046 GB, free: 9.688 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.201e-05/0.8815, allocations: 11.86 kB / 1.046 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004038/0.8819, allocations: 55.95 kB / 1.046 GB, free: 9.625 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000212/0.8822, allocations: 85.2 kB / 1.046 GB, free: 9.559 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.755e-05/0.8822, allocations: 30.86 kB / 1.046 GB, free: 9.535 MB / 0.6667 GB Notification: Performance of sort global known variables: time 0.0003495/0.8826, allocations: 306.9 kB / 1.047 GB, free: 9.309 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0006184/0.8832, allocations: 134.5 kB / 1.047 GB, free: 9.184 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: 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.001181/0.8844, allocations: 0.5182 MB / 1.047 GB, free: 8.785 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0008876/0.8853, allocations: 0.4917 MB / 1.048 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.8853, allocations: 0 / 1.048 GB, free: 8.426 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0003655/0.8857, allocations: 256.5 kB / 1.048 GB, free: 8.254 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005113/0.8862, allocations: 77.98 kB / 1.048 GB, free: 8.191 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001612/0.8878, allocations: 0.7493 MB / 1.049 GB, free: 7.543 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006551/0.8885, allocations: 0.9684 MB / 1.05 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of SimCode: time 3.01e-07/0.8885, allocations: 0 / 1.05 GB, free: 6.562 MB / 0.6667 GB Notification: Performance of Templates: time 0.01474/0.9032, allocations: 7.836 MB / 1.057 GB, free: 14.77 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_maint.7.0.x_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches