Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") translateModel(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage") [: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.753/1.753, allocations: 387.2 MB / 394.5 MB, free: 13.28 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001014/0.001014, allocations: 188.2 kB / 487 MB, free: 0.7188 MB / 378.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.112/1.112, allocations: 221.4 MB / 0.7819 GB, free: 6.734 MB / 0.573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008673/0.0008673, allocations: 109 kB / 0.9213 GB, free: 43.68 MB / 0.6198 GB Notification: Performance of FrontEnd - loaded program: time 9.718e-06/9.749e-06, allocations: 4 kB / 1.066 GB, free: 7.551 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5621/0.5622, allocations: 142.3 MB / 1.205 GB, free: 72.73 MB / 0.7917 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1679/0.7301, allocations: 158 MB / 1.359 GB, free: 5.273 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002428/0.7304, allocations: 96.77 kB / 1.36 GB, free: 5.18 MB / 0.8542 GB Notification: Performance of FrontEnd: time 0.03879/0.7692, allocations: 16.02 MB / 1.375 GB, free: 5.215 MB / 0.8698 GB Notification: Performance of Transformations before backend: time 3.964e-05/0.7693, allocations: 20 kB / 1.375 GB, free: 5.195 MB / 0.8698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001135/0.7704, allocations: 0.9015 MB / 1.376 GB, free: 4.227 MB / 0.8698 GB Notification: Performance of prepare preOptimizeDAE: time 2.358e-05/0.7705, allocations: 8.031 kB / 1.376 GB, free: 4.219 MB / 0.8698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000143/0.7706, allocations: 82.97 kB / 1.376 GB, free: 4.137 MB / 0.8698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008503/0.7715, allocations: 0.5622 MB / 1.377 GB, free: 3.531 MB / 0.8698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.426e-05/0.7715, allocations: 24 kB / 1.377 GB, free: 3.508 MB / 0.8698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.028e-05/0.7716, allocations: 39.98 kB / 1.377 GB, free: 3.469 MB / 0.8698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006984/0.7723, allocations: 405.9 kB / 1.377 GB, free: 3.074 MB / 0.8698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007637/0.7731, allocations: 0.4963 MB / 1.378 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.162e-05/0.7731, allocations: 0 / 1.378 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.878e-05/0.7731, allocations: 0 / 1.378 GB, free: 2.551 MB / 0.8698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.353e-05/0.7732, allocations: 15.98 kB / 1.378 GB, free: 2.535 MB / 0.8698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002013/0.7752, allocations: 1.506 MB / 1.379 GB, free: 0.9883 MB / 0.8698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.776, allocations: 453.3 kB / 1.38 GB, free: 0.5391 MB / 0.8698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002969/0.7763, allocations: 215.5 kB / 1.38 GB, free: 332 kB / 0.8698 GB Notification: Performance of preOpt evalFunc (simulation): time 3.381e-05/0.7763, allocations: 8.438 kB / 1.38 GB, free: 324 kB / 0.8698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003854/0.7767, allocations: 274.9 kB / 1.38 GB, free: 40 kB / 0.8698 GB Notification: Performance of pre-optimization done (n=65): time 1.873e-06/0.7767, allocations: 0 / 1.38 GB, free: 40 kB / 0.8698 GB Notification: Performance of matching and sorting (n=65): time 0.0007278/0.7774, allocations: 435.3 kB / 1.38 GB, free: 15.6 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.003e-05/0.7775, allocations: 174.8 kB / 1.381 GB, free: 15.4 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007086/0.7782, allocations: 0.6188 MB / 1.381 GB, free: 14.77 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 6.535e-05/0.7783, allocations: 45.69 kB / 1.381 GB, free: 14.72 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001384/0.7785, allocations: 201.2 kB / 1.381 GB, free: 14.52 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001337/0.7786, allocations: 158 kB / 1.382 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.448e-05/0.7786, allocations: 2.344 kB / 1.382 GB, free: 14.36 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001597/0.7788, allocations: 386.7 kB / 1.382 GB, free: 13.98 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002809/0.7791, allocations: 173.5 kB / 1.382 GB, free: 13.81 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004113/0.7795, allocations: 336.6 kB / 1.382 GB, free: 13.43 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002903/0.7798, allocations: 175.1 kB / 1.383 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.204e-06/0.7798, allocations: 0 / 1.383 GB, free: 13.26 MB / 0.8855 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007995/0.7806, allocations: 0.5225 MB / 1.383 GB, free: 12.73 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.018e-05/0.7806, allocations: 7.906 kB / 1.383 GB, free: 12.72 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.745e-06/0.7806, allocations: 4 kB / 1.383 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.7807, allocations: 8.219 kB / 1.383 GB, free: 12.71 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003243/0.781, allocations: 87.83 kB / 1.383 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.781, allocations: 6.188 kB / 1.383 GB, free: 12.62 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002633/0.7813, allocations: 39.72 kB / 1.383 GB, free: 12.58 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.816e-05/0.7813, allocations: 24 kB / 1.383 GB, free: 12.55 MB / 0.8855 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 69 ($PRE.conSpePumSta.con1.enableFire,$PRE.conSpePumSta.con2.enableFire,$PRE.conSpePumSta.con3.enableFire,$PRE.conSpePumSta.con4.enableFire,$whenCondition6,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition5,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.enableFire,conSpePumSta.con1.fire,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.localActive,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.enableFire,conSpePumSta.con2.fire,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.enableFire,conSpePumSta.con3.fire,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.enableFire,conSpePumSta.con4.fire,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEventScaled,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (89): * Single equations (assignments): 89 * 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.000163/0.7815, allocations: 171.1 kB / 1.383 GB, free: 12.38 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.971e-05/0.7816, allocations: 63.16 kB / 1.384 GB, free: 12.31 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009085/0.7825, allocations: 0.5167 MB / 1.384 GB, free: 11.79 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.053e-06/0.7825, allocations: 8 kB / 1.384 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.318e-06/0.7825, allocations: 0 / 1.384 GB, free: 11.78 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.284e-06/0.7826, allocations: 3.984 kB / 1.384 GB, free: 11.77 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001882/0.7844, allocations: 1.311 MB / 1.385 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.7845, allocations: 0 / 1.385 GB, free: 10.42 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002273/0.7847, allocations: 55.84 kB / 1.385 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.154e-06/0.7847, allocations: 4 kB / 1.385 GB, free: 10.36 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.363e-05/0.7847, allocations: 15.92 kB / 1.385 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.395e-06/0.7847, allocations: 1.594 kB / 1.385 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.7848, allocations: 4 kB / 1.385 GB, free: 10.34 MB / 0.8855 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0007893/0.7856, allocations: 0.5757 MB / 1.386 GB, free: 9.75 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001572/0.7857, allocations: 168.2 kB / 1.386 GB, free: 9.566 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.946e-05/0.7858, allocations: 4 kB / 1.386 GB, free: 9.562 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002589/0.7861, allocations: 31.97 kB / 1.386 GB, free: 9.531 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001607/0.7862, allocations: 84.47 kB / 1.386 GB, free: 9.449 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.087e-05/0.7863, allocations: 23.98 kB / 1.386 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of sort global known variables: time 0.0004919/0.7868, allocations: 458.9 kB / 1.387 GB, free: 8.98 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.0005044/0.7873, allocations: 151.8 kB / 1.387 GB, free: 8.832 MB / 0.8855 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 52 (conSpePumSta.con3.enableFire,conSpePumSta.con4.enableFire,conSpePumSta.con1.enableFire,conSpePumSta.con2.enableFire,conSpePumSta.twoOn.localActive,conSpePumSta.off.localActive,conSpePumSta.oneOn.localActive,$cse3,$cse4,$cse5,$cse6,$cse7,$cse8,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,conSpePumSta.cooMod,conSpePumSta.con1.fire,conSpePumSta.con1.t_start,conSpePumSta.con1.condition,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.active,conSpePumSta.off.newActive,conSpePumSta.off.oldActive,conSpePumSta.off.active,conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.active,conSpePumSta.con2.fire,conSpePumSta.con2.t_start,conSpePumSta.con2.condition,conSpePumSta.con3.fire,conSpePumSta.con3.t_start,conSpePumSta.con3.condition,conSpePumSta.con4.fire,conSpePumSta.con4.t_start,conSpePumSta.con4.condition,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.addInt.u1,conSpePumSta.addInt.u2,conSpePumSta.addInt.y,cooMod.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEventScaled,chiNumOn.y,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 7 (chiNumOn.combiTimeTable.nextTimeEvent,cooMod.combiTimeTable.nextTimeEvent,conSpePumSta.oneOn.newActive,conSpePumSta.off.newActive,conSpePumSta.twoOn.newActive,chiNumOn.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEventScaled) * Top-level inputs: 0 Notification: Strong component statistics for simulation (73): * Single equations (assignments): 62 * 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.0009956/0.7883, allocations: 0.5471 MB / 1.387 GB, free: 8.523 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 0.0007393/0.7891, allocations: 0.5028 MB / 1.388 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.7891, allocations: 0 / 1.388 GB, free: 8.02 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 0.0003497/0.7894, allocations: 270.3 kB / 1.388 GB, free: 7.754 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004924/0.7899, allocations: 97.28 kB / 1.388 GB, free: 7.66 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001542/0.7915, allocations: 0.942 MB / 1.389 GB, free: 6.695 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006949/0.7922, allocations: 1.017 MB / 1.39 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of SimCode: time 2.71e-07/0.7922, allocations: 0 / 1.39 GB, free: 5.645 MB / 0.8855 GB Notification: Performance of Templates: time 0.01392/0.8061, allocations: 8.767 MB / 1.399 GB, free: 13.01 MB / 0.9011 GB make -j1 -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.csv","../files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches