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.002195/0.002195, allocations: 85.27 kB / 19.43 MB, free: 1.98 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.00285/0.00285, allocations: 168.2 kB / 22.75 MB, free: 4.77 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.534/1.534, allocations: 177.1 MB / 203.1 MB, free: 9.051 MB / 190.1 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.224/3.224, allocations: 428.5 MB / 0.672 GB, free: 9.609 MB / 0.6387 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 5.29e-06/5.29e-06, allocations: 4 kB / 0.8763 GB, free: 1.836 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.883e-05/3.412e-05, allocations: 2.312 kB / 0.8763 GB, free: 1.832 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.001968/0.002002, allocations: 0.7778 MB / 0.8771 GB, free: 1.07 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00183/0.003832, allocations: 1.273 MB / 0.8783 GB, free: 15.79 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.939e-05/0.003902, allocations: 4 kB / 0.8783 GB, free: 15.78 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 0.0001353/0.004037, allocations: 11.81 kB / 0.8784 GB, free: 15.77 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 4.172e-05/0.004079, allocations: 20.97 kB / 0.8784 GB, free: 15.75 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006874/0.004766, allocations: 236.3 kB / 0.8786 GB, free: 15.52 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0003292/0.005095, allocations: 228.2 kB / 0.8788 GB, free: 15.3 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001614/0.005257, allocations: 42.89 kB / 0.8789 GB, free: 15.25 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001715/0.005428, allocations: 119.8 kB / 0.879 GB, free: 15.13 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.005574, allocations: 67.77 kB / 0.879 GB, free: 15.06 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 5.214e-05/0.005626, allocations: 24.75 kB / 0.8791 GB, free: 15.04 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 9.331e-05/0.00572, allocations: 39.97 kB / 0.8791 GB, free: 15 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 4.084e-05/0.00576, allocations: 20.8 kB / 0.8791 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 0.0001183/0.005879, allocations: 71.81 kB / 0.8792 GB, free: 14.91 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0003755/0.006254, allocations: 280.3 kB / 0.8795 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 3.246e-06/0.006257, allocations: 0 / 0.8795 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of FrontEnd: time 8.61e-07/0.006258, allocations: 0 / 0.8795 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.769e-06/0.006263, allocations: 1.094 kB / 0.8795 GB, free: 14.64 MB / 0.8419 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.0006627/0.006926, allocations: 413.4 kB / 0.8799 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.634e-05/0.006962, allocations: 8.031 kB / 0.8799 GB, free: 14.18 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.302e-05/0.007055, allocations: 25.92 kB / 0.8799 GB, free: 14.16 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.007349, allocations: 165.8 kB / 0.88 GB, free: 13.97 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.637e-05/0.007376, allocations: 12.56 kB / 0.8801 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.602e-05/0.007422, allocations: 16.38 kB / 0.8801 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002232/0.007645, allocations: 104.4 kB / 0.8802 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.666e-06/0.007654, allocations: 3.938 kB / 0.8802 GB, free: 13.84 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.637e-05/0.00767, allocations: 4 kB / 0.8802 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.246e-06/0.007678, allocations: 4 kB / 0.8802 GB, free: 13.83 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001266/0.007805, allocations: 51.97 kB / 0.8802 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006914/0.008496, allocations: 411.4 kB / 0.8806 GB, free: 13.34 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001012/0.008597, allocations: 38.56 kB / 0.8807 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.002e-05/0.008638, allocations: 20.94 kB / 0.8807 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 1.105e-05/0.008649, allocations: 4 kB / 0.8807 GB, free: 13.27 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001966/0.008845, allocations: 91.3 kB / 0.8808 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=8): time 1.442e-06/0.008847, allocations: 0 / 0.8808 GB, free: 13.16 MB / 0.8419 GB Notification: Performance of matching and sorting (n=8): time 0.0002954/0.009142, allocations: 121.6 kB / 0.8809 GB, free: 13.04 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.741e-05/0.009189, allocations: 51.41 kB / 0.8809 GB, free: 12.98 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001467/0.009336, allocations: 154.9 kB / 0.8811 GB, free: 12.82 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 3.742e-05/0.009374, allocations: 37.64 kB / 0.8811 GB, free: 12.77 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 9.712e-05/0.009471, allocations: 116.3 kB / 0.8812 GB, free: 12.65 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.324e-05/0.009494, allocations: 15.91 kB / 0.8812 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001165/0.00961, allocations: 53.69 kB / 0.8813 GB, free: 12.58 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001538/0.009764, allocations: 322.8 kB / 0.8816 GB, free: 12.25 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001978/0.009962, allocations: 127.4 kB / 0.8817 GB, free: 12.12 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002799/0.01024, allocations: 173.4 kB / 0.8819 GB, free: 11.91 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002472/0.01049, allocations: 177.3 kB / 0.8821 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.01049, allocations: 3.938 kB / 0.8821 GB, free: 11.7 MB / 0.8419 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006832/0.01117, allocations: 364.2 kB / 0.8824 GB, free: 11.32 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 6.293e-05/0.01124, allocations: 67.39 kB / 0.8825 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.01124, allocations: 0 / 0.8825 GB, free: 11.24 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.524e-05/0.01126, allocations: 4 kB / 0.8825 GB, free: 11.23 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.84e-05/0.01129, allocations: 11.92 kB / 0.8825 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.304e-06/0.01129, allocations: 3.938 kB / 0.8825 GB, free: 11.22 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003552/0.01165, allocations: 60.06 kB / 0.8826 GB, free: 11.16 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.741e-05/0.01169, allocations: 15.98 kB / 0.8826 GB, free: 11.14 MB / 0.8419 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 0.0001383/0.01182, allocations: 130.4 kB / 0.8827 GB, free: 11.01 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.751e-05/0.01185, allocations: 15.91 kB / 0.8827 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.029e-05/0.01188, allocations: 12.77 kB / 0.8827 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.01189, allocations: 4 kB / 0.8827 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/0.01189, allocations: 0 / 0.8827 GB, free: 10.98 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.51e-06/0.0119, allocations: 3.938 kB / 0.8827 GB, free: 10.97 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000148/0.01204, allocations: 141.3 kB / 0.8829 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.377e-06/0.01205, allocations: 7.984 kB / 0.8829 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.248e-05/0.01206, allocations: 4.062 kB / 0.8829 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.546e-06/0.01206, allocations: 3.984 kB / 0.8829 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.01207, allocations: 4 kB / 0.8829 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.01207, allocations: 0 / 0.8829 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.01208, allocations: 0 / 0.8829 GB, free: 10.79 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001882/0.01226, allocations: 128.9 kB / 0.883 GB, free: 10.64 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 1.965e-05/0.01228, allocations: 11.89 kB / 0.883 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/0.0123, allocations: 0 / 0.883 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.01232, allocations: 0 / 0.883 GB, free: 10.63 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.843e-05/0.01236, allocations: 7.984 kB / 0.883 GB, free: 10.62 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.264e-05/0.01237, allocations: 15.98 kB / 0.883 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.201e-05/0.01245, allocations: 101.2 kB / 0.8831 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of sort global known variables: time 8e-08/0.01245, allocations: 0 / 0.8831 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002639/0.01272, allocations: 39.95 kB / 0.8832 GB, free: 10.47 MB / 0.8419 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.0001879/0.01291, allocations: 111.2 kB / 0.8833 GB, free: 10.35 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0004268/0.01333, allocations: 294.1 kB / 0.8836 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/0.01333, allocations: 0 / 0.8836 GB, free: 10.03 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 5.356e-05/0.01339, allocations: 24.31 kB / 0.8836 GB, free: 10 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002652/0.01365, allocations: 34.25 kB / 0.8836 GB, free: 9.973 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.01415, allocations: 220.8 kB / 0.8838 GB, free: 9.727 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.816e-05/0.01424, allocations: 89.31 kB / 0.8839 GB, free: 9.621 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.816e-05/0.01428, allocations: 8.484 kB / 0.8839 GB, free: 9.613 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.01432, allocations: 20.5 kB / 0.8839 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of SimCode: time 3.2e-07/0.01432, allocations: 0 / 0.8839 GB, free: 9.594 MB / 0.8419 GB Notification: Performance of Templates: time 0.006502/0.02082, allocations: 2.207 MB / 0.8861 GB, free: 7.488 MB / 0.8419 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: 8.235365830361843]