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.0008358/0.0008358, allocations: 88.22 kB / 20.21 MB, free: 4.211 MB / 18.57 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.0008183/0.0008183, allocations: 157.7 kB / 23.52 MB, free: 0.8984 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.8942/0.8942, allocations: 177.2 MB / 203.9 MB, free: 5.594 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.946/1.946, allocations: 428.5 MB / 0.6727 GB, free: 4.922 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.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 1.643e-06/1.643e-06, allocations: 0 / 0.8764 GB, free: 8.633 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.262e-05/2.427e-05, allocations: 5.406 kB / 0.8764 GB, free: 8.629 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.001201/0.001226, allocations: 0.766 MB / 0.8771 GB, free: 7.887 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001113/0.002338, allocations: 1.263 MB / 0.8783 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.496e-05/0.002393, allocations: 0.9062 kB / 0.8783 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001154/0.002509, allocations: 12.8 kB / 0.8784 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.96e-05/0.002538, allocations: 29.2 kB / 0.8784 GB, free: 6.578 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004682/0.003006, allocations: 228.5 kB / 0.8786 GB, free: 6.355 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002219/0.003228, allocations: 236.7 kB / 0.8788 GB, free: 6.125 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001319/0.00336, allocations: 37.97 kB / 0.8789 GB, free: 6.078 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.003463, allocations: 123.8 kB / 0.879 GB, free: 5.957 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.694e-05/0.00356, allocations: 68.83 kB / 0.8791 GB, free: 5.891 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.72e-05/0.003587, allocations: 20 kB / 0.8791 GB, free: 5.871 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.891e-05/0.003646, allocations: 35.92 kB / 0.8791 GB, free: 5.836 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.613e-05/0.003682, allocations: 39.53 kB / 0.8791 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 6.758e-05/0.00375, allocations: 67.88 kB / 0.8792 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000236/0.003986, allocations: 267.3 kB / 0.8795 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.854e-06/0.003988, allocations: 0 / 0.8795 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of FrontEnd: time 5.71e-07/0.003988, allocations: 0 / 0.8795 GB, free: 5.473 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.915e-06/0.003991, allocations: 0 / 0.8795 GB, free: 5.473 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.0004156/0.004407, allocations: 413.3 kB / 0.8799 GB, free: 5.027 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.00444, allocations: 8.031 kB / 0.8799 GB, free: 5.02 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.888e-05/0.004499, allocations: 28.83 kB / 0.8799 GB, free: 4.992 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001818/0.004681, allocations: 165.8 kB / 0.88 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.741e-05/0.004698, allocations: 13.19 kB / 0.8801 GB, free: 4.793 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.182e-05/0.00473, allocations: 16.97 kB / 0.8801 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001394/0.004869, allocations: 102.3 kB / 0.8802 GB, free: 4.672 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.534e-06/0.004877, allocations: 8.562 kB / 0.8802 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.906e-06/0.004886, allocations: 0 / 0.8802 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004891, allocations: 1.031 kB / 0.8802 GB, free: 4.664 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.939e-05/0.00497, allocations: 62.03 kB / 0.8802 GB, free: 4.605 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000402/0.005372, allocations: 404.9 kB / 0.8806 GB, free: 4.176 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 6.701e-05/0.005439, allocations: 42.56 kB / 0.8807 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.402e-05/0.005463, allocations: 16.94 kB / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 5.42e-06/0.005469, allocations: 0 / 0.8807 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001025/0.005571, allocations: 92.11 kB / 0.8808 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.734e-06/0.005573, allocations: 0.9062 kB / 0.8808 GB, free: 4.004 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002039/0.005777, allocations: 117.6 kB / 0.8809 GB, free: 3.883 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.725e-05/0.005804, allocations: 55.41 kB / 0.8809 GB, free: 3.816 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.005891, allocations: 159.8 kB / 0.8811 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.005913, allocations: 29.7 kB / 0.8811 GB, free: 3.617 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 6.586e-05/0.005979, allocations: 120.3 kB / 0.8812 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.066e-05/0.005989, allocations: 15.84 kB / 0.8813 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.473e-05/0.006054, allocations: 57.69 kB / 0.8813 GB, free: 3.414 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 7.668e-05/0.006131, allocations: 322.8 kB / 0.8816 GB, free: 3.09 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001229/0.006254, allocations: 131.3 kB / 0.8817 GB, free: 2.949 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.006383, allocations: 177.3 kB / 0.8819 GB, free: 2.742 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001392/0.006522, allocations: 181.3 kB / 0.8821 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.006524, allocations: 0 / 0.8821 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003216/0.006846, allocations: 360.2 kB / 0.8824 GB, free: 2.148 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 3.978e-05/0.006886, allocations: 67.39 kB / 0.8825 GB, free: 2.07 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.551e-06/0.006891, allocations: 4 kB / 0.8825 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.006902, allocations: 192 / 0.8825 GB, free: 2.066 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.845e-05/0.006921, allocations: 15.92 kB / 0.8825 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.013e-06/0.006928, allocations: 7.938 kB / 0.8825 GB, free: 2.043 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001898/0.007118, allocations: 47.94 kB / 0.8826 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.158e-05/0.007139, allocations: 15.98 kB / 0.8826 GB, free: 1.98 MB / 0.8386 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.442e-05/0.007224, allocations: 138.8 kB / 0.8827 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.245e-05/0.007236, allocations: 15.91 kB / 0.8827 GB, free: 1.82 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.2e-05/0.007258, allocations: 16.77 kB / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.00726, allocations: 0 / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.576e-06/0.007263, allocations: 0 / 0.8827 GB, free: 1.805 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.007268, allocations: 7.922 kB / 0.8827 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.069e-05/0.007349, allocations: 133.3 kB / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.71e-07/0.007349, allocations: 0 / 0.8829 GB, free: 1.637 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.46e-06/0.007355, allocations: 4 kB / 0.8829 GB, free: 1.633 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.934e-06/0.007357, allocations: 3.984 kB / 0.8829 GB, free: 1.629 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.394e-06/0.007364, allocations: 4 kB / 0.8829 GB, free: 1.625 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.007365, allocations: 4.062 kB / 0.8829 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.82e-07/0.007366, allocations: 4 kB / 0.8829 GB, free: 1.617 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001073/0.007473, allocations: 128.9 kB / 0.883 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 7.454e-06/0.007481, allocations: 7.953 kB / 0.883 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.828e-06/0.007491, allocations: 0 / 0.883 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.442e-05/0.007505, allocations: 8 kB / 0.883 GB, free: 1.457 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.087e-05/0.007536, allocations: 3.984 kB / 0.883 GB, free: 1.453 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.161e-06/0.007542, allocations: 7.984 kB / 0.883 GB, free: 1.445 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 4.408e-05/0.007586, allocations: 109.7 kB / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of sort global known variables: time 6e-08/0.007586, allocations: 0 / 0.8831 GB, free: 1.34 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001663/0.007753, allocations: 43.89 kB / 0.8832 GB, free: 1.297 MB / 0.8386 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.0001039/0.007856, allocations: 111.2 kB / 0.8833 GB, free: 1.18 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002591/0.008116, allocations: 290.1 kB / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.423e-06/0.008117, allocations: 0 / 0.8836 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.82e-05/0.008155, allocations: 31.92 kB / 0.8836 GB, free: 0.8281 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001713/0.008326, allocations: 24.73 kB / 0.8836 GB, free: 0.8047 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003103/0.008637, allocations: 248.4 kB / 0.8839 GB, free: 0.5273 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.319e-05/0.00869, allocations: 93.31 kB / 0.884 GB, free: 428 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.969e-05/0.00871, allocations: 12.5 kB / 0.884 GB, free: 416 kB / 0.8386 GB Notification: Performance of SimCode: time 4.61e-07/0.00871, allocations: 0 / 0.884 GB, free: 416 kB / 0.8386 GB Notification: Performance of Templates: time 0.002312/0.01102, allocations: 1.827 MB / 0.8857 GB, free: 14.6 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 -emit_protected > 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: 6.7977581936866045]