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.00141/0.00141, allocations: 93.06 kB / 19.65 MB, free: 280 kB / 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.001619/0.001619, allocations: 173.3 kB / 23.02 MB, free: 1.551 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.9905/0.9905, allocations: 177.1 MB / 203.4 MB, free: 5.652 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.094/2.094, allocations: 429.5 MB / 0.6733 GB, free: 4.059 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.394e-06/2.394e-06, allocations: 0 / 0.8782 GB, free: 5.16 MB / 0.7917 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.552e-05/2.791e-05, allocations: 6.812 kB / 0.8782 GB, free: 5.156 MB / 0.7917 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001864/0.001892, allocations: 0.881 MB / 0.8791 GB, free: 4.301 MB / 0.7917 GB Notification: Performance of NFInst.instExpressions: time 0.001059/0.002951, allocations: 0.9384 MB / 0.88 GB, free: 3.352 MB / 0.7917 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001128/0.003063, allocations: 4.656 kB / 0.88 GB, free: 3.348 MB / 0.7917 GB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.003191, allocations: 13.5 kB / 0.88 GB, free: 3.336 MB / 0.7917 GB Notification: Performance of NFTyping.typeBindings: time 5.166e-05/0.003243, allocations: 14.22 kB / 0.88 GB, free: 3.324 MB / 0.7917 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002198/0.003463, allocations: 41 kB / 0.8801 GB, free: 3.285 MB / 0.7917 GB Notification: Performance of NFFlatten.flatten: time 0.0001272/0.00359, allocations: 99.75 kB / 0.8802 GB, free: 3.188 MB / 0.7917 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001142/0.003704, allocations: 40.78 kB / 0.8802 GB, free: 3.148 MB / 0.7917 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001646/0.003869, allocations: 71.75 kB / 0.8803 GB, free: 3.078 MB / 0.7917 GB Notification: Performance of NFSimplifyModel.simplify: time 5.74e-05/0.003926, allocations: 21 kB / 0.8803 GB, free: 3.059 MB / 0.7917 GB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.003943, allocations: 8 kB / 0.8803 GB, free: 3.051 MB / 0.7917 GB Notification: Performance of NFFlatten.collectFunctions: time 4.372e-05/0.003987, allocations: 16 kB / 0.8803 GB, free: 3.035 MB / 0.7917 GB Notification: Performance of NFScalarize.scalarize: time 1.562e-05/0.004003, allocations: 8.594 kB / 0.8803 GB, free: 3.027 MB / 0.7917 GB Notification: Performance of NFVerifyModel.verify: time 3.107e-05/0.004034, allocations: 27.91 kB / 0.8803 GB, free: 3 MB / 0.7917 GB Notification: Performance of NFConvertDAE.convert: time 0.0001448/0.004178, allocations: 65.59 kB / 0.8804 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.004181, allocations: 0 / 0.8804 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of FrontEnd: time 8.32e-07/0.004182, allocations: 0 / 0.8804 GB, free: 2.938 MB / 0.7917 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.004187, allocations: 0 / 0.8804 GB, free: 2.938 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.000413/0.0046, allocations: 423.8 kB / 0.8808 GB, free: 2.488 MB / 0.7917 GB Notification: Performance of prepare preOptimizeDAE: time 3.786e-05/0.004637, allocations: 8.031 kB / 0.8808 GB, free: 2.48 MB / 0.7917 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001197/0.004757, allocations: 20.89 kB / 0.8808 GB, free: 2.461 MB / 0.7917 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002655/0.005023, allocations: 160.3 kB / 0.881 GB, free: 2.277 MB / 0.7917 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.306e-05/0.005036, allocations: 8.375 kB / 0.881 GB, free: 2.27 MB / 0.7917 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.331e-05/0.005049, allocations: 4.375 kB / 0.881 GB, free: 2.266 MB / 0.7917 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.005234, allocations: 124 kB / 0.8811 GB, free: 2.121 MB / 0.7917 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.118e-05/0.005245, allocations: 8.172 kB / 0.8811 GB, free: 2.113 MB / 0.7917 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.377e-05/0.005259, allocations: 8.312 kB / 0.8811 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.107e-06/0.005268, allocations: 1.312 kB / 0.8811 GB, free: 2.105 MB / 0.7917 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.984e-05/0.005328, allocations: 23.92 kB / 0.8812 GB, free: 2.082 MB / 0.7917 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004572/0.005785, allocations: 494.6 kB / 0.8816 GB, free: 1.555 MB / 0.7917 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.005847, allocations: 39.94 kB / 0.8817 GB, free: 1.504 MB / 0.7917 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.033e-05/0.005868, allocations: 11.84 kB / 0.8817 GB, free: 1.488 MB / 0.7917 GB Notification: Performance of preOpt evalFunc (simulation): time 1.243e-05/0.00588, allocations: 4.719 kB / 0.8817 GB, free: 1.484 MB / 0.7917 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.005908, allocations: 37.38 kB / 0.8817 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of pre-optimization done (n=2): time 2.264e-06/0.00591, allocations: 3.562 kB / 0.8817 GB, free: 1.438 MB / 0.7917 GB Notification: Performance of matching and sorting (n=2): time 0.0001465/0.006057, allocations: 41.7 kB / 0.8818 GB, free: 1.391 MB / 0.7917 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.537e-05/0.006082, allocations: 55.41 kB / 0.8818 GB, free: 1.324 MB / 0.7917 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001078/0.00619, allocations: 201.8 kB / 0.882 GB, free: 1.109 MB / 0.7917 GB Notification: Performance of collectPreVariables (initialization): time 1.325e-05/0.006203, allocations: 25.7 kB / 0.882 GB, free: 1.078 MB / 0.7917 GB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.006278, allocations: 162.8 kB / 0.8822 GB, free: 0.9141 MB / 0.7917 GB Notification: Performance of collectInitialBindings (initialization): time 8.726e-06/0.006286, allocations: 11.89 kB / 0.8822 GB, free: 0.9023 MB / 0.7917 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.876e-05/0.006325, allocations: 27.36 kB / 0.8822 GB, free: 0.8672 MB / 0.7917 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.006433, allocations: 0.4922 MB / 0.8827 GB, free: 372 kB / 0.7917 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.355e-05/0.006457, allocations: 12.55 kB / 0.8827 GB, free: 360 kB / 0.7917 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.195e-05/0.006489, allocations: 43.34 kB / 0.8828 GB, free: 300 kB / 0.7917 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.324e-05/0.006542, allocations: 48.34 kB / 0.8828 GB, free: 236 kB / 0.7917 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.006544, allocations: 0 / 0.8828 GB, free: 236 kB / 0.7917 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.661e-05/0.006641, allocations: 71.09 kB / 0.8829 GB, free: 160 kB / 0.7917 GB Notification: Performance of prepare postOptimizeDAE: time 1.317e-05/0.006654, allocations: 4 kB / 0.8829 GB, free: 156 kB / 0.7917 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.00666, allocations: 4.125 kB / 0.8829 GB, free: 152 kB / 0.7917 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.006673, allocations: 4.219 kB / 0.8829 GB, free: 148 kB / 0.7917 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.326e-05/0.006726, allocations: 8 kB / 0.8829 GB, free: 140 kB / 0.7917 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.006733, allocations: 7.938 kB / 0.8829 GB, free: 132 kB / 0.7917 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.151e-05/0.006764, allocations: 0 / 0.8829 GB, free: 132 kB / 0.7917 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.827e-06/0.006773, allocations: 7.938 kB / 0.8829 GB, free: 124 kB / 0.7917 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 8.49e-05/0.006858, allocations: 164.6 kB / 0.8831 GB, free: 15.95 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.519e-05/0.006883, allocations: 7.953 kB / 0.8831 GB, free: 15.94 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.448e-05/0.006908, allocations: 7.969 kB / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.663e-06/0.006909, allocations: 0 / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.447e-06/0.006913, allocations: 0 / 0.8831 GB, free: 15.93 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.006915, allocations: 8 kB / 0.8831 GB, free: 15.92 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001246/0.00704, allocations: 136.5 kB / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.007041, allocations: 0 / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.573e-05/0.007056, allocations: 0 / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.007058, allocations: 0 / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.863e-06/0.007065, allocations: 0 / 0.8832 GB, free: 15.75 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.816e-06/0.007068, allocations: 11.92 kB / 0.8832 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.393e-06/0.00707, allocations: 0 / 0.8832 GB, free: 15.74 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001156/0.007185, allocations: 195.8 kB / 0.8834 GB, free: 15.53 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 1.04e-05/0.007196, allocations: 7.938 kB / 0.8834 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.647e-05/0.007212, allocations: 4 kB / 0.8834 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.802e-05/0.00726, allocations: 4.031 kB / 0.8834 GB, free: 15.52 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.072e-05/0.007301, allocations: 8.031 kB / 0.8834 GB, free: 15.51 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.019e-06/0.007306, allocations: 7.984 kB / 0.8834 GB, free: 15.5 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.392e-05/0.00736, allocations: 141.2 kB / 0.8836 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of sort global known variables: time 7e-08/0.00736, allocations: 0 / 0.8836 GB, free: 15.36 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0002314/0.007591, allocations: 15.89 kB / 0.8836 GB, free: 15.35 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 9.226e-05/0.007683, allocations: 99.23 kB / 0.8837 GB, free: 15.24 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 9.417e-05/0.007778, allocations: 35.69 kB / 0.8837 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.007779, allocations: 0 / 0.8837 GB, free: 15.2 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 2.056e-05/0.0078, allocations: 15.67 kB / 0.8837 GB, free: 15.18 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002335/0.008033, allocations: 12 kB / 0.8837 GB, free: 15.17 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002814/0.008315, allocations: 166.3 kB / 0.8839 GB, free: 14.98 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.882e-05/0.008354, allocations: 59.34 kB / 0.884 GB, free: 14.9 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 3.834e-05/0.008392, allocations: 8.625 kB / 0.884 GB, free: 14.89 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.428e-05/0.008426, allocations: 16.48 kB / 0.884 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of SimCode: time 8.22e-07/0.008427, allocations: 0 / 0.884 GB, free: 14.88 MB / 0.8073 GB Notification: Performance of Templates: time 0.002778/0.01121, allocations: 0.8055 MB / 0.8848 GB, free: 14.09 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.283119054045528]