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.001361/0.001361, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.001552/0.001552, allocations: 177.4 kB / 23.36 MB, free: 1.129 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.924/0.924, allocations: 177.2 MB / 203.8 MB, free: 5.465 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.426/2.426, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] Using package Buildings with version 14.1.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.023e-06/2.023e-06, allocations: 0 / 0.8386 GB, free: 14.21 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.199e-05/2.401e-05, allocations: 10.25 kB / 0.8386 GB, free: 14.2 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001579/0.001603, allocations: 0.8523 MB / 0.8395 GB, free: 13.34 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0008802/0.002483, allocations: 0.9442 MB / 0.8404 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.842e-05/0.002561, allocations: 4 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 0.0001031/0.002664, allocations: 7.875 kB / 0.8404 GB, free: 12.38 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 3.873e-05/0.002703, allocations: 19.8 kB / 0.8404 GB, free: 12.36 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.000151/0.002854, allocations: 43.83 kB / 0.8404 GB, free: 12.31 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 9.087e-05/0.002945, allocations: 103.7 kB / 0.8405 GB, free: 12.21 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 8.258e-05/0.003027, allocations: 35.95 kB / 0.8406 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001425/0.00317, allocations: 63.77 kB / 0.8406 GB, free: 12.11 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.047e-05/0.00322, allocations: 19.97 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.003236, allocations: 8 kB / 0.8407 GB, free: 12.09 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.715e-05/0.003273, allocations: 19.94 kB / 0.8407 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 1.835e-05/0.003291, allocations: 15.97 kB / 0.8407 GB, free: 12.05 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 2.071e-05/0.003312, allocations: 19.94 kB / 0.8407 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.003424, allocations: 71.62 kB / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.573e-06/0.003426, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.01e-07/0.003426, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.00343, allocations: 0 / 0.8408 GB, free: 11.96 MB / 0.8073 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.0002754/0.003705, allocations: 300.5 kB / 0.8411 GB, free: 11.64 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.037e-05/0.003736, allocations: 8.625 kB / 0.8411 GB, free: 11.63 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.871e-05/0.003824, allocations: 16.92 kB / 0.8411 GB, free: 11.62 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.003971, allocations: 157.6 kB / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.023e-06/0.003978, allocations: 384 / 0.8412 GB, free: 11.44 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.003989, allocations: 12.38 kB / 0.8413 GB, free: 11.43 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001107/0.004099, allocations: 118.3 kB / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.653e-06/0.004106, allocations: 192 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.696e-06/0.004115, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.004119, allocations: 384 / 0.8414 GB, free: 11.29 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.111e-05/0.00415, allocations: 27.91 kB / 0.8414 GB, free: 11.26 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002784/0.004428, allocations: 327.3 kB / 0.8417 GB, free: 10.92 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.458e-05/0.004463, allocations: 34.59 kB / 0.8417 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.987e-06/0.004472, allocations: 4.859 kB / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 7.804e-06/0.00448, allocations: 0 / 0.8418 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.504e-05/0.004495, allocations: 34.62 kB / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=2): time 5.51e-07/0.004495, allocations: 0 / 0.8418 GB, free: 10.82 MB / 0.8073 GB Notification: Performance of matching and sorting (n=2): time 6.397e-05/0.004559, allocations: 37.69 kB / 0.8418 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.036e-05/0.00458, allocations: 55.34 kB / 0.8419 GB, free: 10.71 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.689e-05/0.004646, allocations: 144.5 kB / 0.842 GB, free: 10.56 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 9.507e-06/0.004656, allocations: 25.7 kB / 0.842 GB, free: 10.53 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.086e-05/0.004697, allocations: 120 kB / 0.8421 GB, free: 10.41 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 6.872e-06/0.004704, allocations: 7.938 kB / 0.8422 GB, free: 10.4 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.276e-05/0.004726, allocations: 21.66 kB / 0.8422 GB, free: 10.38 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 7.365e-05/0.0048, allocations: 326.8 kB / 0.8425 GB, free: 10.05 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.414e-06/0.004808, allocations: 4 kB / 0.8425 GB, free: 10.04 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.996e-05/0.004827, allocations: 31.42 kB / 0.8425 GB, free: 10 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.998e-05/0.004857, allocations: 35.36 kB / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.004859, allocations: 0 / 0.8426 GB, free: 9.953 MB / 0.8073 GB Notification: Performance of matching and sorting (n=6) (initialization): time 4.949e-05/0.004908, allocations: 65.61 kB / 0.8426 GB, free: 9.883 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 8.936e-06/0.004917, allocations: 4 kB / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.294e-06/0.00492, allocations: 0 / 0.8426 GB, free: 9.879 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.392e-06/0.004926, allocations: 4 kB / 0.8426 GB, free: 9.875 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.641e-05/0.004952, allocations: 7.938 kB / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.513e-06/0.004954, allocations: 0 / 0.8426 GB, free: 9.867 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.049e-05/0.004974, allocations: 7.984 kB / 0.8426 GB, free: 9.859 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.00498, allocations: 4 kB / 0.8426 GB, free: 9.855 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 6.153e-05/0.005041, allocations: 117.9 kB / 0.8428 GB, free: 9.73 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.321e-05/0.005054, allocations: 8 kB / 0.8428 GB, free: 9.723 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.825e-05/0.005073, allocations: 11.95 kB / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.022e-06/0.005074, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.552e-06/0.005075, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.735e-06/0.005078, allocations: 0 / 0.8428 GB, free: 9.711 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.015e-05/0.005158, allocations: 85.75 kB / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-07/0.005159, allocations: 0 / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.017e-05/0.005169, allocations: 0 / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.92e-07/0.00517, allocations: 0 / 0.8429 GB, free: 9.609 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.5e-06/0.005175, allocations: 4 kB / 0.8429 GB, free: 9.605 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.224e-06/0.005177, allocations: 12.12 kB / 0.8429 GB, free: 9.594 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.005179, allocations: 3.938 kB / 0.8429 GB, free: 9.59 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000138/0.005317, allocations: 131.5 kB / 0.843 GB, free: 9.445 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 8.727e-06/0.005325, allocations: 11.94 kB / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.929e-06/0.005335, allocations: 0 / 0.843 GB, free: 9.434 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.852e-05/0.005364, allocations: 3.984 kB / 0.843 GB, free: 9.43 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.829e-05/0.005392, allocations: 7.984 kB / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.714e-06/0.005394, allocations: 0 / 0.843 GB, free: 9.422 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 1.981e-05/0.005414, allocations: 26.22 kB / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.005414, allocations: 0 / 0.8431 GB, free: 9.395 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001171/0.005531, allocations: 15.98 kB / 0.8431 GB, free: 9.379 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 6.869e-05/0.0056, allocations: 84.36 kB / 0.8431 GB, free: 9.289 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 5.765e-05/0.005657, allocations: 36.8 kB / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.063e-06/0.005659, allocations: 0 / 0.8432 GB, free: 9.25 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 1.196e-05/0.005671, allocations: 8.859 kB / 0.8432 GB, free: 9.238 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001111/0.005782, allocations: 14.17 kB / 0.8432 GB, free: 9.227 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001965/0.005979, allocations: 171 kB / 0.8434 GB, free: 9.035 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.303e-05/0.006012, allocations: 59.34 kB / 0.8434 GB, free: 8.957 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 2.99e-05/0.006042, allocations: 12.48 kB / 0.8434 GB, free: 8.945 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.692e-05/0.006089, allocations: 55.38 kB / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of SimCode: time 3.81e-07/0.006089, allocations: 0 / 0.8435 GB, free: 8.891 MB / 0.8073 GB Notification: Performance of Templates: time 0.002321/0.00841, allocations: 0.8105 MB / 0.8443 GB, free: 8.098 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 -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","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Controls_OBC_ASHRAE_G36_Plants_Chillers_Towers_Validation_WaterLevel.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.293954066000879]