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.001265/0.001265, allocations: 93.06 kB / 19.65 MB, free: 276 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.001066/0.001066, allocations: 165 kB / 23.02 MB, free: 1.551 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.005/1.005, allocations: 177.1 MB / 203.4 MB, free: 5.637 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.169/2.169, allocations: 429.5 MB / 0.6733 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.865e-06/2.865e-06, allocations: 0 / 0.8783 GB, free: 6.234 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.943e-05/3.229e-05, allocations: 10.19 kB / 0.8783 GB, free: 6.227 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.002642/0.002674, allocations: 0.8033 MB / 0.8791 GB, free: 5.441 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001981/0.004655, allocations: 1.287 MB / 0.8803 GB, free: 4.145 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.929e-05/0.004755, allocations: 3.938 kB / 0.8803 GB, free: 4.141 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001475/0.004902, allocations: 16.97 kB / 0.8803 GB, free: 4.125 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.802e-05/0.00495, allocations: 20.62 kB / 0.8804 GB, free: 4.105 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007974/0.005748, allocations: 236.9 kB / 0.8806 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0003673/0.006115, allocations: 224.1 kB / 0.8808 GB, free: 3.656 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000167/0.006282, allocations: 39.42 kB / 0.8808 GB, free: 3.609 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002009/0.006483, allocations: 123.8 kB / 0.8809 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001524/0.006635, allocations: 67.77 kB / 0.881 GB, free: 3.422 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 5.311e-05/0.006688, allocations: 20 kB / 0.881 GB, free: 3.402 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 9.877e-05/0.006787, allocations: 44.5 kB / 0.8811 GB, free: 3.359 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 4.607e-05/0.006833, allocations: 23.92 kB / 0.8811 GB, free: 3.336 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 0.0001102/0.006943, allocations: 68.62 kB / 0.8812 GB, free: 3.27 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0003409/0.007284, allocations: 179.5 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.366e-06/0.007288, allocations: 1.094 kB / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.182e-06/0.007289, allocations: 0 / 0.8813 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 7.414e-06/0.007296, allocations: 3.938 kB / 0.8813 GB, free: 3.09 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.0006463/0.007943, allocations: 0.5042 MB / 0.8818 GB, free: 2.539 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.609e-05/0.007989, allocations: 9.25 kB / 0.8818 GB, free: 2.531 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001006/0.008089, allocations: 28.88 kB / 0.8819 GB, free: 2.504 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/0.008363, allocations: 156.7 kB / 0.882 GB, free: 2.324 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.206e-05/0.008395, allocations: 12.56 kB / 0.882 GB, free: 2.312 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.461e-05/0.00844, allocations: 21.28 kB / 0.882 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002078/0.008647, allocations: 91.03 kB / 0.8821 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.354e-05/0.008661, allocations: 1.031 kB / 0.8821 GB, free: 2.195 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.008679, allocations: 8 kB / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.789e-06/0.008689, allocations: 0 / 0.8821 GB, free: 2.188 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.589e-05/0.008775, allocations: 29.11 kB / 0.8822 GB, free: 2.16 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006946/0.009469, allocations: 462.6 kB / 0.8826 GB, free: 1.668 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001074/0.009577, allocations: 48.06 kB / 0.8827 GB, free: 1.609 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.417e-05/0.009611, allocations: 15.69 kB / 0.8827 GB, free: 1.59 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 7.595e-06/0.009618, allocations: 4 kB / 0.8827 GB, free: 1.586 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001557/0.009774, allocations: 86.14 kB / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 2.535e-06/0.009777, allocations: 0 / 0.8828 GB, free: 1.488 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.000284/0.01006, allocations: 109 kB / 0.8829 GB, free: 1.379 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.75e-05/0.0101, allocations: 51.41 kB / 0.8829 GB, free: 1.316 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001604/0.01026, allocations: 215.9 kB / 0.8831 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 3.415e-05/0.01029, allocations: 33.7 kB / 0.8831 GB, free: 1.051 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.000102/0.01039, allocations: 159.1 kB / 0.8833 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 2.199e-05/0.01042, allocations: 15.91 kB / 0.8833 GB, free: 0.8711 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001218/0.01054, allocations: 67.3 kB / 0.8834 GB, free: 0.7969 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001544/0.01069, allocations: 0.4884 MB / 0.8839 GB, free: 304 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001773/0.01087, allocations: 123.2 kB / 0.884 GB, free: 168 kB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002053/0.01108, allocations: 181.1 kB / 0.8841 GB, free: 15.95 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002161/0.01129, allocations: 186.6 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.236e-06/0.0113, allocations: 1.156 kB / 0.8843 GB, free: 15.73 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0007687/0.01206, allocations: 333.5 kB / 0.8846 GB, free: 15.37 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.523e-05/0.01212, allocations: 71.39 kB / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/0.01213, allocations: 0 / 0.8847 GB, free: 15.29 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.182e-05/0.01215, allocations: 8.188 kB / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.244e-05/0.01217, allocations: 0 / 0.8847 GB, free: 15.28 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.062e-05/0.01218, allocations: 8.297 kB / 0.8847 GB, free: 15.27 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002545/0.01244, allocations: 47.86 kB / 0.8848 GB, free: 15.23 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.417e-05/0.01247, allocations: 11.98 kB / 0.8848 GB, free: 15.21 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.0001272/0.0126, allocations: 168.5 kB / 0.8849 GB, free: 15.04 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.816e-05/0.01262, allocations: 15.95 kB / 0.885 GB, free: 15.02 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.444e-05/0.01267, allocations: 16.77 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.725e-06/0.01267, allocations: 4 kB / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.01268, allocations: 0 / 0.885 GB, free: 15 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.71e-06/0.01268, allocations: 3.938 kB / 0.885 GB, free: 14.99 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001499/0.01283, allocations: 152.5 kB / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.01283, allocations: 0 / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.082e-05/0.01285, allocations: 0 / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.497e-06/0.01285, allocations: 0 / 0.8851 GB, free: 14.81 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.325e-05/0.01286, allocations: 7.984 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.837e-06/0.01287, allocations: 3.984 kB / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.232e-06/0.01287, allocations: 0 / 0.8851 GB, free: 14.8 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.01304, allocations: 128.2 kB / 0.8853 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 1.564e-05/0.01305, allocations: 11.95 kB / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.669e-05/0.01307, allocations: 0 / 0.8853 GB, free: 14.64 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.681e-05/0.0131, allocations: 4 kB / 0.8853 GB, free: 14.63 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.191e-05/0.01314, allocations: 7.984 kB / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.598e-06/0.01315, allocations: 4 kB / 0.8853 GB, free: 14.62 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 7.091e-05/0.01322, allocations: 145.3 kB / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1e-07/0.01322, allocations: 0 / 0.8854 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000306/0.01352, allocations: 47.83 kB / 0.8855 GB, free: 14.43 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.0001758/0.0137, allocations: 107.2 kB / 0.8856 GB, free: 14.32 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0003729/0.01407, allocations: 301.7 kB / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.01408, allocations: 0 / 0.8859 GB, free: 13.98 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.01413, allocations: 27.67 kB / 0.8859 GB, free: 13.95 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000273/0.0144, allocations: 27.86 kB / 0.8859 GB, free: 13.93 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004631/0.01486, allocations: 214.4 kB / 0.8861 GB, free: 13.69 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.605e-05/0.01491, allocations: 63.72 kB / 0.8862 GB, free: 13.61 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.792e-05/0.01496, allocations: 20.42 kB / 0.8862 GB, free: 13.59 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.126e-05/0.01499, allocations: 12.5 kB / 0.8862 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of SimCode: time 8.51e-07/0.01499, allocations: 0 / 0.8862 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of Templates: time 0.006087/0.02108, allocations: 2.217 MB / 0.8884 GB, free: 11.47 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.539176258724183]