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.001384/0.001385, allocations: 113.5 kB / 16.42 MB, free: 6.484 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.001377/0.001377, allocations: 185.4 kB / 17.35 MB, free: 5.727 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.429/1.429, allocations: 222.9 MB / 241.1 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.638/2.638, allocations: 469.4 MB / 0.7428 GB, free: 3.594 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.002137/0.002137, allocations: 59.91 kB / 1.065 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.112/1.114, allocations: 159.1 MB / 1.221 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.009061/1.123, allocations: 5.628 MB / 1.226 GB, free: 12.73 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002829/1.126, allocations: 1.445 MB / 1.228 GB, free: 11.28 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005461/1.127, allocations: 8 kB / 1.228 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.001148/1.128, allocations: 225.9 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0009167/1.129, allocations: 214.8 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.001209/1.13, allocations: 422 kB / 1.229 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.001373/1.131, allocations: 0.8509 MB / 1.229 GB, free: 9.578 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009394/1.132, allocations: 0.5212 MB / 1.23 GB, free: 9.047 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005882/1.133, allocations: 295 kB / 1.23 GB, free: 8.758 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005312/1.134, allocations: 298.7 kB / 1.231 GB, free: 8.465 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 0.0001659/1.134, allocations: 76 kB / 1.231 GB, free: 8.391 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004209/1.134, allocations: 159.9 kB / 1.231 GB, free: 8.234 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 0.0002413/1.134, allocations: 187.4 kB / 1.231 GB, free: 8.051 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 0.0003818/1.135, allocations: 306.5 kB / 1.231 GB, free: 7.75 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001277/1.136, allocations: 0.9089 MB / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.929e-06/1.136, allocations: 0 / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of FrontEnd: time 2.034e-06/1.136, allocations: 0 / 1.232 GB, free: 6.844 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 3.422e-05/1.136, allocations: 0 / 1.232 GB, free: 6.844 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: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.002305/1.138, allocations: 0.912 MB / 1.233 GB, free: 5.875 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/1.139, allocations: 8.031 kB / 1.233 GB, free: 5.867 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002041/1.139, allocations: 64.19 kB / 1.233 GB, free: 5.805 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009134/1.14, allocations: 460.3 kB / 1.234 GB, free: 5.32 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.915e-05/1.14, allocations: 45.69 kB / 1.234 GB, free: 5.273 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.726e-05/1.14, allocations: 63.94 kB / 1.234 GB, free: 5.211 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001186/1.141, allocations: 0.5498 MB / 1.234 GB, free: 4.648 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.802e-05/1.141, allocations: 7.922 kB / 1.234 GB, free: 4.641 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.038e-05/1.141, allocations: 23.94 kB / 1.234 GB, free: 4.617 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.774e-05/1.141, allocations: 16 kB / 1.234 GB, free: 4.602 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008135/1.142, allocations: 419.8 kB / 1.235 GB, free: 4.191 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002438/1.144, allocations: 1.492 MB / 1.236 GB, free: 2.645 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007637/1.145, allocations: 413 kB / 1.236 GB, free: 2.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003473/1.146, allocations: 202.1 kB / 1.237 GB, free: 2.031 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 3.83e-05/1.146, allocations: 4.438 kB / 1.237 GB, free: 2.027 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005673/1.146, allocations: 267.8 kB / 1.237 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=55): time 2.695e-06/1.146, allocations: 0 / 1.237 GB, free: 1.754 MB / 0.9512 GB Notification: Performance of matching and sorting (n=55): time 0.001146/1.147, allocations: 0.5493 MB / 1.237 GB, free: 1.199 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.782e-05/1.147, allocations: 93.64 kB / 1.238 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004907/1.148, allocations: 392.1 kB / 1.238 GB, free: 0.6992 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 6.8e-05/1.148, allocations: 53.7 kB / 1.238 GB, free: 0.6406 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002756/1.148, allocations: 233 kB / 1.238 GB, free: 420 kB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001375/1.148, allocations: 142.1 kB / 1.238 GB, free: 276 kB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002138/1.149, allocations: 146.3 kB / 1.238 GB, free: 124 kB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0002061/1.149, allocations: 358.8 kB / 1.239 GB, free: 15.76 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003429/1.149, allocations: 165.2 kB / 1.239 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005125/1.15, allocations: 293.3 kB / 1.239 GB, free: 15.28 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006194/1.15, allocations: 362.2 kB / 1.24 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/1.15, allocations: 3.938 kB / 1.24 GB, free: 14.89 MB / 0.9669 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009429/1.151, allocations: 0.5025 MB / 1.24 GB, free: 14.39 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/1.151, allocations: 13.56 kB / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.376e-06/1.151, allocations: 0 / 1.24 GB, free: 14.38 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.183e-05/1.151, allocations: 4 kB / 1.24 GB, free: 14.37 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002903/1.152, allocations: 75.83 kB / 1.24 GB, free: 14.3 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.763e-05/1.152, allocations: 4 kB / 1.24 GB, free: 14.29 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000299/1.152, allocations: 59.5 kB / 1.24 GB, free: 14.23 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.342e-05/1.152, allocations: 24 kB / 1.24 GB, free: 14.21 MB / 0.9669 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.0003231/1.152, allocations: 249.7 kB / 1.24 GB, free: 13.96 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.422e-05/1.153, allocations: 43.44 kB / 1.241 GB, free: 13.91 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009197/1.153, allocations: 496.1 kB / 1.241 GB, free: 13.42 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.658e-06/1.154, allocations: 3.984 kB / 1.241 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.595e-06/1.154, allocations: 0 / 1.241 GB, free: 13.41 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001457/1.154, allocations: 124.5 kB / 1.241 GB, free: 13.27 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.205e-05/1.154, allocations: 16 kB / 1.241 GB, free: 13.26 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/1.154, allocations: 27.97 kB / 1.241 GB, free: 13.23 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001669/1.154, allocations: 72.42 kB / 1.241 GB, free: 13.16 MB / 0.9669 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009885/1.155, allocations: 0.5533 MB / 1.242 GB, free: 12.6 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008619/1.156, allocations: 0.6235 MB / 1.242 GB, free: 11.96 MB / 0.9669 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003569/1.156, allocations: 228.3 kB / 1.243 GB, free: 11.74 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0002757/1.157, allocations: 251 kB / 1.243 GB, free: 11.5 MB / 0.9669 GB Notification: Performance of Backend: time 8.01e-07/1.157, allocations: 4 kB / 1.243 GB, free: 11.49 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.002218/1.159, allocations: 0.7117 MB / 1.244 GB, free: 10.93 MB / 0.9669 GB Notification: Performance of SimCode: time 0.002119/1.161, allocations: 1.239 MB / 1.245 GB, free: 9.645 MB / 0.9669 GB Notification: Performance of Templates: time 0.01764/1.179, allocations: 7.284 MB / 1.252 GB, free: 2.418 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