Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.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.001275/0.001275, allocations: 72.19 kB / 9.903 MB, free: 0.7852 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0016/0.002874, allocations: 435.8 kB / 10.33 MB, free: 368 kB / 10.45 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.001051/0.001051, allocations: 161.1 kB / 11.23 MB, free: 2.941 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001343/0.002394, allocations: 463.6 kB / 11.68 MB, free: 2.484 MB / 13.93 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.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.324 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.1191/1.145, allocations: 53.66 MB / 243.2 MB, free: 15.59 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-master/package.mo): time 2.676/2.676, allocations: 446.7 MB / 0.6745 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.3057/2.981, allocations: 145.9 MB / 0.817 GB, free: 4.227 MB / 0.7917 GB " [Timeout remaining time 177] Using package Buildings with version 15.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 15.0.0-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.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") translateModel(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|makUpWat.watLev|makUpWat.watLevMin|makUpWat.watLevMax|makUpWat.yMakUp",fileNamePrefix="Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.585e-06/2.585e-06, allocations: 0 / 0.8183 GB, free: 2.926 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.799e-05/3.058e-05, allocations: 2.312 kB / 0.8183 GB, free: 2.922 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.002309/0.002339, allocations: 0.9101 MB / 0.8192 GB, free: 2.008 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001298/0.003637, allocations: 0.9481 MB / 0.8201 GB, free: 1.047 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00012/0.003757, allocations: 7.938 kB / 0.8201 GB, free: 1.039 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 7.949e-05/0.003837, allocations: 7.875 kB / 0.8201 GB, free: 1.031 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.104e-05/0.003888, allocations: 15.8 kB / 0.8201 GB, free: 1.016 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.004025, allocations: 39.91 kB / 0.8202 GB, free: 0.9766 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001428/0.004168, allocations: 95.77 kB / 0.8203 GB, free: 0.8828 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001213/0.004289, allocations: 43.86 kB / 0.8203 GB, free: 0.8398 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002013/0.00449, allocations: 71.81 kB / 0.8204 GB, free: 0.7695 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 6.838e-05/0.004559, allocations: 23.91 kB / 0.8204 GB, free: 0.7461 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.697e-05/0.004576, allocations: 4 kB / 0.8204 GB, free: 0.7422 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 6.436e-05/0.00464, allocations: 15.98 kB / 0.8204 GB, free: 0.7266 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.799e-05/0.004658, allocations: 11.94 kB / 0.8204 GB, free: 0.7148 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.075e-05/0.004689, allocations: 19.94 kB / 0.8204 GB, free: 0.6953 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001717/0.00486, allocations: 59.66 kB / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.026e-05/0.004881, allocations: 0 / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of FrontEnd: time 1.232e-06/0.004882, allocations: 0 / 0.8205 GB, free: 0.6367 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 2.141e-05/0.004903, allocations: 4 kB / 0.8205 GB, free: 0.6328 MB / 0.7917 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005344/0.005438, allocations: 312.2 kB / 0.8208 GB, free: 308 kB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 4.743e-05/0.005485, allocations: 8.625 kB / 0.8208 GB, free: 300 kB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000198/0.005683, allocations: 90.03 kB / 0.8209 GB, free: 192 kB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002352/0.005918, allocations: 153.6 kB / 0.821 GB, free: 12 kB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.482e-05/0.005933, allocations: 4.375 kB / 0.821 GB, free: 8 kB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.754e-05/0.005971, allocations: 16.44 kB / 0.8211 GB, free: 15.99 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001894/0.00616, allocations: 106.3 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.749e-06/0.00617, allocations: 4.188 kB / 0.8212 GB, free: 15.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.183e-05/0.006182, allocations: 8.375 kB / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.784e-06/0.00619, allocations: 384 / 0.8212 GB, free: 15.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.828e-05/0.006238, allocations: 23.86 kB / 0.8212 GB, free: 15.83 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004665/0.006704, allocations: 327.3 kB / 0.8215 GB, free: 15.49 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 6.471e-05/0.006769, allocations: 30.56 kB / 0.8215 GB, free: 15.45 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.455e-05/0.006784, allocations: 4.859 kB / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.006798, allocations: 0 / 0.8215 GB, free: 15.44 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.528e-05/0.006834, allocations: 42.61 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 1.793e-06/0.006835, allocations: 4 kB / 0.8216 GB, free: 15.39 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 0.0001403/0.006976, allocations: 37.73 kB / 0.8216 GB, free: 15.34 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.023e-05/0.007016, allocations: 51.41 kB / 0.8217 GB, free: 15.28 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.007134, allocations: 142.6 kB / 0.8218 GB, free: 15.13 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.824e-05/0.007152, allocations: 25.7 kB / 0.8218 GB, free: 15.1 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 6.823e-05/0.007221, allocations: 111.8 kB / 0.8219 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.755e-05/0.007238, allocations: 15.94 kB / 0.822 GB, free: 14.97 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.088e-05/0.007279, allocations: 13.72 kB / 0.822 GB, free: 14.95 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.007382, allocations: 326.8 kB / 0.8223 GB, free: 14.62 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.427e-05/0.007396, allocations: 7.938 kB / 0.8223 GB, free: 14.61 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.099e-05/0.007427, allocations: 39.55 kB / 0.8223 GB, free: 14.56 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.148e-05/0.007479, allocations: 39.36 kB / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.544e-06/0.007481, allocations: 0 / 0.8224 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.788e-05/0.007569, allocations: 61.55 kB / 0.8224 GB, free: 14.45 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.59e-05/0.007585, allocations: 4 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.007591, allocations: 0 / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.007604, allocations: 4.094 kB / 0.8224 GB, free: 14.44 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.391e-05/0.007668, allocations: 11.98 kB / 0.8224 GB, free: 14.43 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.921e-06/0.007674, allocations: 4 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.306e-05/0.007707, allocations: 4 kB / 0.8224 GB, free: 14.42 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.007714, allocations: 4 kB / 0.8224 GB, free: 14.41 MB / 0.8073 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 3 (makUpWat.hys.y,$PRE.makUpWat.hys.y,makUpWat.greEqu.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * 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.422e-05/0.007788, allocations: 113.7 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.967e-05/0.007808, allocations: 4 kB / 0.8226 GB, free: 14.29 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.291e-05/0.007841, allocations: 19.89 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.495e-06/0.007843, allocations: 0 / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.265e-06/0.007846, allocations: 0 / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.767e-06/0.007849, allocations: 4 kB / 0.8226 GB, free: 14.27 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.00799, allocations: 81.81 kB / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.007991, allocations: 0 / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.243e-05/0.008013, allocations: 0 / 0.8227 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.104e-05/0.008024, allocations: 7.953 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.008027, allocations: 0 / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.008034, allocations: 3.984 kB / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.02e-07/0.008035, allocations: 0 / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.663e-06/0.008037, allocations: 0 / 0.8227 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001095/0.008146, allocations: 143.5 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.717e-05/0.008163, allocations: 4 kB / 0.8228 GB, free: 14 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.872e-05/0.008212, allocations: 8.031 kB / 0.8228 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.263e-05/0.008255, allocations: 3.984 kB / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.866e-06/0.008258, allocations: 0 / 0.8228 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 3.246e-05/0.00829, allocations: 31.7 kB / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of sort global known variables: time 9e-08/0.00829, allocations: 0 / 0.8229 GB, free: 13.95 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001867/0.008477, allocations: 15.95 kB / 0.8229 GB, free: 13.94 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: 1 (makUpWat.hys.y) * Number of discrete states: 1 (makUpWat.hys.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * 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 Backend phase and start with SimCode phase: time 0.0001055/0.008582, allocations: 80.41 kB / 0.8229 GB, free: 13.85 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.61e-05/0.008668, allocations: 25.09 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 5.65e-06/0.008674, allocations: 3.938 kB / 0.823 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.466e-05/0.008689, allocations: 12.8 kB / 0.823 GB, free: 13.8 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.008898, allocations: 23.92 kB / 0.823 GB, free: 13.78 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002958/0.009194, allocations: 164.6 kB / 0.8232 GB, free: 13.59 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.351e-05/0.009238, allocations: 59.34 kB / 0.8232 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 4.435e-05/0.009282, allocations: 8.625 kB / 0.8232 GB, free: 13.51 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.961e-05/0.009352, allocations: 67.36 kB / 0.8233 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of SimCode: time 9.32e-07/0.009353, allocations: 0 / 0.8233 GB, free: 13.44 MB / 0.8073 GB Notification: Performance of Templates: time 0.003262/0.01261, allocations: 0.8406 MB / 0.8241 GB, free: 12.63 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.sim & ./Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.ref.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.561245923861861]