Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.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.00139/0.00139, allocations: 72.45 kB / 19.17 MB, free: 0.7305 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.001579/0.001579, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.537/1.537, allocations: 177.1 MB / 202.8 MB, free: 5.758 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.188/3.188, allocations: 429.6 MB / 0.6726 GB, free: 4.055 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.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaLeaChiPum.u1ChiWatIsoVal.1.|enaLeaChiPum.u1ChiWatIsoVal.2.|enaLeaChiPum.uWse|enaLeaChiPum.yLea",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaLeaChiPum.u1ChiWatIsoVal.1.|enaLeaChiPum.u1ChiWatIsoVal.2.|enaLeaChiPum.uWse|enaLeaChiPum.yLea",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.795e-06/2.795e-06, allocations: 0 / 1.066 GB, free: 32.92 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.788e-05/3.068e-05, allocations: 2.281 kB / 1.066 GB, free: 32.92 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.001726/0.001757, allocations: 0.7759 MB / 1.067 GB, free: 32.44 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.001289/0.003045, allocations: 1.259 MB / 1.068 GB, free: 31.53 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.104e-05/0.003116, allocations: 6.656 kB / 1.068 GB, free: 31.53 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001253/0.003241, allocations: 15.16 kB / 1.068 GB, free: 31.52 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 3.412e-05/0.003275, allocations: 17.92 kB / 1.068 GB, free: 31.5 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006133/0.003889, allocations: 242.3 kB / 1.068 GB, free: 31.38 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0002445/0.004133, allocations: 238.3 kB / 1.069 GB, free: 31.27 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001434/0.004277, allocations: 31.89 kB / 1.069 GB, free: 31.25 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001196/0.004396, allocations: 124.7 kB / 1.069 GB, free: 31.19 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000135/0.004531, allocations: 67.64 kB / 1.069 GB, free: 31.17 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 3.615e-05/0.004567, allocations: 24.72 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 7.095e-05/0.004638, allocations: 32.27 kB / 1.069 GB, free: 31.16 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 3.693e-05/0.004675, allocations: 24.7 kB / 1.069 GB, free: 31.15 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 9.339e-05/0.004769, allocations: 68.39 kB / 1.069 GB, free: 31.12 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0002729/0.005042, allocations: 281.1 kB / 1.069 GB, free: 31.02 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.036e-06/0.005045, allocations: 0 / 1.069 GB, free: 31.02 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.272e-06/0.005046, allocations: 0 / 1.069 GB, free: 31.02 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.005051, allocations: 0 / 1.069 GB, free: 31.02 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: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005115/0.005563, allocations: 411.5 kB / 1.07 GB, free: 30.64 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.637e-05/0.005599, allocations: 8 kB / 1.07 GB, free: 30.64 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.829e-05/0.005667, allocations: 19.61 kB / 1.07 GB, free: 30.63 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002389/0.005906, allocations: 173.4 kB / 1.07 GB, free: 30.47 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.543e-05/0.005932, allocations: 5.844 kB / 1.07 GB, free: 30.47 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.46e-05/0.005976, allocations: 18.56 kB / 1.07 GB, free: 30.47 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001938/0.00617, allocations: 106.4 kB / 1.07 GB, free: 30.41 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.006181, allocations: 0 / 1.07 GB, free: 30.41 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.006194, allocations: 3.281 kB / 1.07 GB, free: 30.41 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.0062, allocations: 2.906 kB / 1.07 GB, free: 30.41 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.424e-05/0.006294, allocations: 55.36 kB / 1.07 GB, free: 30.39 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005036/0.006798, allocations: 412.5 kB / 1.07 GB, free: 30.07 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 8.793e-05/0.006886, allocations: 37.05 kB / 1.07 GB, free: 30.04 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.135e-05/0.006917, allocations: 24.97 kB / 1.07 GB, free: 30.02 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 8.616e-06/0.006925, allocations: 4 kB / 1.07 GB, free: 30.02 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001608/0.007086, allocations: 79.45 kB / 1.071 GB, free: 29.96 MB / 1.01 GB Notification: Performance of pre-optimization done (n=8): time 1.072e-06/0.007087, allocations: 0 / 1.071 GB, free: 29.96 MB / 1.01 GB Notification: Performance of matching and sorting (n=8): time 0.0002888/0.007376, allocations: 118.4 kB / 1.071 GB, free: 29.9 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.585e-05/0.007402, allocations: 54.31 kB / 1.071 GB, free: 29.84 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001015/0.007504, allocations: 160.9 kB / 1.071 GB, free: 29.71 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 2.38e-05/0.007527, allocations: 28.64 kB / 1.071 GB, free: 29.68 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 7.282e-05/0.0076, allocations: 120.4 kB / 1.071 GB, free: 29.57 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.128e-05/0.007611, allocations: 10.81 kB / 1.071 GB, free: 29.56 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.112e-05/0.007703, allocations: 68.39 kB / 1.071 GB, free: 29.52 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 4.671e-05/0.007749, allocations: 321 kB / 1.071 GB, free: 29.21 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001442/0.007893, allocations: 126.5 kB / 1.071 GB, free: 29.12 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001569/0.00805, allocations: 178.2 kB / 1.072 GB, free: 28.97 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000164/0.008214, allocations: 180.3 kB / 1.072 GB, free: 28.81 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.008217, allocations: 4 kB / 1.072 GB, free: 28.81 MB / 1.01 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0004512/0.008668, allocations: 345 kB / 1.072 GB, free: 28.58 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 3.725e-05/0.008705, allocations: 67.44 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.008711, allocations: 2.781 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.724e-05/0.008728, allocations: 2.969 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.351e-05/0.008751, allocations: 5.906 kB / 1.072 GB, free: 28.52 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.008758, allocations: 6.5 kB / 1.072 GB, free: 28.51 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003279/0.009086, allocations: 64.31 kB / 1.072 GB, free: 28.5 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.074e-05/0.009117, allocations: 13.97 kB / 1.072 GB, free: 28.5 MB / 1.01 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,isoVal2.y,$PRE.isoVal2.y,isoVal1.y,$PRE.isoVal1.y,enaLeaChiPum.anyIsoVal.uTemp[2],enaLeaChiPum.yLea,enaLeaChiPum.con1.y,enaLeaChiPum.con.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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 9.178e-05/0.009209, allocations: 135 kB / 1.072 GB, free: 28.37 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.345e-05/0.009222, allocations: 10.55 kB / 1.072 GB, free: 28.36 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.226e-05/0.009254, allocations: 14.95 kB / 1.072 GB, free: 28.36 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.009257, allocations: 2.594 kB / 1.072 GB, free: 28.36 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.958e-06/0.009261, allocations: 0 / 1.072 GB, free: 28.36 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.988e-06/0.009265, allocations: 7.938 kB / 1.072 GB, free: 28.35 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.292e-05/0.009358, allocations: 137.2 kB / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.009359, allocations: 0 / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.01e-05/0.009369, allocations: 2.688 kB / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.723e-06/0.009371, allocations: 0 / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.686e-06/0.009379, allocations: 2.719 kB / 1.073 GB, free: 28.21 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.009381, allocations: 7.938 kB / 1.073 GB, free: 28.2 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.009383, allocations: 3.469 kB / 1.073 GB, free: 28.2 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001632/0.009546, allocations: 125.4 kB / 1.073 GB, free: 28.11 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.77e-05/0.009564, allocations: 6.766 kB / 1.073 GB, free: 28.11 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.983e-05/0.009584, allocations: 6.469 kB / 1.073 GB, free: 28.1 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.261e-05/0.009607, allocations: 7.422 kB / 1.073 GB, free: 28.1 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.125e-05/0.009648, allocations: 6.094 kB / 1.073 GB, free: 28.1 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.813e-06/0.009655, allocations: 2.594 kB / 1.073 GB, free: 28.1 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.375e-05/0.009698, allocations: 109 kB / 1.073 GB, free: 28.01 MB / 1.01 GB Notification: Performance of sort global known variables: time 6.1e-08/0.009698, allocations: 0 / 1.073 GB, free: 28.01 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002508/0.009949, allocations: 46.2 kB / 1.073 GB, free: 28 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: 8 ($whenCondition3,$whenCondition4,$whenCondition1,$whenCondition2,enaLeaChiPum.yLea,enaLeaChiPum.anyIsoVal.uTemp[2],isoVal1.y,isoVal2.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001346/0.01008, allocations: 101.3 kB / 1.073 GB, free: 27.91 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0003203/0.0104, allocations: 297.1 kB / 1.073 GB, free: 27.68 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.01041, allocations: 0 / 1.073 GB, free: 27.68 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.657e-05/0.01045, allocations: 27.52 kB / 1.073 GB, free: 27.67 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002631/0.01072, allocations: 21.03 kB / 1.073 GB, free: 27.66 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/0.0111, allocations: 225.7 kB / 1.074 GB, free: 27.49 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.61e-05/0.01116, allocations: 93.8 kB / 1.074 GB, free: 27.41 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 3.436e-05/0.01119, allocations: 9.938 kB / 1.074 GB, free: 27.41 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.281e-05/0.01122, allocations: 17.31 kB / 1.074 GB, free: 27.4 MB / 1.01 GB Notification: Performance of SimCode: time 5.01e-07/0.01122, allocations: 0 / 1.074 GB, free: 27.4 MB / 1.01 GB Notification: Performance of Templates: time 0.004947/0.01616, allocations: 2.194 MB / 1.076 GB, free: 27.17 MB / 1.01 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Pumps_ChilledWater_Subsequences_Validation_EnableLead_headered.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.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.2428889599978]