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.0009636/0.0009636, 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.001027/0.001027, allocations: 181 kB / 23.36 MB, free: 1.133 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.009/1.009, allocations: 177.1 MB / 203.8 MB, free: 5.465 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.581/2.581, allocations: 438.8 MB / 0.6827 GB, free: 13.57 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 1.844e-06/1.844e-06, allocations: 0 / 0.8387 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.436e-05/1.62e-05, allocations: 6.25 kB / 0.8387 GB, free: 14.04 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.00144/0.001456, allocations: 0.8325 MB / 0.8395 GB, free: 13.2 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.001296/0.002753, allocations: 1.298 MB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.836e-05/0.002811, allocations: 4 kB / 0.8408 GB, free: 11.89 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001127/0.002924, allocations: 15.8 kB / 0.8408 GB, free: 11.87 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.149e-05/0.002955, allocations: 19.81 kB / 0.8408 GB, free: 11.85 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000444/0.003399, allocations: 227.4 kB / 0.841 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 0.0002196/0.003619, allocations: 239.4 kB / 0.8413 GB, free: 11.39 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.003739, allocations: 42.62 kB / 0.8413 GB, free: 11.34 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001083/0.003847, allocations: 123.8 kB / 0.8414 GB, free: 11.22 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000102/0.003949, allocations: 71.83 kB / 0.8415 GB, free: 11.15 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 2.928e-05/0.003978, allocations: 20 kB / 0.8415 GB, free: 11.13 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 6.95e-05/0.004048, allocations: 28 kB / 0.8416 GB, free: 11.11 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 3.193e-05/0.00408, allocations: 27.91 kB / 0.8416 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 5.932e-05/0.004139, allocations: 67.88 kB / 0.8416 GB, free: 11.01 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001794/0.004319, allocations: 183.5 kB / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.423e-06/0.00432, allocations: 0 / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4e-07/0.00432, allocations: 0 / 0.8418 GB, free: 10.83 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.707e-06/0.004324, allocations: 4 kB / 0.8418 GB, free: 10.83 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.0003474/0.004671, allocations: 380 kB / 0.8422 GB, free: 10.42 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.989e-05/0.004701, allocations: 12.62 kB / 0.8422 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.995e-05/0.004741, allocations: 20.91 kB / 0.8422 GB, free: 10.39 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001567/0.004898, allocations: 153.1 kB / 0.8424 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.633e-05/0.004914, allocations: 8.562 kB / 0.8424 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.144e-05/0.004936, allocations: 16.38 kB / 0.8424 GB, free: 10.2 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.359e-05/0.005029, allocations: 87.22 kB / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.485e-06/0.005037, allocations: 0 / 0.8425 GB, free: 10.1 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.005047, allocations: 8 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.12e-06/0.005052, allocations: 3.938 kB / 0.8425 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.021e-05/0.005082, allocations: 29.8 kB / 0.8425 GB, free: 10.06 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003166/0.005399, allocations: 294 kB / 0.8428 GB, free: 9.75 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 5.166e-05/0.00545, allocations: 38.55 kB / 0.8428 GB, free: 9.703 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.451e-05/0.005465, allocations: 12.86 kB / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 5.34e-06/0.00547, allocations: 0 / 0.8428 GB, free: 9.688 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 8.227e-05/0.005552, allocations: 75.39 kB / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=8): time 8.31e-07/0.005553, allocations: 0 / 0.8429 GB, free: 9.602 MB / 0.8073 GB Notification: Performance of matching and sorting (n=8): time 0.0001218/0.005675, allocations: 85.62 kB / 0.843 GB, free: 9.512 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.423e-05/0.005699, allocations: 51.41 kB / 0.843 GB, free: 9.449 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.606e-05/0.005775, allocations: 152.8 kB / 0.8432 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.993e-05/0.005795, allocations: 29.7 kB / 0.8432 GB, free: 9.254 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 5.579e-05/0.005851, allocations: 116.3 kB / 0.8433 GB, free: 9.133 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.111e-05/0.005862, allocations: 19.83 kB / 0.8433 GB, free: 9.113 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.249e-05/0.005925, allocations: 53.66 kB / 0.8434 GB, free: 9.055 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.172e-05/0.005996, allocations: 326.8 kB / 0.8437 GB, free: 8.727 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.382e-05/0.00607, allocations: 95.38 kB / 0.8438 GB, free: 8.621 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.352e-05/0.006154, allocations: 149.3 kB / 0.8439 GB, free: 8.441 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001105/0.006264, allocations: 168.1 kB / 0.8441 GB, free: 8.242 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.227e-06/0.006267, allocations: 4 kB / 0.8441 GB, free: 8.238 MB / 0.8073 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0001937/0.006461, allocations: 268.2 kB / 0.8444 GB, free: 7.945 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 3.511e-05/0.006496, allocations: 67.39 kB / 0.8444 GB, free: 7.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.099e-06/0.006501, allocations: 4 kB / 0.8444 GB, free: 7.863 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.006515, allocations: 4.172 kB / 0.8444 GB, free: 7.859 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.883e-05/0.006533, allocations: 15.92 kB / 0.8444 GB, free: 7.844 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.597e-06/0.006537, allocations: 4 kB / 0.8445 GB, free: 7.84 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001464/0.006684, allocations: 43.92 kB / 0.8445 GB, free: 7.797 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.967e-05/0.006703, allocations: 11.98 kB / 0.8445 GB, free: 7.785 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.416e-05/0.006777, allocations: 128.5 kB / 0.8446 GB, free: 7.648 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.619e-05/0.006794, allocations: 7.984 kB / 0.8446 GB, free: 7.641 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.006814, allocations: 12.78 kB / 0.8446 GB, free: 7.633 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.863e-06/0.006816, allocations: 4 kB / 0.8447 GB, free: 7.629 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.223e-06/0.006817, allocations: 3.938 kB / 0.8447 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.00682, allocations: 0 / 0.8447 GB, free: 7.625 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.141e-05/0.006891, allocations: 97.78 kB / 0.8447 GB, free: 7.512 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.006892, allocations: 3.938 kB / 0.8448 GB, free: 7.508 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.253e-06/0.006899, allocations: 4 kB / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.582e-06/0.006901, allocations: 0 / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.138e-06/0.006905, allocations: 0 / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.41e-07/0.006906, allocations: 0 / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.006906, allocations: 0 / 0.8448 GB, free: 7.504 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.964e-05/0.006976, allocations: 93.02 kB / 0.8448 GB, free: 7.395 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.006984, allocations: 11.95 kB / 0.8449 GB, free: 7.383 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.698e-06/0.006994, allocations: 4 kB / 0.8449 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.146e-05/0.007005, allocations: 0 / 0.8449 GB, free: 7.379 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.166e-05/0.007037, allocations: 10.81 kB / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.296e-06/0.00704, allocations: 0 / 0.8449 GB, free: 7.367 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 2.031e-05/0.00706, allocations: 28.78 kB / 0.8449 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.00706, allocations: 0 / 0.8449 GB, free: 7.336 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001405/0.007201, allocations: 39.89 kB / 0.8449 GB, free: 7.297 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 9.381e-05/0.007295, allocations: 99.83 kB / 0.845 GB, free: 7.191 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0001927/0.007487, allocations: 263 kB / 0.8453 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.677e-06/0.007491, allocations: 0 / 0.8453 GB, free: 6.895 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.685e-05/0.007518, allocations: 32.77 kB / 0.8453 GB, free: 6.859 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001088/0.007627, allocations: 23.61 kB / 0.8453 GB, free: 6.84 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002734/0.0079, allocations: 203.7 kB / 0.8455 GB, free: 6.617 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3e-05/0.00793, allocations: 63.72 kB / 0.8456 GB, free: 6.535 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.269e-05/0.007953, allocations: 16.48 kB / 0.8456 GB, free: 6.52 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.675e-05/0.008049, allocations: 83.34 kB / 0.8457 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of SimCode: time 3.6e-07/0.00805, allocations: 0 / 0.8457 GB, free: 6.438 MB / 0.8073 GB Notification: Performance of Templates: time 0.003781/0.01183, allocations: 2.411 MB / 0.848 GB, free: 4.129 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 -s gbode -gbm=radauIIA3 -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.367022847756743]