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.001518/0.001518, allocations: 72.45 kB / 19.16 MB, free: 0.7266 MB / 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.001999/0.001999, allocations: 169.9 kB / 22.46 MB, free: 2.082 MB / 18.57 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: 177.1 MB / 202.8 MB, free: 5.746 MB / 186.7 MB " [Timeout remaining time 178] 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 3.182/3.182, allocations: 429.6 MB / 0.6726 GB, free: 4.027 MB / 0.6355 GB " [Timeout remaining time 176] 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 3.066e-06/3.066e-06, allocations: 0 / 1.066 GB, free: 32.87 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.785e-05/3.092e-05, allocations: 6.219 kB / 1.066 GB, free: 32.86 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Generic.PlantEnable.Validation.EnableDevices): time 0.001972/0.002003, allocations: 1.019 MB / 1.067 GB, free: 32.22 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001488/0.003491, allocations: 1.445 MB / 1.068 GB, free: 31.18 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001085/0.0036, allocations: 6.969 kB / 1.068 GB, free: 31.17 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.003756, allocations: 33.22 kB / 1.069 GB, free: 31.15 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.003813, allocations: 29.81 kB / 1.069 GB, free: 31.12 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008354/0.004648, allocations: 384.5 kB / 1.069 GB, free: 30.93 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0003742/0.005022, allocations: 430.8 kB / 1.069 GB, free: 30.73 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002609/0.005283, allocations: 112.6 kB / 1.069 GB, free: 30.69 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000223/0.005506, allocations: 242.1 kB / 1.07 GB, free: 30.57 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001981/0.005704, allocations: 135.3 kB / 1.07 GB, free: 30.52 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 6.287e-05/0.005767, allocations: 42.91 kB / 1.07 GB, free: 30.52 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 9.486e-05/0.005862, allocations: 52.48 kB / 1.07 GB, free: 30.52 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 6.822e-05/0.00593, allocations: 68 kB / 1.07 GB, free: 30.48 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 0.0001424/0.006073, allocations: 125.8 kB / 1.07 GB, free: 30.42 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0005397/0.006612, allocations: 0.53 MB / 1.071 GB, free: 30.22 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.699e-06/0.006617, allocations: 0 / 1.071 GB, free: 30.22 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.483e-06/0.006618, allocations: 0 / 1.071 GB, free: 30.22 MB / 1.01 GB Notification: Performance of Transformations before backend: time 6.803e-06/0.006625, allocations: 0 / 1.071 GB, free: 30.22 MB / 1.01 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.0007441/0.007369, allocations: 0.5524 MB / 1.071 GB, free: 29.75 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.007405, allocations: 8.5 kB / 1.071 GB, free: 29.75 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001085/0.007513, allocations: 40.72 kB / 1.071 GB, free: 29.73 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006581/0.008171, allocations: 249 kB / 1.071 GB, free: 29.54 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.425e-05/0.008206, allocations: 28.05 kB / 1.071 GB, free: 29.54 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.46e-05/0.00826, allocations: 34.25 kB / 1.071 GB, free: 29.53 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003339/0.008594, allocations: 221.8 kB / 1.072 GB, free: 29.43 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.286e-05/0.008607, allocations: 192 / 1.072 GB, free: 29.43 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.067e-05/0.008628, allocations: 10.91 kB / 1.072 GB, free: 29.42 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.757e-06/0.008636, allocations: 16.22 kB / 1.072 GB, free: 29.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002168/0.008853, allocations: 141.4 kB / 1.072 GB, free: 29.37 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008855/0.009739, allocations: 0.7731 MB / 1.073 GB, free: 28.8 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002367/0.009975, allocations: 69.64 kB / 1.073 GB, free: 28.76 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.519e-05/0.01002, allocations: 29.38 kB / 1.073 GB, free: 28.74 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.162e-05/0.01003, allocations: 6.75 kB / 1.073 GB, free: 28.73 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002532/0.01029, allocations: 125.7 kB / 1.073 GB, free: 28.66 MB / 1.01 GB Notification: Performance of pre-optimization done (n=17): time 1.283e-06/0.01029, allocations: 0 / 1.073 GB, free: 28.66 MB / 1.01 GB Notification: Performance of matching and sorting (n=17): time 0.0003955/0.01068, allocations: 193.3 kB / 1.073 GB, free: 28.59 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.448e-05/0.01072, allocations: 68.66 kB / 1.073 GB, free: 28.52 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001522/0.01087, allocations: 204.8 kB / 1.073 GB, free: 28.37 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 3.423e-05/0.0109, allocations: 35.48 kB / 1.073 GB, free: 28.34 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 9.101e-05/0.01099, allocations: 164.7 kB / 1.073 GB, free: 28.19 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 2.427e-05/0.01102, allocations: 40.53 kB / 1.074 GB, free: 28.16 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001351/0.01115, allocations: 109.3 kB / 1.074 GB, free: 28.12 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.728e-05/0.01121, allocations: 332.4 kB / 1.074 GB, free: 27.79 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000233/0.01144, allocations: 190.7 kB / 1.074 GB, free: 27.66 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002396/0.01168, allocations: 273.8 kB / 1.074 GB, free: 27.43 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002677/0.01195, allocations: 303.5 kB / 1.075 GB, free: 27.16 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.906e-06/0.01195, allocations: 0 / 1.075 GB, free: 27.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=33) (initialization): time 0.000589/0.01254, allocations: 0.5196 MB / 1.075 GB, free: 26.83 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 4.636e-05/0.01259, allocations: 95.97 kB / 1.075 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.0126, allocations: 2.75 kB / 1.075 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.813e-05/0.01261, allocations: 7.219 kB / 1.075 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.622e-05/0.01267, allocations: 18.59 kB / 1.075 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.576e-06/0.01268, allocations: 2.906 kB / 1.075 GB, free: 26.73 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004373/0.01312, allocations: 98 kB / 1.075 GB, free: 26.7 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.015e-05/0.01316, allocations: 25.86 kB / 1.075 GB, free: 26.7 MB / 1.01 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.ecoMod.y,$PRE.enaDev.ecoMod.y,enaDev.ecoMod.clr,enaDev.ecoMod.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.0001415/0.0133, allocations: 165.6 kB / 1.076 GB, free: 26.56 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.183e-05/0.01332, allocations: 13.44 kB / 1.076 GB, free: 26.55 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.01336, allocations: 16.53 kB / 1.076 GB, free: 26.54 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.347e-06/0.01336, allocations: 2.844 kB / 1.076 GB, free: 26.54 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.01337, allocations: 0 / 1.076 GB, free: 26.54 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.579e-06/0.01337, allocations: 3.281 kB / 1.076 GB, free: 26.54 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004192/0.01379, allocations: 436.6 kB / 1.076 GB, free: 26.22 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.01379, allocations: 0 / 1.076 GB, free: 26.22 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.747e-05/0.01382, allocations: 11 kB / 1.076 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.385e-06/0.01382, allocations: 2.781 kB / 1.076 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.216e-05/0.01384, allocations: 6.141 kB / 1.076 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.01384, allocations: 3.938 kB / 1.076 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.01384, allocations: 0 / 1.076 GB, free: 26.21 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.01403, allocations: 254.7 kB / 1.076 GB, free: 26.04 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.802e-05/0.01404, allocations: 10.81 kB / 1.076 GB, free: 26.03 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.359e-05/0.01407, allocations: 13.77 kB / 1.076 GB, free: 26.02 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.321e-05/0.01413, allocations: 2.719 kB / 1.076 GB, free: 26.02 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.986e-05/0.01419, allocations: 20.41 kB / 1.076 GB, free: 26.01 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.637e-05/0.01421, allocations: 10.81 kB / 1.076 GB, free: 26 MB / 1.01 GB Notification: Performance of sorting global known variables: time 5.635e-05/0.01426, allocations: 116.7 kB / 1.076 GB, free: 25.92 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.01426, allocations: 0 / 1.076 GB, free: 25.92 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0003254/0.01459, allocations: 78.5 kB / 1.077 GB, free: 25.9 MB / 1.01 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.ecoMod.clr,enaDev.ecoMod.u,$whenCondition8,$whenCondition7,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaDev.yLeaChi,enaDev.edg.u,enaDev.ecoMod.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.0001452/0.01473, allocations: 120.4 kB / 1.077 GB, free: 25.8 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0004442/0.01518, allocations: 445.8 kB / 1.077 GB, free: 25.45 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.01518, allocations: 4.062 kB / 1.077 GB, free: 25.45 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 7.455e-05/0.01525, allocations: 54.97 kB / 1.077 GB, free: 25.43 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003432/0.0156, allocations: 29.39 kB / 1.077 GB, free: 25.42 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005637/0.01616, allocations: 374.6 kB / 1.078 GB, free: 25.18 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.823e-05/0.01626, allocations: 142.1 kB / 1.078 GB, free: 25.09 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 5.562e-05/0.01632, allocations: 15.98 kB / 1.078 GB, free: 25.09 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.336e-05/0.01635, allocations: 27.27 kB / 1.078 GB, free: 25.07 MB / 1.01 GB Notification: Performance of SimCode: time 2.81e-07/0.01635, allocations: 0 / 1.078 GB, free: 25.07 MB / 1.01 GB Notification: Performance of Templates: time 0.006145/0.02249, allocations: 3.294 MB / 1.081 GB, free: 24.69 MB / 1.01 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 -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > 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: 9.153446882002754]