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.0008088/0.0008088, allocations: 81.05 kB / 9.981 MB, free: 0.707 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001058/0.001866, allocations: 440 kB / 10.41 MB, free: 284 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.0007121/0.0007121, allocations: 157.1 kB / 11.33 MB, free: 2.844 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009769/0.001689, allocations: 475.6 kB / 11.79 MB, free: 2.375 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 0.9794/0.9794, allocations: 177.2 MB / 189.7 MB, free: 5.23 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.09615/1.076, allocations: 53.67 MB / 243.4 MB, free: 15.5 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.343/2.343, allocations: 447.1 MB / 0.675 GB, free: 5.867 MB / 0.6511 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.2562/2.599, allocations: 146 MB / 0.8176 GB, free: 3.785 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 1.202e-06/1.202e-06, allocations: 3.938 kB / 0.8189 GB, free: 2.477 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.144e-05/1.264e-05, allocations: 2.312 kB / 0.8189 GB, free: 2.473 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001244/0.001256, allocations: 0.9077 MB / 0.8198 GB, free: 1.559 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.0007251/0.001982, allocations: 0.952 MB / 0.8207 GB, free: 0.5938 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.56e-05/0.002047, allocations: 4 kB / 0.8207 GB, free: 0.5898 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 5.067e-05/0.002098, allocations: 15.75 kB / 0.8207 GB, free: 0.5742 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 3.448e-05/0.002132, allocations: 11.81 kB / 0.8208 GB, free: 0.5625 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 9.76e-05/0.00223, allocations: 43.89 kB / 0.8208 GB, free: 0.5195 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001007/0.002331, allocations: 95.77 kB / 0.8209 GB, free: 436 kB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 9.224e-05/0.002423, allocations: 39.86 kB / 0.8209 GB, free: 396 kB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001399/0.002563, allocations: 75.75 kB / 0.821 GB, free: 320 kB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.259e-05/0.002615, allocations: 23.91 kB / 0.821 GB, free: 296 kB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.446e-05/0.00263, allocations: 8 kB / 0.821 GB, free: 288 kB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.943e-05/0.002679, allocations: 12 kB / 0.821 GB, free: 276 kB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.604e-05/0.002695, allocations: 11.94 kB / 0.8211 GB, free: 264 kB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 2.123e-05/0.002716, allocations: 19.94 kB / 0.8211 GB, free: 244 kB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001162/0.002833, allocations: 63.64 kB / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 9.818e-06/0.002842, allocations: 0 / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of FrontEnd: time 6.11e-07/0.002843, allocations: 0 / 0.8211 GB, free: 180 kB / 0.7917 GB Notification: Performance of Transformations before backend: time 9.488e-06/0.002853, allocations: 0 / 0.8211 GB, free: 180 kB / 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.0003364/0.003189, allocations: 312.2 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.778e-05/0.003217, allocations: 8.031 kB / 0.8214 GB, free: 15.84 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001199/0.003337, allocations: 90.03 kB / 0.8215 GB, free: 15.73 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001388/0.003475, allocations: 159.9 kB / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.532e-06/0.003482, allocations: 384 / 0.8217 GB, free: 15.55 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.277e-05/0.003495, allocations: 12.38 kB / 0.8217 GB, free: 15.54 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001115/0.003606, allocations: 114.3 kB / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.003612, allocations: 192 / 0.8218 GB, free: 15.41 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.275e-06/0.00362, allocations: 4.375 kB / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.087e-06/0.003624, allocations: 384 / 0.8218 GB, free: 15.4 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.643e-05/0.00365, allocations: 19.92 kB / 0.8218 GB, free: 15.38 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002735/0.003924, allocations: 335.3 kB / 0.8221 GB, free: 15.03 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.003964, allocations: 30.61 kB / 0.8222 GB, free: 14.99 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.09e-05/0.003975, allocations: 8.844 kB / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 1.013e-05/0.003985, allocations: 0 / 0.8222 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.594e-05/0.004001, allocations: 34.62 kB / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.21e-07/0.004001, allocations: 0 / 0.8222 GB, free: 14.94 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 8.829e-05/0.004089, allocations: 41.62 kB / 0.8223 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001052/0.004195, allocations: 51.41 kB / 0.8223 GB, free: 14.83 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.897e-05/0.004264, allocations: 145.6 kB / 0.8224 GB, free: 14.68 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.047e-05/0.004274, allocations: 29.83 kB / 0.8225 GB, free: 14.64 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.276e-05/0.004317, allocations: 115.8 kB / 0.8226 GB, free: 14.52 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.532e-06/0.004323, allocations: 11.94 kB / 0.8226 GB, free: 14.51 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.38e-05/0.004347, allocations: 13.72 kB / 0.8226 GB, free: 14.49 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.356e-05/0.004411, allocations: 330.8 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.496e-06/0.004419, allocations: 4 kB / 0.8229 GB, free: 14.16 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.923e-05/0.004438, allocations: 31.42 kB / 0.823 GB, free: 14.11 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.336e-05/0.004472, allocations: 39.34 kB / 0.823 GB, free: 14.06 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.004473, allocations: 8 kB / 0.823 GB, free: 14.05 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 4.888e-05/0.004522, allocations: 53.61 kB / 0.8231 GB, free: 14 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.08e-05/0.004533, allocations: 8 kB / 0.8231 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.004537, allocations: 3.938 kB / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.275e-06/0.004545, allocations: 0 / 0.8231 GB, free: 13.98 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.473e-05/0.00459, allocations: 20.05 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.004594, allocations: 4 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.111e-05/0.004615, allocations: 4 kB / 0.8231 GB, free: 13.96 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.477e-06/0.004618, allocations: 0 / 0.8231 GB, free: 13.96 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 4.801e-05/0.004666, allocations: 121.8 kB / 0.8232 GB, free: 13.83 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.195e-05/0.004678, allocations: 4 kB / 0.8232 GB, free: 13.82 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.793e-05/0.004696, allocations: 11.95 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.333e-06/0.004697, allocations: 0 / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.964e-06/0.004699, allocations: 4 kB / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.434e-06/0.004702, allocations: 0 / 0.8232 GB, free: 13.81 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.232e-05/0.004774, allocations: 77.81 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.31e-07/0.004775, allocations: 0 / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.127e-06/0.004784, allocations: 4 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 5.821e-06/0.00479, allocations: 3.953 kB / 0.8233 GB, free: 13.71 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.01e-07/0.00479, allocations: 8 kB / 0.8233 GB, free: 13.7 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.329e-06/0.004795, allocations: 7.922 kB / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.81e-07/0.004795, allocations: 0 / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.004796, allocations: 0 / 0.8233 GB, free: 13.69 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 5.998e-05/0.004856, allocations: 143.5 kB / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.004866, allocations: 0 / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.658e-05/0.004893, allocations: 0 / 0.8235 GB, free: 13.54 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.77e-05/0.004921, allocations: 7.984 kB / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.093e-06/0.004923, allocations: 0 / 0.8235 GB, free: 13.53 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.97e-05/0.004943, allocations: 24.84 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.004943, allocations: 4.031 kB / 0.8235 GB, free: 13.5 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001202/0.005063, allocations: 11.95 kB / 0.8235 GB, free: 13.48 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 5.821e-05/0.005121, allocations: 84.41 kB / 0.8236 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.308e-05/0.005174, allocations: 28.72 kB / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 3.807e-06/0.005178, allocations: 0 / 0.8236 GB, free: 13.36 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.087e-05/0.005199, allocations: 16.84 kB / 0.8236 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001495/0.005348, allocations: 119.6 kB / 0.8237 GB, free: 13.21 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001853/0.005534, allocations: 152.8 kB / 0.8239 GB, free: 13.04 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.971e-05/0.005563, allocations: 63.34 kB / 0.824 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.005595, allocations: 12.66 kB / 0.824 GB, free: 12.94 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.691e-05/0.005642, allocations: 63.38 kB / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of SimCode: time 3.71e-07/0.005642, allocations: 0 / 0.824 GB, free: 12.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.002026/0.007668, allocations: 0.8299 MB / 0.8248 GB, free: 12.07 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,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 5.092712325043976]