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/ModelicaServices 4.0.0+maint.om/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/Buildings 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001303/0.001303, allocations: 109.1 kB / 16.42 MB, free: 6.461 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001346/0.001346, allocations: 189.5 kB / 17.35 MB, free: 5.715 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.353/1.353, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.173/2.173, allocations: 390.3 MB / 0.6655 GB, free: 0.6562 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001419/0.001419, allocations: 67.89 kB / 0.9515 GB, free: 7.695 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6517/0.6532, allocations: 140.4 MB / 1.089 GB, free: 5.531 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.003335/0.6565, allocations: 2.74 MB / 1.091 GB, free: 3.625 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002406/0.6589, allocations: 1.875 MB / 1.093 GB, free: 2.328 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001671/0.6591, allocations: 11.81 kB / 1.093 GB, free: 2.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0004426/0.6596, allocations: 204.8 kB / 1.093 GB, free: 2.246 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0004005/0.66, allocations: 240.4 kB / 1.094 GB, free: 2.125 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.001176/0.6612, allocations: 0.6562 MB / 1.094 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0008006/0.662, allocations: 0.9162 MB / 1.095 GB, free: 1.328 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005876/0.6626, allocations: 0.539 MB / 1.096 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00032/0.6629, allocations: 341.1 kB / 1.096 GB, free: 0.9258 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003889/0.6633, allocations: 388.1 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 0.0001175/0.6634, allocations: 75.19 kB / 1.096 GB, free: 0.7461 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003319/0.6638, allocations: 205 kB / 1.097 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 0.000198/0.664, allocations: 227.5 kB / 1.097 GB, free: 0.5781 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 0.0002488/0.6642, allocations: 356.2 kB / 1.097 GB, free: 328 kB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.6653, allocations: 1.081 MB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 3.566e-06/0.6653, allocations: 0 / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of FrontEnd: time 1.032e-06/0.6653, allocations: 1.062 kB / 1.098 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 1.008e-05/0.6654, allocations: 4 kB / 1.098 GB, free: 15.87 MB / 0.8731 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.001572/0.6669, allocations: 1.099 MB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 3.202e-05/0.667, allocations: 8.75 kB / 1.099 GB, free: 15.03 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.6671, allocations: 82.44 kB / 1.099 GB, free: 14.99 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007382/0.6679, allocations: 0.5493 MB / 1.1 GB, free: 14.6 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.395e-05/0.6679, allocations: 51.3 kB / 1.1 GB, free: 14.57 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.087e-05/0.668, allocations: 53.69 kB / 1.1 GB, free: 14.56 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009996/0.669, allocations: 0.5727 MB / 1.101 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.2e-05/0.669, allocations: 0 / 1.101 GB, free: 14.28 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.303e-05/0.6691, allocations: 18.83 kB / 1.101 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.389e-05/0.6691, allocations: 15.72 kB / 1.101 GB, free: 14.27 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008233/0.67, allocations: 446.8 kB / 1.101 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002271/0.6722, allocations: 1.57 MB / 1.103 GB, free: 13.2 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001087/0.6733, allocations: 0.5085 MB / 1.103 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004372/0.6738, allocations: 238 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.843e-05/0.6738, allocations: 8.156 kB / 1.103 GB, free: 12.89 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005456/0.6744, allocations: 311.6 kB / 1.104 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=65): time 2.094e-06/0.6744, allocations: 1.281 kB / 1.104 GB, free: 12.75 MB / 0.8731 GB Notification: Performance of matching and sorting (n=65): time 0.001237/0.6756, allocations: 0.6723 MB / 1.104 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.142e-05/0.6757, allocations: 174.2 kB / 1.104 GB, free: 12.29 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007729/0.6765, allocations: 0.7235 MB / 1.105 GB, free: 11.98 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 6.528e-05/0.6766, allocations: 53.05 kB / 1.105 GB, free: 11.93 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.6768, allocations: 292.8 kB / 1.105 GB, free: 11.7 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001371/0.677, allocations: 164.5 kB / 1.106 GB, free: 11.57 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002135/0.6772, allocations: 159.3 kB / 1.106 GB, free: 11.5 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001657/0.6773, allocations: 378.9 kB / 1.106 GB, free: 11.16 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003568/0.6777, allocations: 190.4 kB / 1.106 GB, free: 11.09 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004758/0.6782, allocations: 368.2 kB / 1.107 GB, free: 10.86 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006605/0.6789, allocations: 414.2 kB / 1.107 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.6789, allocations: 1.344 kB / 1.107 GB, free: 10.63 MB / 0.8731 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0009787/0.6799, allocations: 0.5982 MB / 1.108 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.6799, allocations: 6.438 kB / 1.108 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.6799, allocations: 1.281 kB / 1.108 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.62e-05/0.6799, allocations: 6.969 kB / 1.108 GB, free: 10.37 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003082/0.6802, allocations: 85.39 kB / 1.108 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.394e-05/0.6803, allocations: 8.125 kB / 1.108 GB, free: 10.35 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002602/0.6805, allocations: 66.8 kB / 1.108 GB, free: 10.31 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.213e-05/0.6806, allocations: 26.28 kB / 1.108 GB, free: 10.3 MB / 0.8731 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,$PRE.chiNumOn.combiTimeTable.nextTimeEvent,$whenCondition6,$PRE.cooMod.combiTimeTable.nextTimeEvent,$whenCondition5,chiNumOn.combiTimeTable.nextTimeEventScaled,$PRE.chiNumOn.combiTimeTable.nextTimeEventScaled,chiNumOn.combiTimeTable.nextTimeEvent,chiNumOn.y,cooMod.combiTimeTable.nextTimeEventScaled,$PRE.cooMod.combiTimeTable.nextTimeEventScaled,cooMod.combiTimeTable.nextTimeEvent,cooMod.y,conSpePumSta.addInt.y,conSpePumSta.booToInt1.y,conSpePumSta.booToInt.y,conSpePumSta.stateGraphRoot.activeSteps,conSpePumSta.con4.t_start,$PRE.conSpePumSta.con4.t_start,conSpePumSta.con4.fire,conSpePumSta.con4.enableFire,conSpePumSta.con4.localCondition,conSpePumSta.con3.t_start,$PRE.conSpePumSta.con3.t_start,conSpePumSta.con3.fire,conSpePumSta.con3.enableFire,conSpePumSta.con3.localCondition,conSpePumSta.con2.t_start,$PRE.conSpePumSta.con2.t_start,conSpePumSta.con2.fire,conSpePumSta.con2.enableFire,conSpePumSta.con2.localCondition,conSpePumSta.twoOn.active,conSpePumSta.twoOn.oldActive,$PRE.conSpePumSta.twoOn.oldActive,conSpePumSta.twoOn.newActive,$PRE.conSpePumSta.twoOn.newActive,conSpePumSta.twoOn.localActive,$PRE.conSpePumSta.twoOn.localActive,conSpePumSta.off.oldActive,$PRE.conSpePumSta.off.oldActive,conSpePumSta.off.newActive,$PRE.conSpePumSta.off.newActive,conSpePumSta.off.localActive,$PRE.conSpePumSta.off.localActive,conSpePumSta.off.active,conSpePumSta.oneOn.active,conSpePumSta.oneOn.oldActive,$PRE.conSpePumSta.oneOn.oldActive,conSpePumSta.oneOn.newActive,$PRE.conSpePumSta.oneOn.newActive,conSpePumSta.oneOn.outPort[2].available,conSpePumSta.oneOn.inPort[2].occupied,conSpePumSta.oneOn.localActive,$PRE.conSpePumSta.oneOn.localActive,conSpePumSta.con1.t_start,$PRE.conSpePumSta.con1.t_start,conSpePumSta.con1.fire,conSpePumSta.con1.enableFire,conSpePumSta.con1.localCondition,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,conSpePumSta.stateGraphRoot.resume,conSpePumSta.stateGraphRoot.suspend) * Number of discrete states: 0 () * Number of clocked 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003946/0.681, allocations: 307.3 kB / 1.108 GB, free: 10.09 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001338/0.6811, allocations: 62.11 kB / 1.108 GB, free: 10.06 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001054/0.6822, allocations: 0.5982 MB / 1.109 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.778e-06/0.6822, allocations: 3.234 kB / 1.109 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.755e-06/0.6822, allocations: 1.719 kB / 1.109 GB, free: 9.805 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001285/0.6823, allocations: 144.9 kB / 1.109 GB, free: 9.668 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.312e-05/0.6824, allocations: 18.86 kB / 1.109 GB, free: 9.656 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002065/0.6826, allocations: 25.47 kB / 1.109 GB, free: 9.648 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001785/0.6828, allocations: 80.31 kB / 1.109 GB, free: 9.625 MB / 0.8731 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001077/0.6839, allocations: 0.6311 MB / 1.11 GB, free: 9.328 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0009808/0.6849, allocations: 0.7309 MB / 1.11 GB, free: 8.922 MB / 0.8731 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000518/0.6854, allocations: 271.5 kB / 1.111 GB, free: 8.812 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0005994/0.686, allocations: 500 kB / 1.111 GB, free: 8.617 MB / 0.8731 GB Notification: Performance of Backend: time 5.21e-07/0.6861, allocations: 4 kB / 1.111 GB, free: 8.613 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.00254/0.6886, allocations: 1.102 MB / 1.112 GB, free: 8.203 MB / 0.8731 GB Notification: Performance of SimCode: time 0.001824/0.6904, allocations: 1.513 MB / 1.114 GB, free: 7.191 MB / 0.8731 GB Notification: Performance of Templates: time 0.01623/0.7067, allocations: 9.549 MB / 1.123 GB, free: 6.398 MB / 0.8731 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches