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.001082/0.001082, allocations: 72.5 kB / 19.93 MB, free: 4.633 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.0008779/0.0008779, allocations: 177.9 kB / 23.21 MB, free: 1.352 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 0.8913/0.8913, allocations: 177.1 MB / 203.5 MB, free: 5.719 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 1.97/1.97, allocations: 429.6 MB / 0.6733 GB, free: 4.062 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.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.174e-06/2.174e-06, allocations: 0 / 1.066 GB, free: 33.38 MB / 1.01 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.675e-05/2.892e-05, allocations: 9.188 kB / 1.066 GB, free: 33.37 MB / 1.01 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001434/0.001463, allocations: 0.8442 MB / 1.067 GB, free: 32.84 MB / 1.01 GB Notification: Performance of NFInst.instExpressions: time 0.0008135/0.002277, allocations: 0.9153 MB / 1.068 GB, free: 32.16 MB / 1.01 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.425e-05/0.002371, allocations: 6.875 kB / 1.068 GB, free: 32.15 MB / 1.01 GB Notification: Performance of NFTyping.typeComponents: time 0.0001291/0.0025, allocations: 11.16 kB / 1.068 GB, free: 32.14 MB / 1.01 GB Notification: Performance of NFTyping.typeBindings: time 4.436e-05/0.002545, allocations: 19.8 kB / 1.068 GB, free: 32.12 MB / 1.01 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002071/0.002752, allocations: 38.02 kB / 1.068 GB, free: 32.11 MB / 1.01 GB Notification: Performance of NFFlatten.flatten: time 0.0001054/0.002857, allocations: 92.92 kB / 1.068 GB, free: 32.06 MB / 1.01 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001256/0.002983, allocations: 38.45 kB / 1.068 GB, free: 32.04 MB / 1.01 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001495/0.003132, allocations: 65.72 kB / 1.068 GB, free: 32 MB / 1.01 GB Notification: Performance of NFSimplifyModel.simplify: time 6.22e-05/0.003194, allocations: 27.12 kB / 1.068 GB, free: 31.99 MB / 1.01 GB Notification: Performance of NFPackage.collectConstants: time 1.962e-05/0.003214, allocations: 8.031 kB / 1.068 GB, free: 31.99 MB / 1.01 GB Notification: Performance of NFFlatten.collectFunctions: time 4.512e-05/0.003259, allocations: 22.91 kB / 1.068 GB, free: 31.98 MB / 1.01 GB Notification: Performance of NFScalarize.scalarize: time 1.711e-05/0.003276, allocations: 22.2 kB / 1.068 GB, free: 31.97 MB / 1.01 GB Notification: Performance of NFVerifyModel.verify: time 2.771e-05/0.003304, allocations: 24.66 kB / 1.068 GB, free: 31.95 MB / 1.01 GB Notification: Performance of NFConvertDAE.convert: time 0.0001689/0.003473, allocations: 139.8 kB / 1.068 GB, free: 31.9 MB / 1.01 GB Notification: Performance of FrontEnd - DAE generated: time 4.198e-06/0.003477, allocations: 3.281 kB / 1.068 GB, free: 31.9 MB / 1.01 GB Notification: Performance of FrontEnd: time 1.373e-06/0.003478, allocations: 0 / 1.068 GB, free: 31.9 MB / 1.01 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.003483, allocations: 0 / 1.068 GB, free: 31.9 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.0003969/0.00388, allocations: 333.4 kB / 1.069 GB, free: 31.59 MB / 1.01 GB Notification: Performance of prepare preOptimizeDAE: time 4.495e-05/0.003925, allocations: 8.656 kB / 1.069 GB, free: 31.59 MB / 1.01 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000128/0.004053, allocations: 19.45 kB / 1.069 GB, free: 31.59 MB / 1.01 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002504/0.004304, allocations: 172.4 kB / 1.069 GB, free: 31.43 MB / 1.01 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.819e-06/0.004313, allocations: 3.156 kB / 1.069 GB, free: 31.43 MB / 1.01 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.129e-05/0.004325, allocations: 10.47 kB / 1.069 GB, free: 31.43 MB / 1.01 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.004472, allocations: 120.3 kB / 1.069 GB, free: 31.33 MB / 1.01 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.145e-06/0.00448, allocations: 7.094 kB / 1.069 GB, free: 31.32 MB / 1.01 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.178e-05/0.004492, allocations: 8.375 kB / 1.069 GB, free: 31.32 MB / 1.01 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.4e-06/0.004497, allocations: 7 kB / 1.069 GB, free: 31.31 MB / 1.01 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.004572, allocations: 41.59 kB / 1.069 GB, free: 31.3 MB / 1.01 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.004936, allocations: 394.9 kB / 1.069 GB, free: 30.94 MB / 1.01 GB Notification: Performance of preOpt comSubExp (simulation): time 6.399e-05/0.005, allocations: 31.33 kB / 1.069 GB, free: 30.91 MB / 1.01 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.555e-05/0.005026, allocations: 17.83 kB / 1.069 GB, free: 30.9 MB / 1.01 GB Notification: Performance of preOpt evalFunc (simulation): time 1.275e-05/0.005038, allocations: 0 / 1.069 GB, free: 30.9 MB / 1.01 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.22e-05/0.005051, allocations: 45.38 kB / 1.069 GB, free: 30.85 MB / 1.01 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.005052, allocations: 0 / 1.069 GB, free: 30.85 MB / 1.01 GB Notification: Performance of matching and sorting (n=2): time 0.0001699/0.005222, allocations: 60.19 kB / 1.069 GB, free: 30.81 MB / 1.01 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.886e-05/0.005241, allocations: 51.41 kB / 1.07 GB, free: 30.75 MB / 1.01 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.926e-05/0.00532, allocations: 151.4 kB / 1.07 GB, free: 30.62 MB / 1.01 GB Notification: Performance of collectPreVariables (initialization): time 7.815e-06/0.005328, allocations: 25.7 kB / 1.07 GB, free: 30.59 MB / 1.01 GB Notification: Performance of collectInitialEqns (initialization): time 4.508e-05/0.005373, allocations: 112.1 kB / 1.07 GB, free: 30.49 MB / 1.01 GB Notification: Performance of collectInitialBindings (initialization): time 7.313e-06/0.00538, allocations: 6.766 kB / 1.07 GB, free: 30.48 MB / 1.01 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.774e-05/0.005408, allocations: 19.5 kB / 1.07 GB, free: 30.46 MB / 1.01 GB Notification: Performance of setup shared object (initialization): time 3.191e-05/0.00544, allocations: 329.3 kB / 1.07 GB, free: 30.14 MB / 1.01 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.079e-05/0.00547, allocations: 19.48 kB / 1.07 GB, free: 30.13 MB / 1.01 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.93e-05/0.00551, allocations: 72.45 kB / 1.07 GB, free: 30.05 MB / 1.01 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.709e-05/0.005567, allocations: 54.92 kB / 1.07 GB, free: 30.01 MB / 1.01 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.005569, allocations: 0 / 1.07 GB, free: 30.01 MB / 1.01 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.827e-05/0.005657, allocations: 84.59 kB / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of prepare postOptimizeDAE: time 1.23e-05/0.00567, allocations: 5.594 kB / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.759e-06/0.005674, allocations: 2.844 kB / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.005687, allocations: 0 / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.646e-05/0.005744, allocations: 9 kB / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.242e-06/0.00575, allocations: 2.969 kB / 1.07 GB, free: 29.96 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.276e-05/0.005783, allocations: 22.77 kB / 1.07 GB, free: 29.94 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.007e-05/0.005793, allocations: 3.125 kB / 1.07 GB, free: 29.94 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 5.526e-05/0.005848, allocations: 118.8 kB / 1.071 GB, free: 29.82 MB / 1.01 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.51e-05/0.005863, allocations: 10.83 kB / 1.071 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.394e-05/0.005887, allocations: 10.78 kB / 1.071 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.983e-06/0.005889, allocations: 0 / 1.071 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.079e-06/0.005894, allocations: 2.844 kB / 1.071 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.164e-06/0.005897, allocations: 0 / 1.071 GB, free: 29.81 MB / 1.01 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.294e-05/0.005979, allocations: 131 kB / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.153e-06/0.005981, allocations: 0 / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.556e-05/0.005996, allocations: 2.969 kB / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.005998, allocations: 0 / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.011e-06/0.006004, allocations: 0 / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.62e-07/0.006004, allocations: 2.875 kB / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.123e-06/0.006006, allocations: 4 kB / 1.071 GB, free: 29.67 MB / 1.01 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.147e-05/0.006087, allocations: 155.1 kB / 1.071 GB, free: 29.52 MB / 1.01 GB Notification: Performance of postOpt removeConstants (simulation): time 8.376e-06/0.006095, allocations: 10.17 kB / 1.071 GB, free: 29.52 MB / 1.01 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.245e-05/0.006108, allocations: 0 / 1.071 GB, free: 29.52 MB / 1.01 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.682e-05/0.006145, allocations: 2.938 kB / 1.071 GB, free: 29.52 MB / 1.01 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.885e-05/0.006183, allocations: 10.34 kB / 1.071 GB, free: 29.52 MB / 1.01 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.006187, allocations: 4 kB / 1.071 GB, free: 29.51 MB / 1.01 GB Notification: Performance of sorting global known variables: time 3.44e-05/0.006221, allocations: 115 kB / 1.071 GB, free: 29.43 MB / 1.01 GB Notification: Performance of sort global known variables: time 5.1e-08/0.006221, allocations: 0 / 1.071 GB, free: 29.43 MB / 1.01 GB Notification: Performance of remove unused functions: time 0.0001563/0.006378, allocations: 10 kB / 1.071 GB, free: 29.42 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 7.238e-05/0.00645, allocations: 105.2 kB / 1.071 GB, free: 29.33 MB / 1.01 GB Notification: Performance of simCode: created initialization part: time 0.0001023/0.006552, allocations: 39.03 kB / 1.071 GB, free: 29.32 MB / 1.01 GB Notification: Performance of simCode: created event and clocks part: time 1.082e-06/0.006553, allocations: 0 / 1.071 GB, free: 29.32 MB / 1.01 GB Notification: Performance of simCode: created simulation system equations: time 2.134e-05/0.006575, allocations: 8.953 kB / 1.071 GB, free: 29.32 MB / 1.01 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001887/0.006763, allocations: 9.906 kB / 1.071 GB, free: 29.31 MB / 1.01 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002467/0.00701, allocations: 185.4 kB / 1.071 GB, free: 29.14 MB / 1.01 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.395e-05/0.007054, allocations: 79.89 kB / 1.071 GB, free: 29.07 MB / 1.01 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.266e-05/0.007087, allocations: 14.31 kB / 1.071 GB, free: 29.06 MB / 1.01 GB Notification: Performance of SimCode: time 1.062e-06/0.007088, allocations: 2.969 kB / 1.071 GB, free: 29.06 MB / 1.01 GB Notification: Performance of Templates: time 0.001889/0.008976, allocations: 1.171 MB / 1.073 GB, free: 28.95 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 -emit_protected > 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: 7.349670616909862]