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.001361/0.001361, allocations: 93.06 kB / 19.65 MB, free: 280 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.001499/0.001499, allocations: 173 kB / 23.02 MB, free: 1.547 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 0.9894/0.9894, allocations: 177.1 MB / 203.4 MB, free: 5.562 MB / 186.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 1.984/1.984, allocations: 429.5 MB / 0.6732 GB, free: 4.012 MB / 0.6355 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.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|enaLeaChiPum.u1ChiWatIsoVal.[0-9,]+.|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.[0-9,]+.|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.414e-06/2.414e-06, allocations: 0 / 0.8783 GB, free: 6.219 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.892e-05/2.133e-05, allocations: 2.969 kB / 0.8783 GB, free: 6.215 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.001373/0.001394, allocations: 0.8193 MB / 0.8791 GB, free: 5.414 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001463/0.002857, allocations: 1.283 MB / 0.8803 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.736e-05/0.002924, allocations: 4.531 kB / 0.8803 GB, free: 4.117 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001278/0.003052, allocations: 17.94 kB / 0.8803 GB, free: 4.102 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.495e-05/0.003087, allocations: 13.62 kB / 0.8803 GB, free: 4.09 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005709/0.003658, allocations: 237.5 kB / 0.8806 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002753/0.003933, allocations: 231.5 kB / 0.8808 GB, free: 3.633 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001478/0.004081, allocations: 35.08 kB / 0.8808 GB, free: 3.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.004205, allocations: 131.8 kB / 0.8809 GB, free: 3.461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001123/0.004318, allocations: 71.75 kB / 0.881 GB, free: 3.391 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.258e-05/0.00435, allocations: 20.66 kB / 0.881 GB, free: 3.371 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.882e-05/0.004419, allocations: 32 kB / 0.8811 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.029e-05/0.004459, allocations: 28.88 kB / 0.8811 GB, free: 3.312 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 7.435e-05/0.004534, allocations: 67.88 kB / 0.8812 GB, free: 3.246 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002121/0.004746, allocations: 180.2 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.004748, allocations: 0 / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.41e-07/0.004748, allocations: 3.531 kB / 0.8813 GB, free: 3.07 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 4.568e-06/0.004753, allocations: 0 / 0.8813 GB, free: 3.07 MB / 0.8386 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.0004498/0.005203, allocations: 0.4997 MB / 0.8818 GB, free: 2.523 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.415e-05/0.005237, allocations: 8.031 kB / 0.8818 GB, free: 2.516 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.957e-05/0.005297, allocations: 20.89 kB / 0.8819 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001761/0.005473, allocations: 174.9 kB / 0.882 GB, free: 2.301 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.078e-05/0.005493, allocations: 12.5 kB / 0.882 GB, free: 2.289 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.424e-05/0.005518, allocations: 16.38 kB / 0.882 GB, free: 2.273 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001368/0.005654, allocations: 91.23 kB / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005661, allocations: 0 / 0.8821 GB, free: 2.176 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.461e-05/0.005676, allocations: 8.609 kB / 0.8821 GB, free: 2.168 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.394e-06/0.005683, allocations: 4.594 kB / 0.8821 GB, free: 2.164 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.684e-05/0.00573, allocations: 20.73 kB / 0.8822 GB, free: 2.145 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004671/0.006197, allocations: 467.4 kB / 0.8826 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.874e-05/0.006276, allocations: 43.88 kB / 0.8827 GB, free: 1.594 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.136e-05/0.006298, allocations: 15.77 kB / 0.8827 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.66e-06/0.006303, allocations: 1.531 kB / 0.8827 GB, free: 1.574 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 9.52e-05/0.006398, allocations: 81.03 kB / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.573e-06/0.0064, allocations: 0 / 0.8827 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000192/0.006592, allocations: 109.5 kB / 0.8829 GB, free: 1.367 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.006628, allocations: 59.41 kB / 0.8829 GB, free: 1.297 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.006743, allocations: 205.8 kB / 0.8831 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.295e-05/0.006766, allocations: 29.7 kB / 0.8831 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.861e-05/0.006845, allocations: 163.1 kB / 0.8833 GB, free: 0.875 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.165e-05/0.006856, allocations: 11.91 kB / 0.8833 GB, free: 0.8633 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.366e-05/0.00693, allocations: 67.3 kB / 0.8834 GB, free: 0.7891 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.007049, allocations: 0.4961 MB / 0.8838 GB, free: 288 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001106/0.007159, allocations: 111.4 kB / 0.884 GB, free: 164 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001374/0.007297, allocations: 181.1 kB / 0.8841 GB, free: 15.94 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001459/0.007443, allocations: 197 kB / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/0.007445, allocations: 0 / 0.8843 GB, free: 15.71 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003163/0.007762, allocations: 336.2 kB / 0.8846 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.808e-05/0.0078, allocations: 67.39 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.007805, allocations: 4.25 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.334e-05/0.007819, allocations: 8 kB / 0.8847 GB, free: 15.26 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.795e-05/0.007837, allocations: 4 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/0.007845, allocations: 7.938 kB / 0.8847 GB, free: 15.25 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001678/0.008013, allocations: 43.84 kB / 0.8848 GB, free: 15.2 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.23e-05/0.008035, allocations: 23.92 kB / 0.8848 GB, free: 15.18 MB / 0.8542 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 8.528e-05/0.00812, allocations: 164.6 kB / 0.8849 GB, free: 15.01 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.186e-05/0.008132, allocations: 11.95 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.673e-05/0.008159, allocations: 20.75 kB / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.264e-06/0.008161, allocations: 0 / 0.885 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.148e-06/0.008165, allocations: 4 kB / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008168, allocations: 0 / 0.885 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.556e-05/0.008264, allocations: 152.5 kB / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.008265, allocations: 0 / 0.8851 GB, free: 14.78 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.484e-06/0.008272, allocations: 11.94 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.008274, allocations: 0 / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.817e-06/0.008283, allocations: 3.984 kB / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-06/0.008284, allocations: 0 / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.008284, allocations: 0 / 0.8851 GB, free: 14.77 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001096/0.008394, allocations: 128.6 kB / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.037e-05/0.008404, allocations: 11.95 kB / 0.8853 GB, free: 14.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.276e-05/0.008417, allocations: 4 kB / 0.8853 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.085e-05/0.008428, allocations: 0 / 0.8853 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.174e-05/0.00846, allocations: 3.984 kB / 0.8853 GB, free: 14.6 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.38e-06/0.008465, allocations: 4 kB / 0.8853 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.567e-05/0.008521, allocations: 145.5 kB / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of sort global known variables: time 7.1e-08/0.008521, allocations: 0 / 0.8854 GB, free: 14.45 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001719/0.008693, allocations: 39.94 kB / 0.8855 GB, free: 14.41 MB / 0.8542 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.0001103/0.008803, allocations: 123.1 kB / 0.8856 GB, free: 14.29 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002497/0.009053, allocations: 289.8 kB / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.009054, allocations: 0 / 0.8859 GB, free: 13.96 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.519e-05/0.00909, allocations: 31.67 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001661/0.009256, allocations: 23.91 kB / 0.8859 GB, free: 13.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.009583, allocations: 218.7 kB / 0.8861 GB, free: 13.66 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.394e-05/0.009617, allocations: 67.34 kB / 0.8862 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.896e-05/0.009646, allocations: 8.484 kB / 0.8862 GB, free: 13.57 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.101e-05/0.009667, allocations: 16.5 kB / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of SimCode: time 6.01e-07/0.009667, allocations: 0 / 0.8862 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of Templates: time 0.004298/0.01397, allocations: 2.408 MB / 0.8886 GB, free: 11.25 MB / 0.8542 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=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.242697931826115]