Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_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 10.0.0-master/package.mo): time 1.717/1.717, allocations: 390.4 MB / 397.7 MB, free: 11.24 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.0008931/0.0008931, allocations: 182.8 kB / 490.8 MB, free: 1.91 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.073/1.073, allocations: 221.3 MB / 0.7863 GB, free: 13.67 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008066/0.0008067, allocations: 91.23 kB / 0.9264 GB, free: 14.2 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 4.929e-06/5.009e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1691/0.1692, allocations: 143 MB / 1.212 GB, free: 40.09 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.473/0.6423, allocations: 159.6 MB / 1.367 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.6425, allocations: 95.2 kB / 1.368 GB, free: 17 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03144/0.674, allocations: 13.69 MB / 1.381 GB, free: 15.17 MB / 0.823 GB Notification: Performance of Transformations before backend: time 3.376e-05/0.674, allocations: 15.59 kB / 1.381 GB, free: 15.16 MB / 0.823 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.001097/0.6751, allocations: 0.8534 MB / 1.382 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.978e-05/0.6752, allocations: 9.188 kB / 1.382 GB, free: 30.47 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001243/0.6753, allocations: 70.47 kB / 1.382 GB, free: 30.44 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000593/0.6759, allocations: 465.7 kB / 1.382 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.601e-05/0.6759, allocations: 21.78 kB / 1.382 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.028e-05/0.676, allocations: 33.41 kB / 1.382 GB, free: 30.13 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006382/0.6767, allocations: 394.9 kB / 1.383 GB, free: 30.1 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007101/0.6774, allocations: 486.5 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.344e-05/0.6774, allocations: 0 / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.067e-05/0.6774, allocations: 1.219 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.218e-05/0.6775, allocations: 11.53 kB / 1.383 GB, free: 29.95 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001786/0.6792, allocations: 1.45 MB / 1.385 GB, free: 29.23 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005308/0.6798, allocations: 404.9 kB / 1.385 GB, free: 29.18 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002673/0.6801, allocations: 201 kB / 1.385 GB, free: 29.16 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.56e-05/0.6801, allocations: 7.125 kB / 1.385 GB, free: 29.15 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003306/0.6804, allocations: 272.9 kB / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=63): time 1.643e-06/0.6805, allocations: 0 / 1.385 GB, free: 29.04 MB / 0.8386 GB Notification: Performance of matching and sorting (n=63): time 0.0005883/0.681, allocations: 389.5 kB / 1.386 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.318e-05/0.6811, allocations: 124.2 kB / 1.386 GB, free: 28.82 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004177/0.6815, allocations: 429.1 kB / 1.386 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.48e-05/0.6816, allocations: 39.55 kB / 1.386 GB, free: 28.63 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001045/0.6817, allocations: 196.6 kB / 1.387 GB, free: 28.49 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.33e-05/0.6818, allocations: 148.3 kB / 1.387 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.53e-05/0.6818, allocations: 4 kB / 1.387 GB, free: 28.39 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001177/0.6819, allocations: 366.3 kB / 1.387 GB, free: 28.06 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002648/0.6822, allocations: 161.5 kB / 1.387 GB, free: 28.05 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003037/0.6825, allocations: 287.5 kB / 1.388 GB, free: 27.93 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002335/0.6828, allocations: 167.8 kB / 1.388 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/0.6828, allocations: 0.5312 kB / 1.388 GB, free: 27.9 MB / 0.8386 GB Notification: Performance of matching and sorting (n=88) (initialization): time 0.0007639/0.6835, allocations: 0.4926 MB / 1.388 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.6836, allocations: 9.281 kB / 1.388 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6836, allocations: 2.375 kB / 1.388 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.854e-05/0.6836, allocations: 6.062 kB / 1.388 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003396/0.6839, allocations: 81.55 kB / 1.388 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.073e-05/0.684, allocations: 5.156 kB / 1.388 GB, free: 27.75 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004028/0.6844, allocations: 77.47 kB / 1.388 GB, free: 27.71 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.899e-05/0.6844, allocations: 24.25 kB / 1.388 GB, free: 27.71 MB / 0.8386 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.0001305/0.6846, allocations: 157.5 kB / 1.389 GB, free: 27.58 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.567e-05/0.6846, allocations: 51.31 kB / 1.389 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007505/0.6854, allocations: 482.8 kB / 1.389 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.061e-06/0.6854, allocations: 6.312 kB / 1.389 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6854, allocations: 0 / 1.389 GB, free: 27.42 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.224e-06/0.6854, allocations: 9.297 kB / 1.389 GB, free: 27.41 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001489/0.6869, allocations: 1.185 MB / 1.39 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.124e-06/0.6869, allocations: 0 / 1.39 GB, free: 26.9 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000241/0.6872, allocations: 66.8 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.451e-06/0.6872, allocations: 2.781 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.045e-05/0.6872, allocations: 7.094 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.817e-06/0.6872, allocations: 2.156 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.6872, allocations: 15.77 kB / 1.39 GB, free: 26.87 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006667/0.6879, allocations: 0.5254 MB / 1.391 GB, free: 26.65 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.532e-05/0.688, allocations: 147.4 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.909e-05/0.6881, allocations: 2.75 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004086/0.6885, allocations: 63.66 kB / 1.391 GB, free: 26.5 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000155/0.6887, allocations: 86.58 kB / 1.391 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.886e-05/0.6887, allocations: 25.58 kB / 1.391 GB, free: 26.46 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0002657/0.689, allocations: 305.3 kB / 1.391 GB, free: 26.35 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0007104/0.6897, allocations: 129.3 kB / 1.392 GB, free: 26.33 MB / 0.8386 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.0008597/0.6906, allocations: 0.5232 MB / 1.392 GB, free: 26.07 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0006398/0.6912, allocations: 499.6 kB / 1.393 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.502e-06/0.6912, allocations: 1.5 kB / 1.393 GB, free: 26 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003132/0.6915, allocations: 253.7 kB / 1.393 GB, free: 25.98 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005018/0.6921, allocations: 74.67 kB / 1.393 GB, free: 25.96 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001216/0.6933, allocations: 0.7588 MB / 1.394 GB, free: 25.67 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005586/0.6938, allocations: 0.9547 MB / 1.394 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of SimCode: time 2.5e-07/0.6939, allocations: 0 / 1.394 GB, free: 24.88 MB / 0.8386 GB Notification: Performance of Templates: time 0.01176/0.7056, allocations: 7.83 MB / 1.402 GB, free: 21.07 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ChillerStage.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches