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.001029/0.001029, allocations: 77.09 kB / 20.66 MB, free: 3.844 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.001016/0.001016, allocations: 169 kB / 24.06 MB, free: 456 kB / 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.9666/0.9666, allocations: 177.1 MB / 204.5 MB, free: 5.492 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.111/2.111, allocations: 429.5 MB / 0.6743 GB, free: 3.914 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 1.522e-06/1.522e-06, allocations: 0 / 0.8795 GB, free: 5.949 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.319e-05/1.471e-05, allocations: 6.594 kB / 0.8795 GB, free: 5.945 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Pumps.ChilledWater.Subsequences.Validation.EnableLead_headered): time 0.00151/0.001525, allocations: 0.7962 MB / 0.8803 GB, free: 5.172 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001195/0.00272, allocations: 1.283 MB / 0.8815 GB, free: 3.879 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.209e-05/0.002782, allocations: 3.938 kB / 0.8815 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.000114/0.002896, allocations: 16.45 kB / 0.8815 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 3.047e-05/0.002927, allocations: 25.44 kB / 0.8816 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004604/0.003387, allocations: 229.1 kB / 0.8818 GB, free: 3.613 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0002213/0.003609, allocations: 231.6 kB / 0.882 GB, free: 3.387 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001195/0.003728, allocations: 37.97 kB / 0.882 GB, free: 3.34 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001032/0.003831, allocations: 127.8 kB / 0.8822 GB, free: 3.215 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.595e-05/0.003927, allocations: 63.83 kB / 0.8822 GB, free: 3.152 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.802e-05/0.003955, allocations: 22.84 kB / 0.8822 GB, free: 3.133 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.812e-05/0.004013, allocations: 39.92 kB / 0.8823 GB, free: 3.094 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.185e-05/0.004045, allocations: 27.91 kB / 0.8823 GB, free: 3.066 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.952e-05/0.004105, allocations: 71.88 kB / 0.8824 GB, free: 2.996 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.000174/0.004279, allocations: 175.5 kB / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 1.603e-06/0.00428, allocations: 0 / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of FrontEnd: time 9.02e-07/0.004281, allocations: 0 / 0.8825 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 3.787e-06/0.004285, allocations: 0.7188 kB / 0.8825 GB, free: 2.824 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.0003507/0.004636, allocations: 0.5075 MB / 0.883 GB, free: 2.27 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 2.754e-05/0.004663, allocations: 9.688 kB / 0.883 GB, free: 2.262 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.553e-05/0.004709, allocations: 20.89 kB / 0.8831 GB, free: 2.242 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001403/0.004849, allocations: 168.4 kB / 0.8832 GB, free: 2.051 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.467e-05/0.004864, allocations: 12.56 kB / 0.8832 GB, free: 2.039 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.026e-05/0.004884, allocations: 12.38 kB / 0.8833 GB, free: 2.027 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.516e-05/0.004969, allocations: 88.58 kB / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.102e-06/0.004975, allocations: 0 / 0.8833 GB, free: 1.934 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.055e-06/0.004983, allocations: 4 kB / 0.8833 GB, free: 1.93 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.789e-06/0.004988, allocations: 8 kB / 0.8833 GB, free: 1.922 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.099e-05/0.005019, allocations: 26.22 kB / 0.8834 GB, free: 1.898 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000337/0.005356, allocations: 427.2 kB / 0.8838 GB, free: 1.449 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 5.614e-05/0.005412, allocations: 46.97 kB / 0.8838 GB, free: 1.391 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.005427, allocations: 15.77 kB / 0.8838 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 4.679e-06/0.005432, allocations: 0 / 0.8838 GB, free: 1.371 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.355e-05/0.005505, allocations: 77.03 kB / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=8): time 6.82e-07/0.005506, allocations: 0 / 0.8839 GB, free: 1.281 MB / 0.8386 GB Notification: Performance of matching and sorting (n=8): time 0.0001341/0.00564, allocations: 101.5 kB / 0.884 GB, free: 1.176 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.775e-05/0.005668, allocations: 67.39 kB / 0.8841 GB, free: 1.098 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.238e-05/0.00575, allocations: 197.8 kB / 0.8843 GB, free: 0.8867 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.895e-05/0.005769, allocations: 33.7 kB / 0.8843 GB, free: 0.8477 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 5.894e-05/0.005828, allocations: 159.1 kB / 0.8844 GB, free: 0.6836 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.493e-05/0.005843, allocations: 23.88 kB / 0.8845 GB, free: 0.6602 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.361e-05/0.005907, allocations: 63.28 kB / 0.8845 GB, free: 0.5898 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001025/0.006009, allocations: 0.4922 MB / 0.885 GB, free: 88 kB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.345e-05/0.006093, allocations: 111.3 kB / 0.8851 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.268e-05/0.006185, allocations: 165.2 kB / 0.8853 GB, free: 15.76 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001155/0.006301, allocations: 189 kB / 0.8855 GB, free: 15.54 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.006304, allocations: 4 kB / 0.8855 GB, free: 15.53 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0002483/0.006552, allocations: 316.2 kB / 0.8858 GB, free: 15.19 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.496e-05/0.006587, allocations: 69.73 kB / 0.8858 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.006592, allocations: 4 kB / 0.8858 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.234e-06/0.006599, allocations: 4.188 kB / 0.8858 GB, free: 15.11 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.694e-05/0.006616, allocations: 4 kB / 0.8858 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.707e-06/0.00662, allocations: 4 kB / 0.8858 GB, free: 15.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.006762, allocations: 43.91 kB / 0.8859 GB, free: 15.05 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.131e-05/0.006783, allocations: 15.94 kB / 0.8859 GB, free: 15.04 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.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.906e-05/0.006862, allocations: 174.2 kB / 0.8861 GB, free: 14.86 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.284e-05/0.006875, allocations: 15.94 kB / 0.8861 GB, free: 14.84 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.024e-05/0.006895, allocations: 12.78 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.903e-06/0.006897, allocations: 0 / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.365e-06/0.006899, allocations: 4 kB / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.006902, allocations: 0 / 0.8861 GB, free: 14.82 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.804e-05/0.00698, allocations: 129.1 kB / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.442e-06/0.006981, allocations: 0 / 0.8862 GB, free: 14.67 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.367e-06/0.006985, allocations: 4 kB / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.71e-07/0.006985, allocations: 0 / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.889e-06/0.00699, allocations: 4 kB / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.006992, allocations: 4 kB / 0.8862 GB, free: 14.66 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.623e-06/0.006993, allocations: 7.875 kB / 0.8862 GB, free: 14.65 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.858e-05/0.007082, allocations: 124.3 kB / 0.8864 GB, free: 14.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.696e-06/0.007091, allocations: 11.94 kB / 0.8864 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.187e-05/0.007103, allocations: 0 / 0.8864 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.719e-05/0.00712, allocations: 4 kB / 0.8864 GB, free: 14.49 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.007143, allocations: 3.984 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.512e-06/0.00715, allocations: 8 kB / 0.8864 GB, free: 14.48 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 0.0005145/0.007664, allocations: 139.2 kB / 0.8865 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of sort global known variables: time 6.1e-08/0.007664, allocations: 0 / 0.8865 GB, free: 14.34 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000233/0.007897, allocations: 35.95 kB / 0.8865 GB, free: 14.3 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.0001011/0.007999, allocations: 115.2 kB / 0.8867 GB, free: 14.18 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0002383/0.008237, allocations: 273.7 kB / 0.8869 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.032e-06/0.008238, allocations: 0 / 0.8869 GB, free: 13.88 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 3.215e-05/0.00827, allocations: 31.66 kB / 0.887 GB, free: 13.84 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001865/0.008457, allocations: 28.59 kB / 0.887 GB, free: 13.81 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002784/0.008735, allocations: 212.8 kB / 0.8872 GB, free: 13.58 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.79e-05/0.008773, allocations: 71.33 kB / 0.8872 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 2.542e-05/0.008798, allocations: 4.5 kB / 0.8873 GB, free: 13.49 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001247/0.008923, allocations: 114.2 kB / 0.8874 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of SimCode: time 5.61e-07/0.008923, allocations: 0 / 0.8874 GB, free: 13.38 MB / 0.8542 GB Notification: Performance of Templates: time 0.004269/0.01319, allocations: 2.461 MB / 0.8898 GB, free: 11.01 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.275173202157021]