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.001648/0.001648, allocations: 92.2 kB / 20.19 MB, free: 4.359 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.001816/0.001816, allocations: 173 kB / 23.49 MB, free: 1.059 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.06/1.06, allocations: 177.1 MB / 203.8 MB, free: 5.645 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 2.149/2.149, allocations: 429.5 MB / 0.6736 GB, free: 4.047 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.194e-06/2.194e-06, allocations: 0 / 0.8783 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.14e-05/2.359e-05, allocations: 3.188 kB / 0.8783 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.001546/0.00157, allocations: 0.8125 MB / 0.8791 GB, free: 5.777 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001469/0.003038, allocations: 1.282 MB / 0.8803 GB, free: 4.484 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.084e-05/0.003129, allocations: 4 kB / 0.8803 GB, free: 4.48 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001669/0.003296, allocations: 18.56 kB / 0.8803 GB, free: 4.465 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 2.836e-05/0.003324, allocations: 15.75 kB / 0.8804 GB, free: 4.449 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.000584/0.003908, allocations: 236.8 kB / 0.8806 GB, free: 4.219 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000267/0.004175, allocations: 223.6 kB / 0.8808 GB, free: 4 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001784/0.004354, allocations: 39.3 kB / 0.8808 GB, free: 3.953 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.004478, allocations: 135.7 kB / 0.881 GB, free: 3.82 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001116/0.004589, allocations: 59.89 kB / 0.881 GB, free: 3.762 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.537e-05/0.004625, allocations: 27.94 kB / 0.881 GB, free: 3.734 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 6.915e-05/0.004694, allocations: 33.58 kB / 0.8811 GB, free: 3.703 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.418e-05/0.004738, allocations: 27.91 kB / 0.8811 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 8.272e-05/0.004821, allocations: 63.89 kB / 0.8812 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002411/0.005062, allocations: 183.4 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.005065, allocations: 2.312 kB / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.042e-06/0.005066, allocations: 0 / 0.8813 GB, free: 3.434 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5e-06/0.005071, allocations: 0 / 0.8813 GB, free: 3.434 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.0005135/0.005584, allocations: 0.5036 MB / 0.8818 GB, free: 2.883 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.341e-05/0.005628, allocations: 12.03 kB / 0.8818 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.934e-05/0.005697, allocations: 20.89 kB / 0.8819 GB, free: 2.852 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.005901, allocations: 166.8 kB / 0.882 GB, free: 2.664 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.457e-05/0.005925, allocations: 12.56 kB / 0.882 GB, free: 2.652 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.739e-05/0.005953, allocations: 16.38 kB / 0.8821 GB, free: 2.637 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.006096, allocations: 87.05 kB / 0.8821 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.454e-06/0.006104, allocations: 0 / 0.8821 GB, free: 2.543 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.006118, allocations: 8 kB / 0.8821 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.724e-06/0.006125, allocations: 0.7188 kB / 0.8821 GB, free: 2.535 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.724e-05/0.006183, allocations: 31.97 kB / 0.8822 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004938/0.006676, allocations: 466.6 kB / 0.8826 GB, free: 2.008 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 8.78e-05/0.006764, allocations: 42.98 kB / 0.8827 GB, free: 1.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.87e-05/0.006793, allocations: 19.69 kB / 0.8827 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.014e-05/0.006803, allocations: 4.078 kB / 0.8827 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001076/0.006911, allocations: 77.03 kB / 0.8828 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 1.462e-06/0.006912, allocations: 0 / 0.8828 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0002084/0.00712, allocations: 105.5 kB / 0.8829 GB, free: 1.727 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.451e-05/0.007155, allocations: 51.41 kB / 0.8829 GB, free: 1.664 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001209/0.007276, allocations: 213.7 kB / 0.8831 GB, free: 1.438 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.446e-05/0.0073, allocations: 37.7 kB / 0.8831 GB, free: 1.395 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.506e-05/0.007375, allocations: 155.1 kB / 0.8833 GB, free: 1.234 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.007393, allocations: 19.89 kB / 0.8833 GB, free: 1.215 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.769e-05/0.007471, allocations: 75.22 kB / 0.8834 GB, free: 1.133 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001289/0.0076, allocations: 0.4923 MB / 0.8839 GB, free: 0.6289 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001235/0.007723, allocations: 115.3 kB / 0.884 GB, free: 0.5039 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001322/0.007856, allocations: 180.3 kB / 0.8841 GB, free: 296 kB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001528/0.008008, allocations: 189.1 kB / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.365e-06/0.008011, allocations: 0 / 0.8843 GB, free: 64 kB / 0.8386 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0003373/0.008348, allocations: 336.2 kB / 0.8847 GB, free: 15.7 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.04e-05/0.008389, allocations: 67.39 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.229e-06/0.008394, allocations: 0 / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.008408, allocations: 4 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.759e-05/0.008425, allocations: 4 kB / 0.8847 GB, free: 15.62 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.462e-06/0.008432, allocations: 8.188 kB / 0.8847 GB, free: 15.61 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.008608, allocations: 55.84 kB / 0.8848 GB, free: 15.55 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.476e-05/0.008633, allocations: 8 kB / 0.8848 GB, free: 15.55 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 9.272e-05/0.008725, allocations: 173.7 kB / 0.885 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.178e-05/0.008737, allocations: 11.95 kB / 0.885 GB, free: 15.36 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.788e-05/0.008765, allocations: 12.78 kB / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.008767, allocations: 0 / 0.885 GB, free: 15.34 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.008771, allocations: 4 kB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.099e-06/0.008776, allocations: 3.938 kB / 0.885 GB, free: 15.33 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000104/0.00888, allocations: 156.5 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.008881, allocations: 0 / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.661e-06/0.008887, allocations: 3.938 kB / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.152e-06/0.008888, allocations: 0 / 0.8851 GB, free: 15.14 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.043e-06/0.008895, allocations: 4 kB / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.008896, allocations: 0 / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.008897, allocations: 0 / 0.8851 GB, free: 15.13 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00012/0.009017, allocations: 124.3 kB / 0.8853 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.446e-06/0.009025, allocations: 7.953 kB / 0.8853 GB, free: 14.98 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.264e-05/0.009038, allocations: 7.984 kB / 0.8853 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.306e-05/0.009051, allocations: 4 kB / 0.8853 GB, free: 14.97 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.569e-05/0.009087, allocations: 7.984 kB / 0.8853 GB, free: 14.96 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.016e-06/0.009095, allocations: 7.938 kB / 0.8853 GB, free: 14.95 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.31e-05/0.009148, allocations: 141.2 kB / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6e-08/0.009148, allocations: 0 / 0.8854 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001734/0.009321, allocations: 43.89 kB / 0.8855 GB, free: 14.77 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.0001254/0.009447, allocations: 115.1 kB / 0.8856 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002688/0.009715, allocations: 285.8 kB / 0.8859 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.009718, allocations: 4 kB / 0.8859 GB, free: 14.33 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.444e-05/0.009753, allocations: 23.67 kB / 0.8859 GB, free: 14.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001894/0.009942, allocations: 25.09 kB / 0.8859 GB, free: 14.28 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.01028, allocations: 222.3 kB / 0.8861 GB, free: 14.04 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.01032, allocations: 67.33 kB / 0.8862 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.853e-05/0.01035, allocations: 8.875 kB / 0.8862 GB, free: 13.94 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.951e-05/0.01037, allocations: 16.5 kB / 0.8862 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of SimCode: time 1.072e-06/0.01037, allocations: 0 / 0.8862 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of Templates: time 0.003928/0.01429, allocations: 2.22 MB / 0.8884 GB, free: 11.82 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.689080536132678]