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.001439/0.001439, allocations: 92.7 kB / 19.44 MB, free: 324 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.00177/0.00177, allocations: 161.3 kB / 22.75 MB, free: 1.652 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.48/1.48, allocations: 177.1 MB / 203.1 MB, free: 5.59 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.271/3.271, allocations: 429.6 MB / 0.673 GB, free: 3.871 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 1.903e-06/1.903e-06, allocations: 0 / 0.8777 GB, free: 6.402 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.092e-05/3.282e-05, allocations: 2.312 kB / 0.8777 GB, free: 6.398 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.002218/0.002251, allocations: 0.7764 MB / 0.8784 GB, free: 5.648 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.002029/0.00428, allocations: 1.262 MB / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.394e-05/0.004354, allocations: 0 / 0.8797 GB, free: 4.375 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001667/0.004521, allocations: 17.98 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.081e-05/0.004571, allocations: 27.78 kB / 0.8797 GB, free: 4.332 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007634/0.005335, allocations: 224.4 kB / 0.8799 GB, free: 4.113 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003935/0.005728, allocations: 231.6 kB / 0.8802 GB, free: 3.887 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001892/0.005917, allocations: 39.05 kB / 0.8802 GB, free: 3.84 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002282/0.006146, allocations: 123.8 kB / 0.8803 GB, free: 3.719 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001735/0.006319, allocations: 75.81 kB / 0.8804 GB, free: 3.645 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 4.97e-05/0.006369, allocations: 21.12 kB / 0.8804 GB, free: 3.625 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.253e-05/0.006461, allocations: 31.98 kB / 0.8804 GB, free: 3.594 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.669e-05/0.006508, allocations: 23.92 kB / 0.8805 GB, free: 3.57 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001272/0.006635, allocations: 68.94 kB / 0.8805 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000461/0.007096, allocations: 279.2 kB / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.966e-06/0.007099, allocations: 0 / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.01e-07/0.0071, allocations: 1.031 kB / 0.8808 GB, free: 3.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.163e-06/0.007107, allocations: 0 / 0.8808 GB, free: 3.23 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.0007483/0.007856, allocations: 406 kB / 0.8812 GB, free: 2.793 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.039e-05/0.007896, allocations: 8.031 kB / 0.8812 GB, free: 2.785 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001031/0.007999, allocations: 30.72 kB / 0.8812 GB, free: 2.758 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000306/0.008305, allocations: 165.7 kB / 0.8814 GB, free: 2.57 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.495e-05/0.00834, allocations: 12.56 kB / 0.8814 GB, free: 2.559 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.318e-05/0.008383, allocations: 16.38 kB / 0.8814 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.00861, allocations: 100.6 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.548e-06/0.008619, allocations: 1.344 kB / 0.8815 GB, free: 2.441 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.961e-05/0.008649, allocations: 11.98 kB / 0.8815 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.651e-06/0.008655, allocations: 0 / 0.8815 GB, free: 2.43 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001229/0.008778, allocations: 48.89 kB / 0.8816 GB, free: 2.383 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007416/0.009519, allocations: 415.3 kB / 0.882 GB, free: 1.941 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001175/0.009637, allocations: 39.22 kB / 0.882 GB, free: 1.895 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.95e-05/0.009676, allocations: 20.94 kB / 0.882 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.302e-05/0.009689, allocations: 1.594 kB / 0.882 GB, free: 1.871 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.009921, allocations: 83.36 kB / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.282e-06/0.009922, allocations: 0 / 0.8821 GB, free: 1.777 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0003431/0.01026, allocations: 131.9 kB / 0.8822 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.43e-05/0.01032, allocations: 55.41 kB / 0.8823 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001789/0.0105, allocations: 157.6 kB / 0.8824 GB, free: 1.414 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 4.227e-05/0.01054, allocations: 29.7 kB / 0.8824 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000123/0.01066, allocations: 108.4 kB / 0.8826 GB, free: 1.266 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.366e-05/0.01069, allocations: 19.89 kB / 0.8826 GB, free: 1.246 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001254/0.01081, allocations: 57.69 kB / 0.8826 GB, free: 1.184 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0004363/0.01125, allocations: 325 kB / 0.8829 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002141/0.01146, allocations: 127.4 kB / 0.8831 GB, free: 0.7227 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000253/0.01172, allocations: 173.2 kB / 0.8832 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002759/0.01199, allocations: 183.7 kB / 0.8834 GB, free: 316 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.01199, allocations: 0 / 0.8834 GB, free: 316 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006522/0.01265, allocations: 365.2 kB / 0.8837 GB, free: 15.92 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 7.476e-05/0.01272, allocations: 67.39 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.123e-06/0.01273, allocations: 4.188 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.224e-05/0.01275, allocations: 4 kB / 0.8838 GB, free: 15.84 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.318e-05/0.01278, allocations: 11.98 kB / 0.8838 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.897e-06/0.01279, allocations: 7.875 kB / 0.8838 GB, free: 15.82 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003657/0.01316, allocations: 55.88 kB / 0.8839 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.839e-05/0.0132, allocations: 11.98 kB / 0.8839 GB, free: 15.75 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.0001683/0.01336, allocations: 134.9 kB / 0.884 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.828e-05/0.01339, allocations: 15.91 kB / 0.884 GB, free: 15.59 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.378e-05/0.01344, allocations: 16.77 kB / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.232e-05/0.01345, allocations: 0 / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.01345, allocations: 64 / 0.8841 GB, free: 15.57 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.131e-05/0.01347, allocations: 7.938 kB / 0.8841 GB, free: 15.56 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.01364, allocations: 137.3 kB / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.193e-06/0.01364, allocations: 0 / 0.8842 GB, free: 15.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.465e-05/0.01365, allocations: 3.938 kB / 0.8842 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.648e-06/0.01366, allocations: 4 kB / 0.8842 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.051e-05/0.01367, allocations: 3.984 kB / 0.8842 GB, free: 15.39 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.332e-06/0.01367, allocations: 4 kB / 0.8842 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.01367, allocations: 3.938 kB / 0.8842 GB, free: 15.38 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000204/0.01387, allocations: 125 kB / 0.8843 GB, free: 15.24 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.01389, allocations: 7.953 kB / 0.8843 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.902e-05/0.01391, allocations: 3.984 kB / 0.8844 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.201e-05/0.01393, allocations: 0 / 0.8844 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.828e-05/0.01398, allocations: 11.98 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.996e-06/0.01399, allocations: 4 kB / 0.8844 GB, free: 15.21 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 9.297e-05/0.01408, allocations: 109.2 kB / 0.8845 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of sort global known variables: time 8.1e-08/0.01408, allocations: 4 kB / 0.8845 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0002842/0.01437, allocations: 39.89 kB / 0.8845 GB, free: 15.06 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.0001878/0.01455, allocations: 115.2 kB / 0.8846 GB, free: 14.94 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004793/0.01503, allocations: 294.1 kB / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.633e-06/0.01504, allocations: 0 / 0.8849 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.566e-05/0.01509, allocations: 24.33 kB / 0.8849 GB, free: 14.59 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002802/0.01537, allocations: 28.48 kB / 0.885 GB, free: 14.57 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004876/0.01586, allocations: 223.1 kB / 0.8852 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000107/0.01597, allocations: 89.31 kB / 0.8853 GB, free: 14.22 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.187e-05/0.01601, allocations: 12.48 kB / 0.8853 GB, free: 14.21 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.01604, allocations: 16.5 kB / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of SimCode: time 3.2e-07/0.01604, allocations: 0 / 0.8853 GB, free: 14.2 MB / 0.8542 GB Notification: Performance of Templates: time 0.006482/0.02252, allocations: 2.196 MB / 0.8874 GB, free: 12.11 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=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.157902710023336]