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/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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/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_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") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001127/0.001127, allocations: 108.7 kB / 16.41 MB, free: 6.477 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.001118/0.001118, allocations: 189.5 kB / 17.35 MB, free: 5.711 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.333/1.333, allocations: 222.9 MB / 241.1 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.57/2.57, allocations: 472.7 MB / 0.746 GB, free: 484 kB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001244/0.001244, allocations: 59.91 kB / 1.07 GB, free: 9.609 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6584, allocations: 159.9 MB / 1.226 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage): time 0.003709/0.6622, allocations: 2.739 MB / 1.229 GB, free: 10.96 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002709/0.6649, allocations: 1.874 MB / 1.231 GB, free: 9.074 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002382/0.6652, allocations: 11.94 kB / 1.231 GB, free: 9.062 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0004536/0.6656, allocations: 210.9 kB / 1.231 GB, free: 8.855 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0004132/0.6661, allocations: 230.9 kB / 1.231 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001234/0.6673, allocations: 0.6729 MB / 1.232 GB, free: 7.965 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0007057/0.668, allocations: 0.9089 MB / 1.233 GB, free: 7.055 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0005083/0.6685, allocations: 0.5349 MB / 1.233 GB, free: 6.504 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002843/0.6688, allocations: 350.8 kB / 1.234 GB, free: 6.16 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003458/0.6692, allocations: 386.4 kB / 1.234 GB, free: 5.781 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 9.024e-05/0.6693, allocations: 76 kB / 1.234 GB, free: 5.707 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002744/0.6696, allocations: 203.8 kB / 1.234 GB, free: 5.508 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0001738/0.6697, allocations: 235.2 kB / 1.235 GB, free: 5.277 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0002494/0.67, allocations: 354 kB / 1.235 GB, free: 4.93 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0008657/0.6709, allocations: 1.087 MB / 1.236 GB, free: 3.84 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.6709, allocations: 7.938 kB / 1.236 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of FrontEnd: time 8.71e-07/0.6709, allocations: 0 / 1.236 GB, free: 3.832 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.098e-05/0.6709, allocations: 0 / 1.236 GB, free: 3.832 MB / 0.9512 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.00128/0.6722, allocations: 1.113 MB / 1.237 GB, free: 2.656 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.016e-05/0.6722, allocations: 8.031 kB / 1.237 GB, free: 2.648 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001257/0.6724, allocations: 84.42 kB / 1.237 GB, free: 2.566 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006038/0.673, allocations: 0.5595 MB / 1.238 GB, free: 1.965 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.373e-05/0.673, allocations: 49.38 kB / 1.238 GB, free: 1.918 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.051e-05/0.6731, allocations: 60.12 kB / 1.238 GB, free: 1.859 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000831/0.6739, allocations: 0.5678 MB / 1.238 GB, free: 1.27 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.258e-05/0.674, allocations: 8 kB / 1.238 GB, free: 1.262 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.504e-05/0.674, allocations: 23.98 kB / 1.238 GB, free: 1.238 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.214e-05/0.674, allocations: 12 kB / 1.238 GB, free: 1.227 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007336/0.6748, allocations: 447.7 kB / 1.239 GB, free: 0.7891 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001873/0.6767, allocations: 1.559 MB / 1.24 GB, free: 15.18 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009246/0.6776, allocations: 0.5161 MB / 1.241 GB, free: 14.65 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003445/0.6779, allocations: 238.5 kB / 1.241 GB, free: 14.42 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 4.317e-05/0.678, allocations: 8.562 kB / 1.241 GB, free: 14.41 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004731/0.6785, allocations: 304.1 kB / 1.241 GB, free: 14.1 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=65): time 2.074e-06/0.6785, allocations: 3.938 kB / 1.241 GB, free: 14.09 MB / 0.9669 GB Notification: Performance of matching and sorting (n=65): time 0.001123/0.6796, allocations: 0.6743 MB / 1.242 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.44e-05/0.6797, allocations: 174.7 kB / 1.242 GB, free: 13.21 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006485/0.6803, allocations: 0.7173 MB / 1.243 GB, free: 12.48 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 5.598e-05/0.6804, allocations: 61.69 kB / 1.243 GB, free: 12.42 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001843/0.6806, allocations: 293.6 kB / 1.243 GB, free: 12.12 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001149/0.6807, allocations: 174.6 kB / 1.243 GB, free: 11.95 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001756/0.6809, allocations: 158.6 kB / 1.244 GB, free: 11.79 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.681, allocations: 382.7 kB / 1.244 GB, free: 11.41 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003398/0.6814, allocations: 193.9 kB / 1.244 GB, free: 11.22 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004268/0.6818, allocations: 360.2 kB / 1.244 GB, free: 10.82 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006012/0.6824, allocations: 421.2 kB / 1.245 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.555e-06/0.6824, allocations: 0 / 1.245 GB, free: 10.38 MB / 0.9669 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.0008885/0.6833, allocations: 0.5943 MB / 1.245 GB, free: 9.773 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.314e-05/0.6834, allocations: 4 kB / 1.245 GB, free: 9.77 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.392e-06/0.6834, allocations: 4 kB / 1.245 GB, free: 9.766 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.353e-05/0.6834, allocations: 4.281 kB / 1.245 GB, free: 9.762 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002843/0.6837, allocations: 103.7 kB / 1.246 GB, free: 9.66 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.6837, allocations: 7.984 kB / 1.246 GB, free: 9.652 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002255/0.6839, allocations: 55.66 kB / 1.246 GB, free: 9.598 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.089e-05/0.684, allocations: 31.98 kB / 1.246 GB, free: 9.566 MB / 0.9669 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.0002876/0.6843, allocations: 306.3 kB / 1.246 GB, free: 9.25 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.077e-05/0.6844, allocations: 71.56 kB / 1.246 GB, free: 9.18 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009479/0.6853, allocations: 0.5894 MB / 1.247 GB, free: 8.582 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.398e-06/0.6853, allocations: 11.91 kB / 1.247 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.743e-06/0.6853, allocations: 0 / 1.247 GB, free: 8.57 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 9.576e-05/0.6854, allocations: 144.6 kB / 1.247 GB, free: 8.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.543e-05/0.6855, allocations: 23.92 kB / 1.247 GB, free: 8.387 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001841/0.6857, allocations: 27.98 kB / 1.247 GB, free: 8.359 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001612/0.6859, allocations: 80.56 kB / 1.247 GB, free: 8.281 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009588/0.6868, allocations: 0.6259 MB / 1.247 GB, free: 7.652 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008681/0.6877, allocations: 0.7316 MB / 1.248 GB, free: 6.898 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003606/0.6881, allocations: 273 kB / 1.248 GB, free: 6.637 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0004452/0.6886, allocations: 0.491 MB / 1.249 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of Backend: time 5.31e-07/0.6886, allocations: 0 / 1.249 GB, free: 6.148 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002331/0.6909, allocations: 1.091 MB / 1.25 GB, free: 5.367 MB / 0.9669 GB Notification: Performance of SimCode: time 0.001548/0.6925, allocations: 1.537 MB / 1.251 GB, free: 3.777 MB / 0.9669 GB Notification: Performance of Templates: time 0.0282/0.7207, allocations: 9.555 MB / 1.261 GB, free: 10.32 MB / 0.9825 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","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Applications.DataCenters.ChillerCooled.Controls.Validation.ConstantSpeedPumpStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches