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.001539/0.001539, allocations: 72.45 kB / 19.17 MB, free: 0.7305 MB / 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.001593/0.001593, allocations: 169.9 kB / 22.46 MB, free: 2.09 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.514/1.514, allocations: 177.1 MB / 202.7 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 178] 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 3.223/3.223, allocations: 429.6 MB / 0.6726 GB, free: 4.02 MB / 0.6355 GB " [Timeout remaining time 176] 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.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.795e-06/2.795e-06, allocations: 0 / 1.066 GB, free: 32.69 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.569e-05/2.848e-05, allocations: 2.281 kB / 1.066 GB, free: 32.69 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001748/0.001777, allocations: 0.8487 MB / 1.067 GB, free: 32.16 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0009697/0.002747, allocations: 0.9161 MB / 1.068 GB, free: 31.47 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.319e-05/0.00284, allocations: 6.75 kB / 1.068 GB, free: 31.46 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001168/0.002957, allocations: 18.12 kB / 1.068 GB, free: 31.45 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.485e-05/0.003001, allocations: 11.81 kB / 1.068 GB, free: 31.44 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002089/0.00321, allocations: 39.84 kB / 1.068 GB, free: 31.42 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001194/0.00333, allocations: 92.02 kB / 1.068 GB, free: 31.37 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001416/0.003471, allocations: 40.09 kB / 1.068 GB, free: 31.36 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001557/0.003627, allocations: 69.39 kB / 1.068 GB, free: 31.32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 6.653e-05/0.003694, allocations: 34.23 kB / 1.068 GB, free: 31.3 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 2.067e-05/0.003714, allocations: 8.406 kB / 1.068 GB, free: 31.3 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.454e-05/0.003759, allocations: 15.72 kB / 1.068 GB, free: 31.3 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 2.047e-05/0.003779, allocations: 17.77 kB / 1.068 GB, free: 31.29 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 3.169e-05/0.003811, allocations: 32.12 kB / 1.068 GB, free: 31.27 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001774/0.003988, allocations: 134.6 kB / 1.068 GB, free: 31.22 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 3.476e-06/0.003992, allocations: 0 / 1.068 GB, free: 31.22 MB / 1.01 GB Notification: Performance of FrontEnd: time 9.02e-07/0.003993, allocations: 0 / 1.068 GB, free: 31.22 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.02e-06/0.003998, allocations: 0 / 1.068 GB, free: 31.22 MB / 1.01 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.0004295/0.004427, allocations: 334 kB / 1.069 GB, free: 30.91 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 3.626e-05/0.004464, allocations: 9.094 kB / 1.069 GB, free: 30.91 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001475/0.004611, allocations: 22.91 kB / 1.069 GB, free: 30.9 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003168/0.004928, allocations: 172.2 kB / 1.069 GB, free: 30.74 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.217e-05/0.00494, allocations: 3.375 kB / 1.069 GB, free: 30.74 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.488e-05/0.004955, allocations: 9.812 kB / 1.069 GB, free: 30.74 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001887/0.005144, allocations: 128.2 kB / 1.069 GB, free: 30.64 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.428e-06/0.005153, allocations: 192 / 1.069 GB, free: 30.64 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.005165, allocations: 384 / 1.069 GB, free: 30.64 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.252e-06/0.005171, allocations: 10.78 kB / 1.069 GB, free: 30.63 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001176/0.005289, allocations: 47.23 kB / 1.069 GB, free: 30.61 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004778/0.005766, allocations: 398.6 kB / 1.069 GB, free: 30.25 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.005841, allocations: 31.08 kB / 1.069 GB, free: 30.21 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.9e-05/0.00588, allocations: 17 kB / 1.069 GB, free: 30.2 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 9.158e-06/0.005889, allocations: 4.031 kB / 1.069 GB, free: 30.2 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.275e-05/0.005902, allocations: 33.19 kB / 1.069 GB, free: 30.16 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 9.21e-07/0.005903, allocations: 0 / 1.069 GB, free: 30.16 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0002362/0.006139, allocations: 65.62 kB / 1.07 GB, free: 30.12 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.587e-05/0.006165, allocations: 51.41 kB / 1.07 GB, free: 30.05 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/0.006278, allocations: 146.9 kB / 1.07 GB, free: 29.93 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 1.207e-05/0.00629, allocations: 29.7 kB / 1.07 GB, free: 29.9 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 5.193e-05/0.006342, allocations: 112.9 kB / 1.07 GB, free: 29.79 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 1.06e-05/0.006353, allocations: 10.23 kB / 1.07 GB, free: 29.79 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.722e-05/0.00639, allocations: 23.19 kB / 1.07 GB, free: 29.77 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 5.607e-05/0.006446, allocations: 320.6 kB / 1.07 GB, free: 29.45 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.186e-05/0.006498, allocations: 15.38 kB / 1.07 GB, free: 29.45 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.044e-05/0.006558, allocations: 82.75 kB / 1.07 GB, free: 29.36 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.43e-05/0.006643, allocations: 46.81 kB / 1.07 GB, free: 29.32 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.006645, allocations: 0 / 1.07 GB, free: 29.32 MB / 1.01 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001326/0.006777, allocations: 85.77 kB / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.006791, allocations: 5.656 kB / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.619e-06/0.006795, allocations: 128 / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.006812, allocations: 6.812 kB / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.634e-05/0.006878, allocations: 5.719 kB / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.62e-06/0.006883, allocations: 3.422 kB / 1.07 GB, free: 29.27 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.924e-05/0.006943, allocations: 13.64 kB / 1.07 GB, free: 29.26 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.00695, allocations: 2.906 kB / 1.07 GB, free: 29.26 MB / 1.01 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 6.252e-05/0.007012, allocations: 123.4 kB / 1.071 GB, free: 29.13 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.449e-05/0.007037, allocations: 6.766 kB / 1.071 GB, free: 29.13 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.549e-05/0.007062, allocations: 14.28 kB / 1.071 GB, free: 29.12 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.007064, allocations: 0 / 1.071 GB, free: 29.12 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.118e-06/0.007068, allocations: 4 kB / 1.071 GB, free: 29.12 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.00707, allocations: 3.938 kB / 1.071 GB, free: 29.12 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001253/0.007196, allocations: 130 kB / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.243e-06/0.007197, allocations: 0 / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.665e-05/0.007234, allocations: 6.312 kB / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.613e-06/0.007235, allocations: 0 / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.274e-06/0.007243, allocations: 0 / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.007244, allocations: 0 / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.783e-06/0.007246, allocations: 2.906 kB / 1.071 GB, free: 28.98 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001353/0.007381, allocations: 159 kB / 1.071 GB, free: 28.83 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 1.18e-05/0.007393, allocations: 3.156 kB / 1.071 GB, free: 28.83 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.594e-05/0.007409, allocations: 0 / 1.071 GB, free: 28.83 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.533e-05/0.007484, allocations: 6.484 kB / 1.071 GB, free: 28.83 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.394e-05/0.007528, allocations: 14.36 kB / 1.071 GB, free: 28.82 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.007532, allocations: 0 / 1.071 GB, free: 28.82 MB / 1.01 GB Notification: Performance of sorting global known variables: time 4.992e-05/0.007582, allocations: 112.1 kB / 1.071 GB, free: 28.74 MB / 1.01 GB Notification: Performance of sort global known variables: time 7e-08/0.007582, allocations: 0 / 1.071 GB, free: 28.74 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0002397/0.007821, allocations: 12.75 kB / 1.071 GB, free: 28.73 MB / 1.01 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.0001176/0.007939, allocations: 105.2 kB / 1.071 GB, free: 28.64 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001754/0.008114, allocations: 38.31 kB / 1.071 GB, free: 28.63 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.008116, allocations: 0 / 1.071 GB, free: 28.63 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 4.241e-05/0.008158, allocations: 11.02 kB / 1.071 GB, free: 28.63 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.008422, allocations: 10.41 kB / 1.071 GB, free: 28.62 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003262/0.008749, allocations: 162.6 kB / 1.071 GB, free: 28.48 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.009e-05/0.008809, allocations: 85.98 kB / 1.071 GB, free: 28.4 MB / 1.01 GB Notification: Performance of simCode: alias equations: time 4.47e-05/0.008853, allocations: 3.562 kB / 1.071 GB, free: 28.4 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.513e-05/0.008888, allocations: 17.64 kB / 1.071 GB, free: 28.39 MB / 1.01 GB Notification: Performance of SimCode: time 4.1e-07/0.008889, allocations: 0 / 1.071 GB, free: 28.39 MB / 1.01 GB Notification: Performance of Templates: time 0.003466/0.01235, allocations: 0.821 MB / 1.072 GB, free: 28.28 MB / 1.01 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=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 9.355386901006568]