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.002258/0.002258, allocations: 85.48 kB / 19.44 MB, free: 340 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.002821/0.002821, allocations: 177.2 kB / 22.76 MB, free: 1.66 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.555/1.555, allocations: 177.1 MB / 203.1 MB, free: 5.547 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.432/3.432, allocations: 429.5 MB / 0.6729 GB, free: 4.016 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.645e-06/2.645e-06, allocations: 0 / 0.8775 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.033e-05/3.297e-05, allocations: 2.844 kB / 0.8775 GB, free: 6.57 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.003352/0.003385, allocations: 0.7961 MB / 0.8783 GB, free: 5.801 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.003053/0.006438, allocations: 1.259 MB / 0.8795 GB, free: 4.531 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000106/0.006545, allocations: 5.438 kB / 0.8795 GB, free: 4.527 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001941/0.006739, allocations: 17.41 kB / 0.8796 GB, free: 4.512 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.618e-05/0.006805, allocations: 12.41 kB / 0.8796 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.001037/0.007841, allocations: 242.6 kB / 0.8798 GB, free: 4.266 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0005042/0.008346, allocations: 231.6 kB / 0.88 GB, free: 4.039 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002079/0.008554, allocations: 37.97 kB / 0.8801 GB, free: 3.992 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002791/0.008833, allocations: 127.8 kB / 0.8802 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002156/0.009048, allocations: 63.83 kB / 0.8802 GB, free: 3.805 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 8.092e-05/0.009129, allocations: 23.5 kB / 0.8803 GB, free: 3.785 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001295/0.009259, allocations: 35.98 kB / 0.8803 GB, free: 3.75 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 6.757e-05/0.009326, allocations: 31.84 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001707/0.009497, allocations: 67.88 kB / 0.8804 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0005884/0.01009, allocations: 275.2 kB / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 5.01e-06/0.01009, allocations: 0 / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.062e-06/0.01009, allocations: 0 / 0.8807 GB, free: 3.383 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 8.426e-06/0.0101, allocations: 0 / 0.8807 GB, free: 3.383 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.001039/0.01114, allocations: 0.511 MB / 0.8812 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 5.184e-05/0.01119, allocations: 12.03 kB / 0.8812 GB, free: 2.812 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001296/0.01132, allocations: 21.83 kB / 0.8812 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004278/0.01175, allocations: 171.7 kB / 0.8814 GB, free: 2.602 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.799e-05/0.01179, allocations: 9.594 kB / 0.8814 GB, free: 2.594 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.01184, allocations: 16.38 kB / 0.8814 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002825/0.01213, allocations: 90.28 kB / 0.8815 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.236e-05/0.01214, allocations: 1.125 kB / 0.8815 GB, free: 2.484 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.079e-05/0.01216, allocations: 8 kB / 0.8815 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.731e-06/0.01216, allocations: 0 / 0.8815 GB, free: 2.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001769/0.01234, allocations: 45.09 kB / 0.8815 GB, free: 2.434 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001102/0.01344, allocations: 482.6 kB / 0.882 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001515/0.0136, allocations: 47.98 kB / 0.882 GB, free: 1.863 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.59e-05/0.01366, allocations: 23.7 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.722e-05/0.01368, allocations: 4 kB / 0.8821 GB, free: 1.832 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002232/0.0139, allocations: 85.62 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.693e-06/0.0139, allocations: 0.875 kB / 0.8821 GB, free: 1.734 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0004502/0.01435, allocations: 109.6 kB / 0.8822 GB, free: 1.621 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.123e-05/0.01442, allocations: 68.41 kB / 0.8823 GB, free: 1.543 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003209/0.01475, allocations: 225.8 kB / 0.8825 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 5.466e-05/0.0148, allocations: 29.7 kB / 0.8825 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001941/0.01499, allocations: 164.1 kB / 0.8827 GB, free: 1.102 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 3.586e-05/0.01503, allocations: 23.88 kB / 0.8827 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002222/0.01525, allocations: 71.34 kB / 0.8828 GB, free: 1 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0006035/0.01586, allocations: 0.4973 MB / 0.8833 GB, free: 0.4922 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003616/0.01622, allocations: 139.4 kB / 0.8834 GB, free: 352 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004339/0.01665, allocations: 213 kB / 0.8836 GB, free: 96 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000462/0.01711, allocations: 207.4 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.517e-06/0.01712, allocations: 3.469 kB / 0.8838 GB, free: 15.85 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.001024/0.01814, allocations: 392.1 kB / 0.8842 GB, free: 15.44 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 9.426e-05/0.01823, allocations: 67.39 kB / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.713e-06/0.01824, allocations: 0 / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.01826, allocations: 4.062 kB / 0.8843 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.556e-05/0.0183, allocations: 8 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.224e-06/0.01831, allocations: 0.625 kB / 0.8843 GB, free: 15.35 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004492/0.01876, allocations: 49.27 kB / 0.8843 GB, free: 15.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.252e-05/0.01881, allocations: 12 kB / 0.8843 GB, free: 15.29 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 0.0002309/0.01904, allocations: 181.3 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.954e-05/0.01909, allocations: 17.44 kB / 0.8845 GB, free: 15.09 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.601e-05/0.01913, allocations: 8.781 kB / 0.8845 GB, free: 15.07 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.298e-06/0.01914, allocations: 7.984 kB / 0.8845 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.757e-06/0.01915, allocations: 0 / 0.8845 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.035e-05/0.01916, allocations: 4.125 kB / 0.8845 GB, free: 15.06 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002695/0.01943, allocations: 164.6 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.01943, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.781e-05/0.01945, allocations: 4 kB / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.156e-06/0.01945, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.004e-05/0.01946, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.904e-06/0.01946, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.01946, allocations: 0 / 0.8847 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003066/0.01977, allocations: 144.2 kB / 0.8848 GB, free: 14.7 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.498e-05/0.0198, allocations: 11.88 kB / 0.8848 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.991e-05/0.01983, allocations: 4 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.378e-05/0.01987, allocations: 4 kB / 0.8849 GB, free: 14.68 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.139e-05/0.01993, allocations: 11.98 kB / 0.8849 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.217e-06/0.01994, allocations: 0 / 0.8849 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0001517/0.02009, allocations: 149 kB / 0.885 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.02009, allocations: 0 / 0.885 GB, free: 14.52 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0004715/0.02056, allocations: 43.89 kB / 0.885 GB, free: 14.48 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.0002182/0.02078, allocations: 107.9 kB / 0.8852 GB, free: 14.36 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.000768/0.02155, allocations: 350.4 kB / 0.8855 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/0.02155, allocations: 8 kB / 0.8855 GB, free: 13.97 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001032/0.02165, allocations: 35.66 kB / 0.8855 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.0003982/0.02205, allocations: 27.86 kB / 0.8856 GB, free: 13.91 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006617/0.02271, allocations: 218.4 kB / 0.8858 GB, free: 13.67 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001592/0.02287, allocations: 97.3 kB / 0.8859 GB, free: 13.55 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.489e-05/0.02293, allocations: 12.5 kB / 0.8859 GB, free: 13.54 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.805e-05/0.02297, allocations: 12.5 kB / 0.8859 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of SimCode: time 6.21e-07/0.02297, allocations: 3.938 kB / 0.8859 GB, free: 13.53 MB / 0.8542 GB Notification: Performance of Templates: time 0.0091/0.03207, allocations: 2.211 MB / 0.888 GB, free: 11.43 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","/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.643344057025388]