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.001058/0.001058, allocations: 88.22 kB / 20.21 MB, free: 4.207 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.0008167/0.0008167, allocations: 161.3 kB / 23.52 MB, free: 0.8945 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.8861/0.8861, allocations: 177.2 MB / 203.9 MB, free: 5.582 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.942/1.942, allocations: 428.6 MB / 0.6727 GB, free: 4.918 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.805e-06/2.805e-06, allocations: 0.875 kB / 0.8763 GB, free: 8.664 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.218e-05/3.499e-05, allocations: 2.312 kB / 0.8763 GB, free: 8.66 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.001697/0.001732, allocations: 0.8434 MB / 0.8771 GB, free: 7.848 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.00107/0.002802, allocations: 0.9286 MB / 0.878 GB, free: 6.91 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000117/0.002919, allocations: 4.875 kB / 0.878 GB, free: 6.906 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001357/0.003055, allocations: 12.73 kB / 0.8781 GB, free: 6.895 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 4.431e-05/0.003099, allocations: 8.531 kB / 0.8781 GB, free: 6.887 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002299/0.003329, allocations: 41.22 kB / 0.8781 GB, free: 6.848 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.000136/0.003465, allocations: 103.7 kB / 0.8782 GB, free: 6.746 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001007/0.003565, allocations: 31.92 kB / 0.8782 GB, free: 6.715 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001747/0.00374, allocations: 71.72 kB / 0.8783 GB, free: 6.648 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 7.207e-05/0.003812, allocations: 27.91 kB / 0.8783 GB, free: 6.621 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.36e-05/0.003836, allocations: 8 kB / 0.8783 GB, free: 6.613 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.241e-05/0.003888, allocations: 12 kB / 0.8783 GB, free: 6.602 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.242e-05/0.003911, allocations: 27.91 kB / 0.8784 GB, free: 6.574 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.003941, allocations: 19.94 kB / 0.8784 GB, free: 6.555 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0001849/0.004126, allocations: 139.5 kB / 0.8785 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 2.645e-06/0.004128, allocations: 0 / 0.8785 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.022e-06/0.004129, allocations: 0 / 0.8785 GB, free: 6.418 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.43e-06/0.004135, allocations: 0 / 0.8785 GB, free: 6.418 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.00044/0.004575, allocations: 334.8 kB / 0.8788 GB, free: 6.059 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 3.895e-05/0.004614, allocations: 9.062 kB / 0.8789 GB, free: 6.051 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001534/0.004767, allocations: 28.88 kB / 0.8789 GB, free: 6.023 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002878/0.005055, allocations: 170.8 kB / 0.879 GB, free: 5.832 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.061e-05/0.005066, allocations: 4.375 kB / 0.879 GB, free: 5.828 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.492e-05/0.005081, allocations: 9.5 kB / 0.8791 GB, free: 5.82 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001901/0.005271, allocations: 121.6 kB / 0.8792 GB, free: 5.684 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.00528, allocations: 9.172 kB / 0.8792 GB, free: 5.676 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.147e-05/0.005302, allocations: 4.375 kB / 0.8792 GB, free: 5.672 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.398e-06/0.005311, allocations: 8.062 kB / 0.8792 GB, free: 5.664 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.344e-05/0.005394, allocations: 40.7 kB / 0.8792 GB, free: 5.625 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000463/0.005857, allocations: 405.5 kB / 0.8796 GB, free: 5.188 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.746e-05/0.005935, allocations: 30.58 kB / 0.8796 GB, free: 5.148 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.048e-05/0.005965, allocations: 12.91 kB / 0.8797 GB, free: 5.133 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.647e-05/0.005982, allocations: 4.625 kB / 0.8797 GB, free: 5.129 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.203e-05/0.006004, allocations: 31.94 kB / 0.8797 GB, free: 5.09 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 4.028e-06/0.006008, allocations: 4 kB / 0.8797 GB, free: 5.086 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.000215/0.006223, allocations: 66.88 kB / 0.8798 GB, free: 5.016 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.208e-05/0.006265, allocations: 51.41 kB / 0.8798 GB, free: 4.953 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001248/0.00639, allocations: 140 kB / 0.8799 GB, free: 4.805 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 2.003e-05/0.00641, allocations: 26.98 kB / 0.88 GB, free: 4.773 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 7.885e-05/0.006489, allocations: 112 kB / 0.8801 GB, free: 4.66 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 8.696e-06/0.006497, allocations: 7.891 kB / 0.8801 GB, free: 4.652 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.726e-05/0.006535, allocations: 25.7 kB / 0.8801 GB, free: 4.621 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001052/0.00664, allocations: 326.2 kB / 0.8804 GB, free: 4.297 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.27e-05/0.006682, allocations: 12 kB / 0.8804 GB, free: 4.285 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.00674, allocations: 78.05 kB / 0.8805 GB, free: 4.188 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.469e-05/0.006814, allocations: 55.36 kB / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.006816, allocations: 0 / 0.8806 GB, free: 4.121 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001284/0.006945, allocations: 82.56 kB / 0.8806 GB, free: 4.035 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 2.318e-05/0.006968, allocations: 12.25 kB / 0.8807 GB, free: 4.023 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.414e-06/0.006975, allocations: 3.938 kB / 0.8807 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.831e-05/0.006993, allocations: 0 / 0.8807 GB, free: 4.02 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.6e-05/0.007069, allocations: 11.98 kB / 0.8807 GB, free: 4.008 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.024e-05/0.00708, allocations: 7.922 kB / 0.8807 GB, free: 4 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.284e-05/0.007123, allocations: 11.89 kB / 0.8807 GB, free: 3.988 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.024e-06/0.00713, allocations: 4 kB / 0.8807 GB, free: 3.984 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 9.734e-05/0.007227, allocations: 125.8 kB / 0.8808 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.98e-05/0.007247, allocations: 0 / 0.8808 GB, free: 3.852 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.01e-05/0.007277, allocations: 15.97 kB / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.745e-06/0.00728, allocations: 0 / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.007285, allocations: 0 / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.868e-06/0.007289, allocations: 0 / 0.8808 GB, free: 3.836 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.007416, allocations: 133.2 kB / 0.881 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/0.007417, allocations: 0 / 0.881 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.72e-05/0.007445, allocations: 0 / 0.881 GB, free: 3.676 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.837e-06/0.007448, allocations: 7.984 kB / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.264e-06/0.007456, allocations: 0 / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.007457, allocations: 0 / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.673e-06/0.007458, allocations: 0 / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000123/0.007581, allocations: 155.4 kB / 0.8811 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 9.328e-06/0.007591, allocations: 7.938 kB / 0.8811 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.402e-05/0.007605, allocations: 0 / 0.8811 GB, free: 3.492 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.855e-05/0.007643, allocations: 8 kB / 0.8811 GB, free: 3.484 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.164e-05/0.007685, allocations: 7.984 kB / 0.8811 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.685e-06/0.007688, allocations: 0 / 0.8811 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 5.472e-05/0.007742, allocations: 113.3 kB / 0.8812 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of sort global known variables: time 5e-08/0.007742, allocations: 0 / 0.8812 GB, free: 3.367 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0001584/0.007901, allocations: 11.94 kB / 0.8812 GB, free: 3.355 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.0001007/0.008002, allocations: 107.2 kB / 0.8814 GB, free: 3.238 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001146/0.008116, allocations: 35.92 kB / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.008118, allocations: 0 / 0.8814 GB, free: 3.203 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 3.104e-05/0.008149, allocations: 11.98 kB / 0.8814 GB, free: 3.191 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000195/0.008344, allocations: 9.719 kB / 0.8814 GB, free: 3.184 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002974/0.008641, allocations: 190.5 kB / 0.8816 GB, free: 2.965 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.882e-05/0.0087, allocations: 81.7 kB / 0.8817 GB, free: 2.863 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.894e-05/0.008739, allocations: 20.42 kB / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of SimCode: time 6.11e-07/0.00874, allocations: 0 / 0.8817 GB, free: 2.844 MB / 0.8386 GB Notification: Performance of Templates: time 0.002148/0.01089, allocations: 1.173 MB / 0.8828 GB, free: 1.676 MB / 0.8386 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: 6.513520956039429]