Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.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.ConstantSpeedPumpStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|cooMod.y|chiNumOn.y|conSpePumSta.y.1.|conSpePumSta.y.2.",fileNamePrefix="Buildings_latest_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_latest_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 10.0.0-master/package.mo): time 1.706/1.706, 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.0009059/0.000906, allocations: 177.3 kB / 490.8 MB, free: 1.922 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.091/1.091, allocations: 221.3 MB / 0.7863 GB, free: 13.64 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.0007676/0.0007676, allocations: 93.33 kB / 0.9264 GB, free: 14.15 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 5.41e-06/5.43e-06, allocations: 0 / 1.072 GB, free: 182.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1681/0.1681, allocations: 143 MB / 1.212 GB, free: 40.07 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.4723/0.6405, allocations: 158.7 MB / 1.367 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002117/0.6407, allocations: 93.47 kB / 1.367 GB, free: 17.13 MB / 0.823 GB Notification: Performance of FrontEnd: time 0.03508/0.6758, allocations: 16.02 MB / 1.382 GB, free: 14.58 MB / 0.823 GB Notification: Performance of Transformations before backend: time 4.129e-05/0.6759, allocations: 26.31 kB / 1.382 GB, free: 14.57 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: 124 * Number of variables: 124 Notification: Performance of Generate backend data structure: time 0.001101/0.677, allocations: 0.9057 MB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.921e-05/0.677, allocations: 7.969 kB / 1.383 GB, free: 29.84 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001385/0.6772, allocations: 83.72 kB / 1.383 GB, free: 29.8 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007443/0.6779, allocations: 0.5548 MB / 1.384 GB, free: 29.46 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.773e-05/0.678, allocations: 26.84 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.908e-05/0.678, allocations: 32.84 kB / 1.384 GB, free: 29.45 MB / 0.8386 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0006526/0.6787, allocations: 418.7 kB / 1.384 GB, free: 29.42 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006809/0.6794, allocations: 0.4921 MB / 1.385 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.349e-05/0.6794, allocations: 1.312 kB / 1.385 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.955e-05/0.6795, allocations: 1.312 kB / 1.385 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.304e-05/0.6795, allocations: 15.94 kB / 1.385 GB, free: 29.25 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001775/0.6813, allocations: 1.504 MB / 1.386 GB, free: 28.52 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007089/0.682, allocations: 449.3 kB / 1.387 GB, free: 28.46 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002641/0.6823, allocations: 213.1 kB / 1.387 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 3.856e-05/0.6823, allocations: 9.094 kB / 1.387 GB, free: 28.44 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000355/0.6827, allocations: 281.1 kB / 1.387 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=65): time 2.174e-06/0.6827, allocations: 3.984 kB / 1.387 GB, free: 28.33 MB / 0.8386 GB Notification: Performance of matching and sorting (n=65): time 0.0007062/0.6834, allocations: 434 kB / 1.388 GB, free: 28.21 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/0.6834, allocations: 166.9 kB / 1.388 GB, free: 28.03 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006353/0.6841, allocations: 0.6248 MB / 1.388 GB, free: 27.84 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.907e-05/0.6841, allocations: 35.86 kB / 1.388 GB, free: 27.8 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001066/0.6842, allocations: 211 kB / 1.389 GB, free: 27.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.46e-05/0.6844, allocations: 160.9 kB / 1.389 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.298e-05/0.6844, allocations: 1.375 kB / 1.389 GB, free: 27.55 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.6845, allocations: 379.2 kB / 1.389 GB, free: 27.22 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002595/0.6848, allocations: 175.9 kB / 1.389 GB, free: 27.21 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003426/0.6851, allocations: 338.5 kB / 1.39 GB, free: 27.05 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002533/0.6854, allocations: 175.1 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.005e-06/0.6854, allocations: 0.8438 kB / 1.39 GB, free: 27.02 MB / 0.8386 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0007216/0.6861, allocations: 0.5185 MB / 1.39 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.027e-05/0.6861, allocations: 8.906 kB / 1.39 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.6861, allocations: 1.562 kB / 1.39 GB, free: 26.89 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.629e-05/0.6862, allocations: 14.94 kB / 1.39 GB, free: 26.88 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002972/0.6865, allocations: 84.48 kB / 1.39 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.712e-06/0.6865, allocations: 5.5 kB / 1.39 GB, free: 26.86 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002494/0.6867, allocations: 35.8 kB / 1.39 GB, free: 26.84 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.609e-05/0.6868, allocations: 26.2 kB / 1.39 GB, free: 26.84 MB / 0.8386 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.0001311/0.6869, allocations: 158.4 kB / 1.391 GB, free: 26.7 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.301e-05/0.687, allocations: 64.83 kB / 1.391 GB, free: 26.66 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008241/0.6878, allocations: 0.5254 MB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.644e-06/0.6879, allocations: 5.875 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.339e-06/0.6879, allocations: 1.375 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.6879, allocations: 3.984 kB / 1.391 GB, free: 26.52 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00164/0.6895, allocations: 1.316 MB / 1.392 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.6895, allocations: 0 / 1.392 GB, free: 25.97 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002163/0.6898, allocations: 60.16 kB / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.969e-06/0.6898, allocations: 2.938 kB / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.059e-05/0.6898, allocations: 10.86 kB / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.827e-06/0.6898, allocations: 7.375 kB / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.733e-06/0.6898, allocations: 0 / 1.393 GB, free: 25.95 MB / 0.8386 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.0006993/0.6905, allocations: 0.5736 MB / 1.393 GB, free: 25.71 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001246/0.6907, allocations: 172.5 kB / 1.393 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.963e-05/0.6908, allocations: 7.344 kB / 1.393 GB, free: 25.57 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002436/0.691, allocations: 33.5 kB / 1.393 GB, free: 25.55 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001486/0.6912, allocations: 81.38 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.022e-05/0.6912, allocations: 22.86 kB / 1.393 GB, free: 25.52 MB / 0.8386 GB Notification: Performance of sort global known variables: time 0.0004312/0.6916, allocations: 461.8 kB / 1.394 GB, free: 25.39 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0004875/0.6921, allocations: 149.8 kB / 1.394 GB, free: 25.38 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: 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.0009/0.693, allocations: 0.5395 MB / 1.395 GB, free: 25.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.000669/0.6937, allocations: 0.4987 MB / 1.395 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.6937, allocations: 1.469 kB / 1.395 GB, free: 25.07 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 0.0003207/0.6941, allocations: 268.2 kB / 1.395 GB, free: 25.04 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004664/0.6945, allocations: 100.7 kB / 1.395 GB, free: 25.01 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001451/0.696, allocations: 0.9418 MB / 1.396 GB, free: 24.68 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006401/0.6966, allocations: 1.024 MB / 1.397 GB, free: 23.86 MB / 0.8386 GB Notification: Performance of SimCode: time 2.51e-07/0.6966, allocations: 4 kB / 1.397 GB, free: 23.85 MB / 0.8386 GB Notification: Performance of Templates: time 0.0126/0.7093, allocations: 8.752 MB / 1.406 GB, free: 17.95 MB / 0.8386 GB make -j1 -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.makefile (rm -f Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; mkfifo Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe >> ../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.sim & ./Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Applications_DataCenters_ChillerCooled_Controls_Validation_ConstantSpeedPumpStage.csv","../files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches