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.0009407/0.0009407, allocations: 80.75 kB / 19.94 MB, free: 4.547 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.0009494/0.0009494, allocations: 181 kB / 23.36 MB, free: 1.129 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.9955/0.9955, allocations: 177.1 MB / 203.8 MB, free: 5.516 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.438/2.438, allocations: 438.8 MB / 0.6826 GB, free: 13.61 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.775e-06/2.775e-06, allocations: 0 / 0.8386 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.937e-05/2.214e-05, allocations: 6.312 kB / 0.8387 GB, free: 14.15 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.001449/0.001471, allocations: 0.7989 MB / 0.8394 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001223/0.002694, allocations: 1.291 MB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.88e-05/0.002753, allocations: 7.938 kB / 0.8407 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001251/0.002878, allocations: 19.8 kB / 0.8407 GB, free: 12.02 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.049e-05/0.002909, allocations: 19.84 kB / 0.8407 GB, free: 12 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004717/0.00338, allocations: 231.4 kB / 0.841 GB, free: 11.78 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0003765/0.003757, allocations: 235.4 kB / 0.8412 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001206/0.003877, allocations: 34.66 kB / 0.8412 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001069/0.003984, allocations: 127.8 kB / 0.8413 GB, free: 11.38 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001051/0.004089, allocations: 71.81 kB / 0.8414 GB, free: 11.31 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.753e-05/0.004117, allocations: 24 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 5.842e-05/0.004175, allocations: 27.98 kB / 0.8415 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.219e-05/0.004208, allocations: 23.92 kB / 0.8415 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.831e-05/0.004266, allocations: 67.88 kB / 0.8415 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001822/0.004448, allocations: 183.5 kB / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.00445, allocations: 0 / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of FrontEnd: time 6.81e-07/0.004451, allocations: 0 / 0.8417 GB, free: 10.99 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.306e-06/0.004454, allocations: 0 / 0.8417 GB, free: 10.99 MB / 0.8073 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.0003614/0.004816, allocations: 384 kB / 0.8421 GB, free: 10.58 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.886e-05/0.004845, allocations: 12.62 kB / 0.8421 GB, free: 10.57 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.2e-05/0.004887, allocations: 24.86 kB / 0.8421 GB, free: 10.54 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/0.005033, allocations: 145.6 kB / 0.8423 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.47e-05/0.005047, allocations: 8.562 kB / 0.8423 GB, free: 10.37 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.58e-05/0.005073, allocations: 20.38 kB / 0.8423 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.584e-05/0.005169, allocations: 88.34 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.524e-06/0.005177, allocations: 3.938 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.005185, allocations: 4 kB / 0.8424 GB, free: 10.25 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.431e-06/0.005191, allocations: 7.938 kB / 0.8424 GB, free: 10.24 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.931e-05/0.00522, allocations: 26.03 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003232/0.005543, allocations: 298 kB / 0.8427 GB, free: 9.898 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.155e-05/0.005595, allocations: 30.58 kB / 0.8427 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.406e-05/0.005609, allocations: 12.94 kB / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.049e-06/0.005614, allocations: 0 / 0.8427 GB, free: 9.844 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.598e-05/0.00569, allocations: 75.3 kB / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 7.81e-07/0.005691, allocations: 0 / 0.8428 GB, free: 9.758 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001175/0.005808, allocations: 77.89 kB / 0.8429 GB, free: 9.676 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.005836, allocations: 55.41 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.919e-05/0.005915, allocations: 150.6 kB / 0.8431 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.955e-05/0.005934, allocations: 29.7 kB / 0.8431 GB, free: 9.414 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.793e-05/0.005982, allocations: 124.2 kB / 0.8432 GB, free: 9.285 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.143e-05/0.005994, allocations: 19.83 kB / 0.8432 GB, free: 9.266 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.949e-05/0.006053, allocations: 61.64 kB / 0.8433 GB, free: 9.199 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.625e-05/0.00612, allocations: 318.8 kB / 0.8436 GB, free: 8.879 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.334e-05/0.006193, allocations: 99.38 kB / 0.8437 GB, free: 8.77 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.214e-05/0.006275, allocations: 145.4 kB / 0.8438 GB, free: 8.594 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001084/0.006383, allocations: 168.1 kB / 0.844 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.974e-06/0.006385, allocations: 0 / 0.844 GB, free: 8.395 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001917/0.006577, allocations: 268.3 kB / 0.8443 GB, free: 8.102 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.837e-05/0.006615, allocations: 67.39 kB / 0.8443 GB, free: 8.023 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.006621, allocations: 3.984 kB / 0.8443 GB, free: 8.02 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.006633, allocations: 4 kB / 0.8443 GB, free: 8.016 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.774e-05/0.006651, allocations: 12 kB / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.466e-06/0.006654, allocations: 192 / 0.8443 GB, free: 8.004 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.006803, allocations: 51.91 kB / 0.8444 GB, free: 7.953 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.811e-05/0.006821, allocations: 8 kB / 0.8444 GB, free: 7.945 MB / 0.8073 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.con.y,enaLeaChiPum.con1.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 7.508e-05/0.006896, allocations: 140.5 kB / 0.8445 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-06/0.006906, allocations: 4 kB / 0.8445 GB, free: 7.793 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.905e-05/0.006925, allocations: 16.77 kB / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.006926, allocations: 0 / 0.8446 GB, free: 7.781 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.172e-06/0.006928, allocations: 3.938 kB / 0.8446 GB, free: 7.777 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.006932, allocations: 8 kB / 0.8446 GB, free: 7.77 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.641e-05/0.007008, allocations: 89.81 kB / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.007009, allocations: 0 / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.409e-06/0.007013, allocations: 0 / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.007015, allocations: 0 / 0.8447 GB, free: 7.664 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.508e-06/0.007019, allocations: 3.984 kB / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.61e-07/0.00702, allocations: 0 / 0.8447 GB, free: 7.66 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.007021, allocations: 4 kB / 0.8447 GB, free: 7.656 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.703e-05/0.007088, allocations: 85.03 kB / 0.8447 GB, free: 7.555 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 9.378e-06/0.007097, allocations: 11.89 kB / 0.8448 GB, free: 7.543 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.258e-06/0.007106, allocations: 4 kB / 0.8448 GB, free: 7.539 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.216e-05/0.007119, allocations: 4 kB / 0.8448 GB, free: 7.535 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.536e-05/0.007144, allocations: 10.81 kB / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.427e-06/0.007147, allocations: 0 / 0.8448 GB, free: 7.523 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.249e-05/0.00717, allocations: 34.84 kB / 0.8448 GB, free: 7.488 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5.1e-08/0.00717, allocations: 4 kB / 0.8448 GB, free: 7.484 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001439/0.007314, allocations: 39.89 kB / 0.8448 GB, free: 7.445 MB / 0.8073 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.0001167/0.007431, allocations: 84.42 kB / 0.8449 GB, free: 7.352 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001848/0.007615, allocations: 271.1 kB / 0.8452 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.007618, allocations: 0 / 0.8452 GB, free: 7.047 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.293e-05/0.007641, allocations: 24.8 kB / 0.8452 GB, free: 7.02 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001131/0.007754, allocations: 27.36 kB / 0.8452 GB, free: 6.996 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002599/0.008014, allocations: 211.7 kB / 0.8454 GB, free: 6.766 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.995e-05/0.008044, allocations: 63.34 kB / 0.8455 GB, free: 6.684 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.395e-05/0.008068, allocations: 12.47 kB / 0.8455 GB, free: 6.672 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.472e-05/0.008163, allocations: 87.53 kB / 0.8456 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of SimCode: time 8.01e-07/0.008163, allocations: 0 / 0.8456 GB, free: 6.586 MB / 0.8073 GB Notification: Performance of Templates: time 0.003877/0.01204, allocations: 2.392 MB / 0.8479 GB, free: 4.297 MB / 0.8073 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.36576971411705]