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.001057/0.001057, allocations: 92.2 kB / 20.19 MB, free: 4.355 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.001027/0.001027, allocations: 173 kB / 23.49 MB, free: 1.055 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.026/1.026, allocations: 177.1 MB / 203.8 MB, free: 5.641 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.6736 GB, free: 4.051 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 3.647e-06/3.647e-06, allocations: 0 / 0.8782 GB, free: 6.594 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.424e-05/3.788e-05, allocations: 2.875 kB / 0.8782 GB, free: 6.59 MB / 0.8386 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.ASHRAE.G36.Plants.Chillers.Towers.Validation.WaterLevel): time 0.002295/0.002333, allocations: 0.8782 MB / 0.8791 GB, free: 5.734 MB / 0.8386 GB Notification: Performance of NFInst.instExpressions: time 0.001378/0.003711, allocations: 0.9357 MB / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001291/0.00384, allocations: 0 / 0.88 GB, free: 4.789 MB / 0.8386 GB Notification: Performance of NFTyping.typeComponents: time 0.0001558/0.003996, allocations: 14.16 kB / 0.88 GB, free: 4.777 MB / 0.8386 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.004059, allocations: 16.89 kB / 0.88 GB, free: 4.762 MB / 0.8386 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002589/0.004317, allocations: 43.89 kB / 0.8801 GB, free: 4.719 MB / 0.8386 GB Notification: Performance of NFFlatten.flatten: time 0.0001536/0.004471, allocations: 96.83 kB / 0.8802 GB, free: 4.625 MB / 0.8386 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001643/0.004635, allocations: 35.91 kB / 0.8802 GB, free: 4.59 MB / 0.8386 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002357/0.004871, allocations: 67.77 kB / 0.8803 GB, free: 4.523 MB / 0.8386 GB Notification: Performance of NFSimplifyModel.simplify: time 8.59e-05/0.004957, allocations: 25 kB / 0.8803 GB, free: 4.5 MB / 0.8386 GB Notification: Performance of NFPackage.collectConstants: time 2.586e-05/0.004983, allocations: 8 kB / 0.8803 GB, free: 4.492 MB / 0.8386 GB Notification: Performance of NFFlatten.collectFunctions: time 5.505e-05/0.005038, allocations: 16.64 kB / 0.8803 GB, free: 4.477 MB / 0.8386 GB Notification: Performance of NFScalarize.scalarize: time 2.717e-05/0.005065, allocations: 23.92 kB / 0.8803 GB, free: 4.453 MB / 0.8386 GB Notification: Performance of NFVerifyModel.verify: time 4.064e-05/0.005106, allocations: 24.48 kB / 0.8803 GB, free: 4.43 MB / 0.8386 GB Notification: Performance of NFConvertDAE.convert: time 0.0002028/0.005308, allocations: 71.73 kB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of FrontEnd - DAE generated: time 3.807e-06/0.005312, allocations: 0.9062 kB / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.112e-06/0.005313, allocations: 0 / 0.8804 GB, free: 4.359 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.005319, allocations: 1.188 kB / 0.8804 GB, free: 4.359 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.0005487/0.005868, allocations: 428.2 kB / 0.8808 GB, free: 3.902 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.745e-05/0.005915, allocations: 9.062 kB / 0.8808 GB, free: 3.895 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001858/0.006101, allocations: 28.81 kB / 0.8809 GB, free: 3.867 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.006422, allocations: 175.8 kB / 0.881 GB, free: 3.672 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.617e-05/0.006439, allocations: 4.375 kB / 0.881 GB, free: 3.668 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.148e-05/0.00646, allocations: 17.48 kB / 0.881 GB, free: 3.652 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002266/0.006687, allocations: 127.9 kB / 0.8812 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.006696, allocations: 192 / 0.8812 GB, free: 3.504 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.612e-05/0.006712, allocations: 5.406 kB / 0.8812 GB, free: 3.5 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.006723, allocations: 4.125 kB / 0.8812 GB, free: 3.496 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.133e-05/0.006794, allocations: 19.98 kB / 0.8812 GB, free: 3.477 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006421/0.007436, allocations: 0.4968 MB / 0.8817 GB, free: 2.934 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 7.858e-05/0.007515, allocations: 35.09 kB / 0.8817 GB, free: 2.887 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.47e-05/0.007539, allocations: 11.75 kB / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.618e-05/0.007555, allocations: 0 / 0.8817 GB, free: 2.871 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.773e-05/0.007583, allocations: 37.38 kB / 0.8818 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=2): time 1.653e-06/0.007585, allocations: 0 / 0.8818 GB, free: 2.824 MB / 0.8386 GB Notification: Performance of matching and sorting (n=2): time 0.0001977/0.007783, allocations: 47.06 kB / 0.8818 GB, free: 2.773 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.832e-05/0.007821, allocations: 51.41 kB / 0.8819 GB, free: 2.711 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001622/0.007983, allocations: 204.1 kB / 0.8821 GB, free: 2.496 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.81e-05/0.008001, allocations: 26.23 kB / 0.8821 GB, free: 2.465 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.008102, allocations: 166.6 kB / 0.8822 GB, free: 2.297 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 9.187e-06/0.008111, allocations: 5.547 kB / 0.8822 GB, free: 2.293 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.379e-05/0.008165, allocations: 27.36 kB / 0.8823 GB, free: 2.258 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001639/0.008328, allocations: 0.4922 MB / 0.8827 GB, free: 1.754 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.299e-05/0.008361, allocations: 4 kB / 0.8828 GB, free: 1.75 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.008434, allocations: 81.16 kB / 0.8828 GB, free: 1.645 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.021e-05/0.008514, allocations: 48.78 kB / 0.8829 GB, free: 1.582 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.008519, allocations: 4 kB / 0.8829 GB, free: 1.578 MB / 0.8386 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001279/0.008647, allocations: 65.56 kB / 0.8829 GB, free: 1.508 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.761e-05/0.008665, allocations: 8.25 kB / 0.8829 GB, free: 1.5 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.55e-06/0.00867, allocations: 4 kB / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/0.008686, allocations: 0 / 0.883 GB, free: 1.496 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.816e-05/0.008764, allocations: 15.94 kB / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.744e-06/0.008772, allocations: 0 / 0.883 GB, free: 1.48 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.008825, allocations: 15.83 kB / 0.883 GB, free: 1.465 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.043e-05/0.008836, allocations: 7.984 kB / 0.883 GB, free: 1.457 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.77e-05/0.008933, allocations: 156.6 kB / 0.8831 GB, free: 1.293 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.27e-05/0.008966, allocations: 7.953 kB / 0.8831 GB, free: 1.285 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.047e-05/0.008997, allocations: 11.91 kB / 0.8832 GB, free: 1.273 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.008999, allocations: 4 kB / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.009003, allocations: 0 / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.009006, allocations: 128 / 0.8832 GB, free: 1.27 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001796/0.009186, allocations: 144.5 kB / 0.8833 GB, free: 1.094 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.397e-06/0.009189, allocations: 4 kB / 0.8833 GB, free: 1.09 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.844e-05/0.009218, allocations: 3.984 kB / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009221, allocations: 0 / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.009229, allocations: 0 / 0.8833 GB, free: 1.086 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.014e-05/0.009239, allocations: 7.984 kB / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.523e-06/0.009241, allocations: 0 / 0.8833 GB, free: 1.078 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001547/0.009395, allocations: 195.8 kB / 0.8835 GB, free: 0.8672 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 1.369e-05/0.009409, allocations: 8.031 kB / 0.8835 GB, free: 0.8594 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.222e-05/0.009431, allocations: 4.047 kB / 0.8835 GB, free: 0.8555 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.282e-05/0.009494, allocations: 3.984 kB / 0.8835 GB, free: 0.8516 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.31e-05/0.009547, allocations: 7.984 kB / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.698e-06/0.009552, allocations: 0 / 0.8835 GB, free: 0.8438 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 8.252e-05/0.009634, allocations: 148.8 kB / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of sort global known variables: time 7e-08/0.009634, allocations: 0 / 0.8837 GB, free: 0.6992 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003035/0.009938, allocations: 12 kB / 0.8837 GB, free: 0.6875 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.0001355/0.01007, allocations: 103.2 kB / 0.8838 GB, free: 0.5742 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0001319/0.01021, allocations: 35.61 kB / 0.8838 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 1.913e-06/0.01021, allocations: 0 / 0.8838 GB, free: 0.5352 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 2.498e-05/0.01023, allocations: 11.69 kB / 0.8838 GB, free: 0.5195 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003142/0.01055, allocations: 8 kB / 0.8838 GB, free: 0.5117 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003716/0.01092, allocations: 162.4 kB / 0.884 GB, free: 332 kB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.167e-05/0.01097, allocations: 63.28 kB / 0.884 GB, free: 248 kB / 0.8386 GB Notification: Performance of simCode: alias equations: time 5.373e-05/0.01102, allocations: 16.73 kB / 0.8841 GB, free: 232 kB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.31e-05/0.01107, allocations: 12.5 kB / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of SimCode: time 9.02e-07/0.01107, allocations: 0 / 0.8841 GB, free: 220 kB / 0.8386 GB Notification: Performance of Templates: time 0.003844/0.01491, allocations: 0.8225 MB / 0.8849 GB, free: 15.43 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.460866115055978]