Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 107.8 kB / 19.71 MB, free: 2.145 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001509/0.001509, allocations: 218.6 kB / 23.01 MB, free: 4.969 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.528/1.528, allocations: 230.6 MB / 256.8 MB, free: 7.809 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.303/3.303, allocations: 0.49 GB / 0.7959 GB, free: 35.55 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage") translateModel(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|chiStaCon.on|chiStaCon.plr.y|chiStaCon.y.1.|chiStaCon.y.2.",fileNamePrefix="Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00215/0.00215, allocations: 65.53 kB / 1.155 GB, free: 25.2 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 176.1 MB / 1.327 GB, free: 0.9922 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage): time 0.004498/0.3572, allocations: 2.631 MB / 1.33 GB, free: 14.35 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003061/0.3603, allocations: 1.598 MB / 1.331 GB, free: 12.74 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002837/0.3606, allocations: 11.94 kB / 1.331 GB, free: 12.73 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.0007901/0.3614, allocations: 200 kB / 1.331 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0005558/0.3619, allocations: 206.9 kB / 1.332 GB, free: 12.33 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008789/0.3628, allocations: 414.7 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009529/0.3638, allocations: 0.8238 MB / 1.333 GB, free: 11.1 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0006573/0.3644, allocations: 450.3 kB / 1.333 GB, free: 10.64 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004437/0.3649, allocations: 311 kB / 1.334 GB, free: 10.34 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003657/0.3652, allocations: 310.7 kB / 1.334 GB, free: 10.04 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.3653, allocations: 76 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002572/0.3656, allocations: 136 kB / 1.334 GB, free: 9.828 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001926/0.3658, allocations: 187.5 kB / 1.334 GB, free: 9.645 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002436/0.366, allocations: 242.8 kB / 1.334 GB, free: 9.406 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001049/0.3671, allocations: 0.9029 MB / 1.335 GB, free: 8.5 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3671, allocations: 3.938 kB / 1.335 GB, free: 8.496 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3671, allocations: 4 kB / 1.335 GB, free: 8.492 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.548e-05/0.3671, allocations: 3.938 kB / 1.335 GB, free: 8.488 MB / 1.029 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.001648/0.3687, allocations: 0.8515 MB / 1.336 GB, free: 7.602 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.087e-05/0.3688, allocations: 8.031 kB / 1.336 GB, free: 7.594 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005113/0.3693, allocations: 96.52 kB / 1.336 GB, free: 7.5 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006097/0.3699, allocations: 370 kB / 1.337 GB, free: 7.113 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.937e-05/0.37, allocations: 45.69 kB / 1.337 GB, free: 7.066 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.42e-05/0.3701, allocations: 60.12 kB / 1.337 GB, free: 7.008 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001042/0.3711, allocations: 0.545 MB / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.631e-05/0.3711, allocations: 0 / 1.337 GB, free: 6.449 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.909e-05/0.3712, allocations: 27.98 kB / 1.337 GB, free: 6.422 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.641e-05/0.3712, allocations: 12 kB / 1.337 GB, free: 6.41 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008186/0.372, allocations: 423.8 kB / 1.338 GB, free: 6 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002119/0.3741, allocations: 1.204 MB / 1.339 GB, free: 4.754 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007623/0.3749, allocations: 378.3 kB / 1.339 GB, free: 4.379 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003616/0.3753, allocations: 183.2 kB / 1.339 GB, free: 4.195 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.601e-05/0.3753, allocations: 12.38 kB / 1.339 GB, free: 4.184 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000531/0.3758, allocations: 262.1 kB / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of pre-optimization done (n=55): time 2.364e-06/0.3758, allocations: 0 / 1.34 GB, free: 3.914 MB / 1.029 GB Notification: Performance of matching and sorting (n=55): time 0.00124/0.3771, allocations: 0.5554 MB / 1.34 GB, free: 3.352 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.3771, allocations: 63.89 kB / 1.34 GB, free: 3.277 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004705/0.3776, allocations: 376.3 kB / 1.341 GB, free: 2.906 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 6.832e-05/0.3777, allocations: 49.7 kB / 1.341 GB, free: 2.852 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002315/0.3779, allocations: 245.4 kB / 1.341 GB, free: 2.609 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001436/0.378, allocations: 158.8 kB / 1.341 GB, free: 2.453 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002073/0.3782, allocations: 142.3 kB / 1.341 GB, free: 2.309 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001795/0.3784, allocations: 354.8 kB / 1.342 GB, free: 1.953 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003539/0.3788, allocations: 177.2 kB / 1.342 GB, free: 1.777 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004569/0.3792, allocations: 328 kB / 1.342 GB, free: 1.41 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006148/0.3798, allocations: 363.8 kB / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.697e-06/0.3799, allocations: 0 / 1.342 GB, free: 1.031 MB / 1.029 GB Notification: Performance of matching and sorting (n=79) (initialization): time 0.0009724/0.3808, allocations: 0.5125 MB / 1.343 GB, free: 0.5117 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.091e-05/0.3808, allocations: 8.25 kB / 1.343 GB, free: 0.5039 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.065e-06/0.3809, allocations: 4 kB / 1.343 GB, free: 0.5 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.243e-05/0.3809, allocations: 8 kB / 1.343 GB, free: 0.4922 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003088/0.3812, allocations: 67.83 kB / 1.343 GB, free: 436 kB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.169e-05/0.3812, allocations: 4 kB / 1.343 GB, free: 432 kB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002659/0.3815, allocations: 55.7 kB / 1.343 GB, free: 376 kB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.255e-05/0.3815, allocations: 24 kB / 1.343 GB, free: 352 kB / 1.029 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.0003122/0.3818, allocations: 241.6 kB / 1.343 GB, free: 100 kB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.028e-05/0.3819, allocations: 55.58 kB / 1.343 GB, free: 44 kB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000904/0.3828, allocations: 453.9 kB / 1.344 GB, free: 15.59 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.706e-06/0.3828, allocations: 3.984 kB / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.134e-06/0.3828, allocations: 0 / 1.344 GB, free: 15.58 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 6.789e-05/0.3829, allocations: 35.7 kB / 1.344 GB, free: 15.55 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.681e-05/0.3829, allocations: 15.98 kB / 1.344 GB, free: 15.53 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001837/0.3831, allocations: 23.98 kB / 1.344 GB, free: 15.51 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000175/0.3833, allocations: 80.39 kB / 1.344 GB, free: 15.43 MB / 1.045 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0009573/0.3843, allocations: 0.5205 MB / 1.344 GB, free: 14.91 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008631/0.3851, allocations: 0.5985 MB / 1.345 GB, free: 14.29 MB / 1.045 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0003584/0.3855, allocations: 195.9 kB / 1.345 GB, free: 14.1 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0002685/0.3858, allocations: 239.1 kB / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of Backend: time 4.21e-07/0.3858, allocations: 0 / 1.345 GB, free: 13.87 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.002603/0.3884, allocations: 0.7051 MB / 1.346 GB, free: 13.34 MB / 1.045 GB Notification: Performance of SimCode: time 0.001636/0.39, allocations: 1.231 MB / 1.347 GB, free: 12.06 MB / 1.045 GB Notification: Performance of Templates: time 0.01583/0.4058, allocations: 7.605 MB / 1.355 GB, free: 4.562 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.makefile [Timeout 300] (rm -f Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; mkfifo Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe ; head -c 1048576 < Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe >> ../files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.sim & ./Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_DHC_Plants_Cooling_Controls_Validation_ChillerStage.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.DHC.Plants.Cooling.Controls.Validation.ChillerStage.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.49453145100415]