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.001884/0.001884, allocations: 84.73 kB / 19.44 MB, free: 356 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.002204/0.002204, allocations: 157.7 kB / 22.75 MB, free: 1.68 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.546/1.546, allocations: 177.1 MB / 203.1 MB, free: 5.594 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.301/3.301, allocations: 429.6 MB / 0.673 GB, free: 3.879 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 1.608e-05/1.608e-05, allocations: 4 kB / 0.8776 GB, free: 6.477 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.304e-05/4.912e-05, allocations: 4.844 kB / 0.8776 GB, free: 6.473 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.002466/0.002515, allocations: 0.8397 MB / 0.8784 GB, free: 5.66 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001597/0.004112, allocations: 0.9252 MB / 0.8793 GB, free: 4.727 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001365/0.004248, allocations: 3.938 kB / 0.8794 GB, free: 4.723 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001559/0.004404, allocations: 21.72 kB / 0.8794 GB, free: 4.703 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 5.825e-05/0.004462, allocations: 8.094 kB / 0.8794 GB, free: 4.695 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002595/0.004722, allocations: 39.89 kB / 0.8794 GB, free: 4.656 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001741/0.004896, allocations: 100.7 kB / 0.8795 GB, free: 4.559 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001493/0.005045, allocations: 39.91 kB / 0.8796 GB, free: 4.52 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002177/0.005263, allocations: 60.95 kB / 0.8796 GB, free: 4.461 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 9.256e-05/0.005355, allocations: 31.89 kB / 0.8796 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 3.261e-05/0.005388, allocations: 8 kB / 0.8796 GB, free: 4.422 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.26e-05/0.005441, allocations: 13.47 kB / 0.8797 GB, free: 4.41 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 3.068e-05/0.005471, allocations: 19.92 kB / 0.8797 GB, free: 4.391 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 5.304e-05/0.005524, allocations: 31.91 kB / 0.8797 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002644/0.005789, allocations: 131.6 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.005793, allocations: 1.312 kB / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.122e-06/0.005794, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.841e-06/0.0058, allocations: 0 / 0.8798 GB, free: 4.23 MB / 0.8386 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.0006697/0.006469, allocations: 333.1 kB / 0.8802 GB, free: 3.875 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.748e-05/0.006517, allocations: 15.97 kB / 0.8802 GB, free: 3.859 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002088/0.006726, allocations: 24.88 kB / 0.8802 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004813/0.007207, allocations: 177.6 kB / 0.8804 GB, free: 3.637 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.059e-05/0.007227, allocations: 8.375 kB / 0.8804 GB, free: 3.629 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.747e-05/0.007255, allocations: 8.969 kB / 0.8804 GB, free: 3.621 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002611/0.007516, allocations: 122.7 kB / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.007525, allocations: 192 / 0.8805 GB, free: 3.488 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.852e-05/0.007543, allocations: 8.375 kB / 0.8805 GB, free: 3.48 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.126e-06/0.007551, allocations: 4.125 kB / 0.8805 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001562/0.007708, allocations: 49.28 kB / 0.8806 GB, free: 3.43 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007081/0.008416, allocations: 395.6 kB / 0.8809 GB, free: 3 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001046/0.00852, allocations: 38.56 kB / 0.881 GB, free: 2.953 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.753e-05/0.008568, allocations: 8.922 kB / 0.881 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.644e-05/0.008584, allocations: 0 / 0.881 GB, free: 2.941 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.391e-05/0.008618, allocations: 30.56 kB / 0.881 GB, free: 2.902 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 7.91e-07/0.008619, allocations: 4 kB / 0.881 GB, free: 2.898 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0002904/0.00891, allocations: 69.66 kB / 0.8811 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.445e-05/0.008954, allocations: 51.41 kB / 0.8811 GB, free: 2.762 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001584/0.009112, allocations: 140.7 kB / 0.8813 GB, free: 2.613 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.355e-05/0.009136, allocations: 29.83 kB / 0.8813 GB, free: 2.578 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001049/0.009241, allocations: 120 kB / 0.8814 GB, free: 2.457 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.009253, allocations: 7.938 kB / 0.8814 GB, free: 2.449 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.99e-05/0.009302, allocations: 21.72 kB / 0.8814 GB, free: 2.422 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.009482, allocations: 322.8 kB / 0.8817 GB, free: 2.098 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.897e-05/0.009541, allocations: 12 kB / 0.8818 GB, free: 2.086 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001017/0.009642, allocations: 69.98 kB / 0.8818 GB, free: 1.996 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001389/0.009781, allocations: 59.39 kB / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.009783, allocations: 0 / 0.8819 GB, free: 1.926 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001948/0.009978, allocations: 85.5 kB / 0.882 GB, free: 1.836 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.034e-05/0.009998, allocations: 11.98 kB / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.859e-06/0.01, allocations: 0 / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.775e-05/0.01002, allocations: 0 / 0.882 GB, free: 1.824 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.361e-05/0.01009, allocations: 8.125 kB / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5e-06/0.0101, allocations: 0 / 0.882 GB, free: 1.816 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.716e-05/0.01018, allocations: 20.02 kB / 0.882 GB, free: 1.797 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.01019, allocations: 4 kB / 0.882 GB, free: 1.793 MB / 0.8386 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 0.0001285/0.01032, allocations: 129.7 kB / 0.8821 GB, free: 1.656 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.536e-05/0.01035, allocations: 7.984 kB / 0.8821 GB, free: 1.648 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.931e-05/0.01038, allocations: 7.969 kB / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.01038, allocations: 0 / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.489e-06/0.01039, allocations: 0 / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.855e-06/0.01039, allocations: 0 / 0.8821 GB, free: 1.641 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002062/0.0106, allocations: 129.2 kB / 0.8823 GB, free: 1.484 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.405e-06/0.0106, allocations: 4 kB / 0.8823 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.139e-05/0.01064, allocations: 7.984 kB / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.01064, allocations: 0 / 0.8823 GB, free: 1.473 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.01065, allocations: 4 kB / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.01065, allocations: 0 / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.11e-07/0.01065, allocations: 0 / 0.8823 GB, free: 1.469 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004339/0.01109, allocations: 151.4 kB / 0.8824 GB, free: 1.305 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.268e-05/0.0111, allocations: 11.89 kB / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.761e-05/0.01112, allocations: 0 / 0.8824 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.003e-05/0.0112, allocations: 4 kB / 0.8824 GB, free: 1.289 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.908e-05/0.01126, allocations: 16.02 kB / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.978e-06/0.01126, allocations: 0 / 0.8825 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0001041/0.01136, allocations: 109 kB / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of sort global known variables: time 8e-08/0.01136, allocations: 0 / 0.8826 GB, free: 1.168 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.000274/0.01164, allocations: 15.89 kB / 0.8826 GB, free: 1.152 MB / 0.8386 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.0001473/0.01178, allocations: 99.19 kB / 0.8827 GB, free: 1.043 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001838/0.01197, allocations: 39.91 kB / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.883e-06/0.01197, allocations: 192 / 0.8827 GB, free: 1.004 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 5.387e-05/0.01202, allocations: 12 kB / 0.8827 GB, free: 0.9922 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002927/0.01232, allocations: 11.94 kB / 0.8827 GB, free: 0.9805 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004343/0.01275, allocations: 164.8 kB / 0.8829 GB, free: 0.793 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001047/0.01286, allocations: 85.3 kB / 0.883 GB, free: 0.6875 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.312e-05/0.01291, allocations: 8.562 kB / 0.883 GB, free: 0.6797 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.215e-05/0.01295, allocations: 12.5 kB / 0.883 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of SimCode: time 6.21e-07/0.01295, allocations: 0 / 0.883 GB, free: 0.668 MB / 0.8386 GB Notification: Performance of Templates: time 0.00471/0.01766, allocations: 0.8375 MB / 0.8838 GB, free: 15.86 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=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: 8.666488287039101]