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.0009661/0.0009661, allocations: 85.27 kB / 19.87 MB, free: 4.617 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.000942/0.000942, allocations: 165 kB / 23.27 MB, free: 1.219 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.9909/0.9909, allocations: 177.2 MB / 203.7 MB, free: 5.477 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.321/2.321, allocations: 438.1 MB / 0.682 GB, free: 14.14 MB / 0.6511 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.575e-06/2.575e-06, allocations: 0 / 0.8898 GB, free: 9.703 MB / 0.8542 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.658e-05/2.916e-05, allocations: 2.312 kB / 0.8898 GB, free: 9.699 MB / 0.8542 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001615/0.001645, allocations: 0.8529 MB / 0.8906 GB, free: 8.848 MB / 0.8542 GB Notification: Performance of NFInst.instExpressions: time 0.0009397/0.002584, allocations: 0.9365 MB / 0.8915 GB, free: 7.898 MB / 0.8542 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.981e-05/0.002674, allocations: 7.938 kB / 0.8915 GB, free: 7.891 MB / 0.8542 GB Notification: Performance of NFTyping.typeComponents: time 0.0001222/0.002796, allocations: 11.88 kB / 0.8915 GB, free: 7.879 MB / 0.8542 GB Notification: Performance of NFTyping.typeBindings: time 4.776e-05/0.002844, allocations: 11.81 kB / 0.8916 GB, free: 7.867 MB / 0.8542 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002197/0.003064, allocations: 51.81 kB / 0.8916 GB, free: 7.816 MB / 0.8542 GB Notification: Performance of NFFlatten.flatten: time 0.0001353/0.003199, allocations: 99.7 kB / 0.8917 GB, free: 7.719 MB / 0.8542 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000135/0.003334, allocations: 31.97 kB / 0.8917 GB, free: 7.688 MB / 0.8542 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001761/0.00351, allocations: 63.88 kB / 0.8918 GB, free: 7.625 MB / 0.8542 GB Notification: Performance of NFSimplifyModel.simplify: time 5.584e-05/0.003566, allocations: 23.92 kB / 0.8918 GB, free: 7.602 MB / 0.8542 GB Notification: Performance of NFPackage.collectConstants: time 1.637e-05/0.003582, allocations: 4 kB / 0.8918 GB, free: 7.598 MB / 0.8542 GB Notification: Performance of NFFlatten.collectFunctions: time 4.791e-05/0.00363, allocations: 12 kB / 0.8918 GB, free: 7.586 MB / 0.8542 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.003649, allocations: 19.91 kB / 0.8919 GB, free: 7.566 MB / 0.8542 GB Notification: Performance of NFVerifyModel.verify: time 2.486e-05/0.003674, allocations: 19.94 kB / 0.8919 GB, free: 7.547 MB / 0.8542 GB Notification: Performance of NFConvertDAE.convert: time 0.0001472/0.003821, allocations: 67.62 kB / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.003824, allocations: 0 / 0.8919 GB, free: 7.48 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.174e-06/0.003826, allocations: 4 kB / 0.8919 GB, free: 7.477 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 3.286e-06/0.003829, allocations: 0 / 0.8919 GB, free: 7.477 MB / 0.8542 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.0003696/0.004199, allocations: 424.1 kB / 0.8923 GB, free: 7.023 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.695e-05/0.004236, allocations: 16.62 kB / 0.8924 GB, free: 7.008 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.44e-05/0.00433, allocations: 12.89 kB / 0.8924 GB, free: 6.996 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001472/0.004478, allocations: 164.4 kB / 0.8925 GB, free: 6.809 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.257e-06/0.004487, allocations: 4.375 kB / 0.8925 GB, free: 6.805 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.023e-05/0.004497, allocations: 8.375 kB / 0.8925 GB, free: 6.797 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001315/0.004629, allocations: 126.7 kB / 0.8927 GB, free: 6.652 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.063e-06/0.004636, allocations: 4.188 kB / 0.8927 GB, free: 6.648 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.418e-06/0.004645, allocations: 4.375 kB / 0.8927 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.00465, allocations: 384 / 0.8927 GB, free: 6.645 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.694e-05/0.004687, allocations: 23.86 kB / 0.8927 GB, free: 6.621 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003539/0.005041, allocations: 478.2 kB / 0.8931 GB, free: 6.113 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 4.611e-05/0.005087, allocations: 31.06 kB / 0.8932 GB, free: 6.07 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.085e-05/0.005098, allocations: 11.75 kB / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.306e-05/0.005111, allocations: 0 / 0.8932 GB, free: 6.055 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.942e-05/0.00513, allocations: 37.39 kB / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.005131, allocations: 0 / 0.8932 GB, free: 6.008 MB / 0.8542 GB Notification: Performance of matching and sorting (n=2): time 0.0001139/0.005245, allocations: 49.67 kB / 0.8933 GB, free: 5.953 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.185e-05/0.005267, allocations: 55.41 kB / 0.8933 GB, free: 5.887 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.385e-05/0.005361, allocations: 200.9 kB / 0.8935 GB, free: 5.676 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.159e-05/0.005372, allocations: 29.69 kB / 0.8935 GB, free: 5.641 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.737e-05/0.00544, allocations: 154.7 kB / 0.8937 GB, free: 5.484 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 6.853e-06/0.005446, allocations: 11.94 kB / 0.8937 GB, free: 5.473 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.255e-05/0.005479, allocations: 27.36 kB / 0.8937 GB, free: 5.438 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 0.0001184/0.005597, allocations: 0.4961 MB / 0.8942 GB, free: 4.93 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.462e-05/0.005612, allocations: 4 kB / 0.8942 GB, free: 4.926 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.051e-05/0.005643, allocations: 38.73 kB / 0.8943 GB, free: 4.871 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.617e-05/0.005689, allocations: 50.69 kB / 0.8943 GB, free: 4.805 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.675e-06/0.005691, allocations: 4 kB / 0.8943 GB, free: 4.801 MB / 0.8542 GB Notification: Performance of matching and sorting (n=6) (initialization): time 8.358e-05/0.005775, allocations: 69.55 kB / 0.8944 GB, free: 4.727 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.005787, allocations: 7.938 kB / 0.8944 GB, free: 4.719 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.005793, allocations: 4 kB / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.337e-06/0.005802, allocations: 0 / 0.8944 GB, free: 4.715 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.369e-05/0.005846, allocations: 7.984 kB / 0.8944 GB, free: 4.707 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.42e-06/0.005851, allocations: 7.984 kB / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.258e-05/0.005874, allocations: 0 / 0.8944 GB, free: 4.699 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.00588, allocations: 12.09 kB / 0.8944 GB, free: 4.688 MB / 0.8542 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.869e-05/0.005949, allocations: 164.5 kB / 0.8946 GB, free: 4.516 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.485e-05/0.005963, allocations: 7.953 kB / 0.8946 GB, free: 4.508 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.449e-05/0.005988, allocations: 7.969 kB / 0.8946 GB, free: 4.496 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.455e-06/0.00599, allocations: 3.984 kB / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.603e-06/0.005992, allocations: 0 / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.913e-06/0.005994, allocations: 0 / 0.8946 GB, free: 4.492 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.407e-05/0.006088, allocations: 117.2 kB / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.006089, allocations: 0 / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.177e-06/0.006098, allocations: 0 / 0.8947 GB, free: 4.352 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.274e-06/0.0061, allocations: 8 kB / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.838e-06/0.006104, allocations: 0 / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.11e-07/0.006105, allocations: 0 / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.61e-07/0.006105, allocations: 0 / 0.8947 GB, free: 4.344 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001047/0.00621, allocations: 196 kB / 0.8949 GB, free: 4.133 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 8.056e-06/0.006218, allocations: 7.891 kB / 0.8949 GB, free: 4.125 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.00623, allocations: 8 kB / 0.8949 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.966e-05/0.00626, allocations: 0 / 0.8949 GB, free: 4.117 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.089e-05/0.006291, allocations: 11.92 kB / 0.8949 GB, free: 4.105 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.207e-06/0.006295, allocations: 3.984 kB / 0.8949 GB, free: 4.102 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.457e-05/0.00634, allocations: 147.2 kB / 0.8951 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5e-08/0.00634, allocations: 0 / 0.8951 GB, free: 3.957 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0001385/0.006478, allocations: 11.95 kB / 0.8951 GB, free: 3.945 MB / 0.8542 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.367e-05/0.006572, allocations: 97.59 kB / 0.8952 GB, free: 3.844 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 6.944e-05/0.006641, allocations: 35.61 kB / 0.8952 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 1.152e-06/0.006642, allocations: 0 / 0.8952 GB, free: 3.805 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 1.434e-05/0.006657, allocations: 11.69 kB / 0.8952 GB, free: 3.789 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001646/0.006821, allocations: 22.41 kB / 0.8952 GB, free: 3.77 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002168/0.007038, allocations: 158.4 kB / 0.8954 GB, free: 3.586 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.276e-05/0.007071, allocations: 67.28 kB / 0.8955 GB, free: 3.5 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.281e-05/0.007104, allocations: 12.47 kB / 0.8955 GB, free: 3.488 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.197e-05/0.007156, allocations: 86.19 kB / 0.8955 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of SimCode: time 6.51e-07/0.007156, allocations: 0 / 0.8955 GB, free: 3.402 MB / 0.8542 GB Notification: Performance of Templates: time 0.002397/0.009553, allocations: 0.8311 MB / 0.8964 GB, free: 2.59 MB / 0.8542 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.377280420158058]