Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.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.001165/0.001165, allocations: 96.38 kB / 19.7 MB, free: 448 kB / 13.93 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.001359/0.001359, allocations: 216.7 kB / 23 MB, free: 2.984 MB / 13.93 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.011/1.011, allocations: 230.6 MB / 256.8 MB, free: 9.613 MB / 202.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.377/2.377, allocations: 0.5569 GB / 0.8628 GB, free: 29.39 MB / 0.6667 GB " [Timeout remaining time 177] Using package Buildings with version 14.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaDev.uPla|enaDev.uChiWatPum.1.|enaDev.uConWatPum.1.|enaDev.uIni|enaDev.uChiSta|enaDev.yEnaPlaPro|enaDev.yChiWatIsoVal|enaDev.yConWatIsoVal|enaDev.yLeaPriChiPum|enaDev.yLeaConPum|enaDev.yLeaChi",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaDev.uPla|enaDev.uChiWatPum.1.|enaDev.uConWatPum.1.|enaDev.uIni|enaDev.uChiSta|enaDev.yEnaPlaPro|enaDev.yChiWatIsoVal|enaDev.yConWatIsoVal|enaDev.yLeaPriChiPum|enaDev.yLeaConPum|enaDev.yLeaChi",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 0.0008935/0.0008935, allocations: 71.64 kB / 1.255 GB, free: 22.37 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3486/0.3495, allocations: 193.6 MB / 1.444 GB, free: 9.168 MB / 1.12 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices): time 0.001898/0.3514, allocations: 1.015 MB / 1.445 GB, free: 8.152 MB / 1.12 GB Notification: Performance of NFInst.instExpressions: time 0.00134/0.3527, allocations: 1.436 MB / 1.447 GB, free: 6.703 MB / 1.12 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.994e-05/0.3528, allocations: 4 kB / 1.447 GB, free: 6.699 MB / 1.12 GB Notification: Performance of NFTyping.typeComponents: time 0.0001541/0.353, allocations: 39.59 kB / 1.447 GB, free: 6.66 MB / 1.12 GB Notification: Performance of NFTyping.typeBindings: time 4.052e-05/0.353, allocations: 27.72 kB / 1.447 GB, free: 6.633 MB / 1.12 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007004/0.3537, allocations: 382.1 kB / 1.447 GB, free: 6.27 MB / 1.12 GB Notification: Performance of NFFlatten.flatten: time 0.0003475/0.3541, allocations: 427.9 kB / 1.448 GB, free: 5.848 MB / 1.12 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002135/0.3543, allocations: 114.7 kB / 1.448 GB, free: 5.734 MB / 1.12 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00012/0.3544, allocations: 175.6 kB / 1.448 GB, free: 5.562 MB / 1.12 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000161/0.3546, allocations: 143.4 kB / 1.448 GB, free: 5.422 MB / 1.12 GB Notification: Performance of NFPackage.collectConstants: time 4.494e-05/0.3546, allocations: 44 kB / 1.448 GB, free: 5.379 MB / 1.12 GB Notification: Performance of NFFlatten.collectFunctions: time 7.795e-05/0.3547, allocations: 55.98 kB / 1.448 GB, free: 5.324 MB / 1.12 GB Notification: Performance of NFScalarize.scalarize: time 5.669e-05/0.3547, allocations: 67.77 kB / 1.448 GB, free: 5.258 MB / 1.12 GB Notification: Performance of NFVerifyModel.verify: time 0.0001158/0.3549, allocations: 147.5 kB / 1.448 GB, free: 5.113 MB / 1.12 GB Notification: Performance of NFConvertDAE.convert: time 0.0003567/0.3552, allocations: 486.2 kB / 1.449 GB, free: 4.637 MB / 1.12 GB Notification: Performance of FrontEnd - DAE generated: time 3.917e-06/0.3552, allocations: 0 / 1.449 GB, free: 4.637 MB / 1.12 GB Notification: Performance of FrontEnd: time 1.573e-06/0.3552, allocations: 0 / 1.449 GB, free: 4.637 MB / 1.12 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.3552, allocations: 0 / 1.449 GB, free: 4.637 MB / 1.12 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0005992/0.3558, allocations: 0.5578 MB / 1.449 GB, free: 4.027 MB / 1.12 GB Notification: Performance of prepare preOptimizeDAE: time 3.484e-05/0.3559, allocations: 12.03 kB / 1.449 GB, free: 4.016 MB / 1.12 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.117e-05/0.3559, allocations: 36.75 kB / 1.449 GB, free: 3.98 MB / 1.12 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004739/0.3564, allocations: 242.7 kB / 1.45 GB, free: 3.715 MB / 1.12 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.513e-05/0.3564, allocations: 24.88 kB / 1.45 GB, free: 3.691 MB / 1.12 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.393e-05/0.3565, allocations: 44.36 kB / 1.45 GB, free: 3.648 MB / 1.12 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002671/0.3567, allocations: 216.6 kB / 1.45 GB, free: 3.43 MB / 1.12 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.097e-05/0.3568, allocations: 7.875 kB / 1.45 GB, free: 3.422 MB / 1.12 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.953e-05/0.3568, allocations: 19.98 kB / 1.45 GB, free: 3.402 MB / 1.12 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.873e-06/0.3568, allocations: 4 kB / 1.45 GB, free: 3.398 MB / 1.12 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001861/0.357, allocations: 149.9 kB / 1.45 GB, free: 3.254 MB / 1.12 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007692/0.3577, allocations: 0.7681 MB / 1.451 GB, free: 2.422 MB / 1.12 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001843/0.3579, allocations: 74.62 kB / 1.451 GB, free: 2.34 MB / 1.12 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.71e-05/0.358, allocations: 24.84 kB / 1.451 GB, free: 2.312 MB / 1.12 GB Notification: Performance of preOpt evalFunc (simulation): time 1.19e-05/0.358, allocations: 4 kB / 1.451 GB, free: 2.309 MB / 1.12 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000176/0.3581, allocations: 129.1 kB / 1.451 GB, free: 2.172 MB / 1.12 GB Notification: Performance of pre-optimization done (n=17): time 1.553e-06/0.3581, allocations: 0 / 1.451 GB, free: 2.172 MB / 1.12 GB Notification: Performance of matching and sorting (n=17): time 0.0002975/0.3584, allocations: 193.6 kB / 1.451 GB, free: 1.977 MB / 1.12 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.15e-05/0.3585, allocations: 63.39 kB / 1.451 GB, free: 1.902 MB / 1.12 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001296/0.3586, allocations: 214 kB / 1.452 GB, free: 1.684 MB / 1.12 GB Notification: Performance of collectPreVariables (initialization): time 3.31e-05/0.3586, allocations: 33.7 kB / 1.452 GB, free: 1.645 MB / 1.12 GB Notification: Performance of collectInitialEqns (initialization): time 9.538e-05/0.3587, allocations: 172.6 kB / 1.452 GB, free: 1.473 MB / 1.12 GB Notification: Performance of collectInitialBindings (initialization): time 2.212e-05/0.3588, allocations: 31.8 kB / 1.452 GB, free: 1.441 MB / 1.12 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.3589, allocations: 109.9 kB / 1.452 GB, free: 1.328 MB / 1.12 GB Notification: Performance of setup shared object (initialization): time 8.343e-05/0.3589, allocations: 326.8 kB / 1.452 GB, free: 1 MB / 1.12 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000184/0.3591, allocations: 193.5 kB / 1.452 GB, free: 0.7891 MB / 1.12 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002123/0.3593, allocations: 277.4 kB / 1.453 GB, free: 476 kB / 1.12 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002451/0.3596, allocations: 292.8 kB / 1.453 GB, free: 128 kB / 1.12 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.3596, allocations: 0 / 1.453 GB, free: 128 kB / 1.12 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.0005141/0.3601, allocations: 0.5211 MB / 1.453 GB, free: 15.56 MB / 1.135 GB Notification: Performance of prepare postOptimizeDAE: time 6.166e-05/0.3602, allocations: 101.1 kB / 1.454 GB, free: 15.45 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.823e-06/0.3602, allocations: 4 kB / 1.454 GB, free: 15.44 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.3602, allocations: 7.984 kB / 1.454 GB, free: 15.43 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.179e-05/0.3602, allocations: 15.94 kB / 1.454 GB, free: 15.42 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.564e-06/0.3602, allocations: 4 kB / 1.454 GB, free: 15.41 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002593/0.3605, allocations: 87.75 kB / 1.454 GB, free: 15.33 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.76e-05/0.3605, allocations: 27.98 kB / 1.454 GB, free: 15.3 MB / 1.135 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 27 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,booPul2.y,$PRE.booPul2.y,intSwi.y,booPul1.y,$PRE.booPul1.y,booPul.y,$PRE.booPul.y,enaDev.enaPro.y,$PRE.enaDev.enaPro.y,enaDev.enaPro.clr,enaDev.enaPro.u,enaDev.edg.u,$PRE.enaDev.edg.u,enaDev.yLeaChi,$whenCondition7,$whenCondition8,conInt1.y,con.y,conInt.y,enaDev.conInt.y,enaDev.intChiMod.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (27): * Single equations (assignments): 24 * Array equations: 0 * Algorithm blocks: 3 * 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.0001237/0.3607, allocations: 163.5 kB / 1.454 GB, free: 15.13 MB / 1.135 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.558e-05/0.3607, allocations: 15.91 kB / 1.454 GB, free: 15.12 MB / 1.135 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.921e-05/0.3607, allocations: 25.73 kB / 1.454 GB, free: 15.09 MB / 1.135 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.3607, allocations: 3.938 kB / 1.454 GB, free: 15.09 MB / 1.135 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.3607, allocations: 4 kB / 1.454 GB, free: 15.08 MB / 1.135 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.3607, allocations: 0 / 1.454 GB, free: 15.08 MB / 1.135 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003601/0.3611, allocations: 431.8 kB / 1.454 GB, free: 14.62 MB / 1.135 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/0.3611, allocations: 0 / 1.454 GB, free: 14.62 MB / 1.135 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.009e-05/0.3611, allocations: 15.92 kB / 1.454 GB, free: 14.61 MB / 1.135 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3611, allocations: 0 / 1.454 GB, free: 14.61 MB / 1.135 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.3611, allocations: 7.938 kB / 1.454 GB, free: 14.6 MB / 1.135 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.3611, allocations: 0 / 1.454 GB, free: 14.6 MB / 1.135 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.3611, allocations: 3.938 kB / 1.454 GB, free: 14.6 MB / 1.135 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001723/0.3613, allocations: 253.5 kB / 1.455 GB, free: 14.34 MB / 1.135 GB Notification: Performance of postOpt removeConstants (simulation): time 1.246e-05/0.3613, allocations: 15.91 kB / 1.455 GB, free: 14.32 MB / 1.135 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.3613, allocations: 0 / 1.455 GB, free: 14.32 MB / 1.135 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.031e-05/0.3614, allocations: 12 kB / 1.455 GB, free: 14.31 MB / 1.135 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.048e-05/0.3614, allocations: 15.91 kB / 1.455 GB, free: 14.29 MB / 1.135 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.474e-05/0.3614, allocations: 11.94 kB / 1.455 GB, free: 14.28 MB / 1.135 GB Notification: Performance of sorting global known variables: time 6.002e-05/0.3615, allocations: 120.2 kB / 1.455 GB, free: 14.16 MB / 1.135 GB Notification: Performance of sort global known variables: time 5e-08/0.3615, allocations: 0 / 1.455 GB, free: 14.16 MB / 1.135 GB Notification: Performance of remove unused functions: time 0.0002418/0.3617, allocations: 79.77 kB / 1.455 GB, free: 14.09 MB / 1.135 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 17 (enaDev.enaPro.clr,enaDev.enaPro.u,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDev.yLeaChi,enaDev.edg.u,enaDev.enaPro.y,booPul.y,booPul1.y,intSwi.y,booPul2.y) * Number of discrete states: 1 (enaDev.edg.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (17): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001138/0.3618, allocations: 111.7 kB / 1.455 GB, free: 13.97 MB / 1.135 GB Notification: Performance of simCode: created initialization part: time 0.0003871/0.3622, allocations: 459 kB / 1.455 GB, free: 13.46 MB / 1.135 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.3622, allocations: 0 / 1.455 GB, free: 13.46 MB / 1.135 GB Notification: Performance of simCode: created simulation system equations: time 6.612e-05/0.3623, allocations: 47.92 kB / 1.455 GB, free: 13.42 MB / 1.135 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002457/0.3625, allocations: 27.97 kB / 1.455 GB, free: 13.39 MB / 1.135 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004891/0.363, allocations: 414.9 kB / 1.456 GB, free: 12.95 MB / 1.135 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.626e-05/0.3631, allocations: 149.8 kB / 1.456 GB, free: 12.79 MB / 1.135 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.85e-05/0.3631, allocations: 19.44 kB / 1.456 GB, free: 12.77 MB / 1.135 GB Notification: Performance of SimCode: time 5.31e-07/0.3631, allocations: 0 / 1.456 GB, free: 12.77 MB / 1.135 GB Notification: Performance of Templates: time 0.003338/0.3665, allocations: 3.117 MB / 1.459 GB, free: 9.668 MB / 1.135 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices -emit_protected > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Generic_PlantEnable_Validation_EnableDevices.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices.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: 8.769051900017075]