Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001707/0.001707, allocations: 109.6 kB / 16.42 MB, free: 6.508 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.002007/0.002007, allocations: 186.5 kB / 17.35 MB, free: 5.762 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.514/1.514, allocations: 222.9 MB / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.77/2.77, allocations: 461.9 MB / 0.7355 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001554/0.001554, allocations: 68.27 kB / 1.055 GB, free: 7.715 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.055/1.056, allocations: 157.4 MB / 1.208 GB, free: 13.66 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.009107/1.065, allocations: 5.615 MB / 1.214 GB, free: 8.008 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002788/1.068, allocations: 1.442 MB / 1.215 GB, free: 6.562 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005119/1.069, allocations: 11.94 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 0.0009651/1.07, allocations: 218.9 kB / 1.216 GB, free: 6.336 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0008326/1.071, allocations: 214.8 kB / 1.216 GB, free: 6.125 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.001191/1.072, allocations: 414.5 kB / 1.216 GB, free: 5.723 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.001297/1.073, allocations: 0.847 MB / 1.217 GB, free: 4.875 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000909/1.074, allocations: 0.5291 MB / 1.217 GB, free: 4.34 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005503/1.075, allocations: 302.9 kB / 1.218 GB, free: 4.043 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005172/1.075, allocations: 306.7 kB / 1.218 GB, free: 3.742 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 0.00016/1.075, allocations: 76 kB / 1.218 GB, free: 3.668 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004299/1.076, allocations: 151.9 kB / 1.218 GB, free: 3.52 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 0.0002013/1.076, allocations: 175.5 kB / 1.218 GB, free: 3.348 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 0.0003771/1.076, allocations: 310.5 kB / 1.219 GB, free: 3.043 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001245/1.078, allocations: 0.9167 MB / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 5.209e-06/1.078, allocations: 0 / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.365e-06/1.078, allocations: 0 / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 2.807e-05/1.078, allocations: 0 / 1.22 GB, free: 2.129 MB / 0.9356 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002097/1.08, allocations: 0.9082 MB / 1.221 GB, free: 1.164 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 4.269e-05/1.08, allocations: 8.031 kB / 1.221 GB, free: 1.156 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001938/1.08, allocations: 68.19 kB / 1.221 GB, free: 1.09 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000851/1.081, allocations: 452.2 kB / 1.221 GB, free: 0.6133 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.504e-05/1.081, allocations: 49.62 kB / 1.221 GB, free: 0.5625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.063e-05/1.081, allocations: 67.86 kB / 1.221 GB, free: 0.4961 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/1.082, allocations: 0.5576 MB / 1.222 GB, free: 15.93 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/1.082, allocations: 3.984 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.041e-05/1.082, allocations: 20 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.548e-05/1.082, allocations: 12 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008525/1.083, allocations: 431.7 kB / 1.222 GB, free: 15.47 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002466/1.086, allocations: 1.48 MB / 1.224 GB, free: 13.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007628/1.086, allocations: 412.5 kB / 1.224 GB, free: 13.52 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003727/1.087, allocations: 204.2 kB / 1.224 GB, free: 13.32 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.008e-05/1.087, allocations: 8.438 kB / 1.224 GB, free: 13.31 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005314/1.087, allocations: 262.9 kB / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=55): time 3.366e-06/1.087, allocations: 0 / 1.224 GB, free: 13.04 MB / 0.9512 GB Notification: Performance of matching and sorting (n=55): time 0.001167/1.089, allocations: 0.5609 MB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.143e-05/1.089, allocations: 85.67 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004783/1.089, allocations: 392.1 kB / 1.225 GB, free: 11.98 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 8.341e-05/1.089, allocations: 53.69 kB / 1.225 GB, free: 11.93 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002246/1.089, allocations: 237.9 kB / 1.226 GB, free: 11.69 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/1.09, allocations: 142.1 kB / 1.226 GB, free: 11.55 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002174/1.09, allocations: 142.3 kB / 1.226 GB, free: 11.4 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001655/1.09, allocations: 358.8 kB / 1.226 GB, free: 11.04 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003575/1.09, allocations: 169.2 kB / 1.226 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/1.091, allocations: 289.2 kB / 1.227 GB, free: 10.55 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006198/1.091, allocations: 362.3 kB / 1.227 GB, free: 10.18 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.642e-06/1.091, allocations: 3.938 kB / 1.227 GB, free: 10.17 MB / 0.9512 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009801/1.092, allocations: 0.5101 MB / 1.228 GB, free: 9.652 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 2.141e-05/1.093, allocations: 6.031 kB / 1.228 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/1.093, allocations: 8.25 kB / 1.228 GB, free: 9.641 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.562e-05/1.093, allocations: 4 kB / 1.228 GB, free: 9.637 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002987/1.093, allocations: 71.78 kB / 1.228 GB, free: 9.566 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.948e-05/1.093, allocations: 11.98 kB / 1.228 GB, free: 9.555 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002923/1.093, allocations: 55.52 kB / 1.228 GB, free: 9.5 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.23e-05/1.093, allocations: 27.98 kB / 1.228 GB, free: 9.473 MB / 0.9512 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 60 ($PRE.chiStaCon.offToOne.enableFire,$PRE.chiStaCon.oneToTwo.enableFire,$PRE.chiStaCon.twoToOne.enableFire,$PRE.chiStaCon.oneToOff.enableFire,$PRE.on.combiTimeTable.nextTimeEvent,$whenCondition5,chiStaCon.stateGraphRoot.resume,chiStaCon.stateGraphRoot.suspend,on.combiTimeTable.nextTimeEventScaled,$PRE.on.combiTimeTable.nextTimeEventScaled,on.combiTimeTable.nextTimeEvent,chiStaCon.thrOneToTwo.y,$PRE.chiStaCon.thrOneToTwo.y,chiStaCon.oneToOff.t_start,$PRE.chiStaCon.oneToOff.t_start,chiStaCon.oneToOff.fire,chiStaCon.oneToOff.enableFire,chiStaCon.oneToOff.localCondition,chiStaCon.twoToOne.t_start,$PRE.chiStaCon.twoToOne.t_start,chiStaCon.twoToOne.fire,chiStaCon.twoToOne.enableFire,chiStaCon.twoToOne.localCondition,chiStaCon.oneToTwo.t_start,$PRE.chiStaCon.oneToTwo.t_start,chiStaCon.oneToTwo.fire,chiStaCon.oneToTwo.enableFire,chiStaCon.offToOne.t_start,$PRE.chiStaCon.offToOne.t_start,chiStaCon.offToOne.fire,chiStaCon.offToOne.enableFire,chiStaCon.twoOn.active,chiStaCon.twoOn.oldActive,$PRE.chiStaCon.twoOn.oldActive,chiStaCon.twoOn.newActive,$PRE.chiStaCon.twoOn.newActive,chiStaCon.twoOn.localActive,$PRE.chiStaCon.twoOn.localActive,chiStaCon.oneOn.active,chiStaCon.oneOn.oldActive,$PRE.chiStaCon.oneOn.oldActive,chiStaCon.oneOn.newActive,$PRE.chiStaCon.oneOn.newActive,chiStaCon.oneOn.outPort[2].available,chiStaCon.oneOn.inPort[2].occupied,chiStaCon.oneOn.localActive,$PRE.chiStaCon.oneOn.localActive,chiStaCon.off.oldActive,$PRE.chiStaCon.off.oldActive,chiStaCon.off.newActive,$PRE.chiStaCon.off.newActive,chiStaCon.off.localActive,$PRE.chiStaCon.off.localActive,chiStaCon.off.active,chiStaCon.y[1],chiStaCon.stateGraphRoot.activeSteps,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (79): * Single equations (assignments): 79 * 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.0003505/1.094, allocations: 241.7 kB / 1.228 GB, free: 9.227 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001004/1.094, allocations: 47.42 kB / 1.228 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009306/1.095, allocations: 492.1 kB / 1.229 GB, free: 8.691 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.137e-06/1.095, allocations: 3.984 kB / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/1.095, allocations: 0 / 1.229 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/1.095, allocations: 120.5 kB / 1.229 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.306e-05/1.095, allocations: 15.98 kB / 1.229 GB, free: 8.535 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002053/1.095, allocations: 31.92 kB / 1.229 GB, free: 8.504 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001684/1.095, allocations: 72.41 kB / 1.229 GB, free: 8.434 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001016/1.096, allocations: 0.5418 MB / 1.229 GB, free: 7.883 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008776/1.097, allocations: 0.6351 MB / 1.23 GB, free: 7.23 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003822/1.098, allocations: 232.4 kB / 1.23 GB, free: 7.004 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0002718/1.098, allocations: 247.1 kB / 1.23 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of Backend: time 8.21e-07/1.098, allocations: 0 / 1.23 GB, free: 6.766 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002164/1.1, allocations: 0.7057 MB / 1.231 GB, free: 6.219 MB / 0.9512 GB Notification: Performance of SimCode: time 0.001833/1.102, allocations: 1.239 MB / 1.232 GB, free: 4.934 MB / 0.9512 GB Notification: Performance of Templates: time 0.01552/1.117, allocations: 7.281 MB / 1.239 GB, free: 13.71 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.makefile (rm -f Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.sim & ./Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_DHC_Plants_Cooling_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches