Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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.001623/0.001623, allocations: 110.2 kB / 19.69 MB, free: 2.254 MB / 14.72 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.001871/0.001871, allocations: 221.2 kB / 23.01 MB, free: 4.566 MB / 14.72 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.451/1.451, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.135/3.135, allocations: 0.49 GB / 0.7958 GB, free: 33.46 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") translateModel(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc") [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002039/0.002039, allocations: 62.28 kB / 1.155 GB, free: 25.59 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3333/0.3354, allocations: 176.1 MB / 1.327 GB, free: 1.566 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002494/0.3379, allocations: 1.307 MB / 1.328 GB, free: 260 kB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001343/0.3392, allocations: 0.7834 MB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.954e-05/0.3392, allocations: 0 / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.177e-05/0.3393, allocations: 3.984 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.246e-05/0.3393, allocations: 3.938 kB / 1.329 GB, free: 15.46 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003396/0.3396, allocations: 99.91 kB / 1.329 GB, free: 15.36 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 5.959e-05/0.3397, allocations: 15.92 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.462e-05/0.3398, allocations: 8 kB / 1.329 GB, free: 15.34 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 1.911e-05/0.3398, allocations: 4 kB / 1.329 GB, free: 15.33 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 5.275e-05/0.3398, allocations: 11.92 kB / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.108e-05/0.3398, allocations: 0 / 1.329 GB, free: 15.32 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000304/0.3401, allocations: 144.1 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.277e-05/0.3402, allocations: 3.984 kB / 1.329 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.401e-05/0.3402, allocations: 15.88 kB / 1.329 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0001839/0.3404, allocations: 99.72 kB / 1.33 GB, free: 15.06 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 3.536e-06/0.3404, allocations: 7.938 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.352e-06/0.3404, allocations: 0 / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.857e-06/0.3404, allocations: 4 kB / 1.33 GB, free: 15.05 MB / 1.029 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0003342/0.3407, allocations: 258.2 kB / 1.33 GB, free: 14.77 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.497e-05/0.3407, allocations: 12.03 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.562e-05/0.3408, allocations: 0.9375 kB / 1.33 GB, free: 14.76 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001017/0.3409, allocations: 102.5 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.969e-06/0.3409, allocations: 384 / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.025e-05/0.3409, allocations: 4.375 kB / 1.33 GB, free: 14.63 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.455e-05/0.341, allocations: 49.94 kB / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.341, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.574e-06/0.341, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.727e-06/0.341, allocations: 0 / 1.33 GB, free: 14.57 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.189e-05/0.341, allocations: 15.97 kB / 1.33 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001571/0.3412, allocations: 128.7 kB / 1.33 GB, free: 14.39 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 8.397e-05/0.3413, allocations: 26.58 kB / 1.33 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.941e-05/0.3413, allocations: 20.92 kB / 1.33 GB, free: 14.33 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001636/0.343, allocations: 360.5 kB / 1.331 GB, free: 13.98 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.986e-05/0.343, allocations: 38.5 kB / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.343, allocations: 0 / 1.331 GB, free: 13.93 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001578/0.3431, allocations: 57.62 kB / 1.331 GB, free: 13.87 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.669e-05/0.3432, allocations: 51.41 kB / 1.331 GB, free: 13.81 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.33e-05/0.3432, allocations: 89.86 kB / 1.331 GB, free: 13.71 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.809e-05/0.3433, allocations: 29.7 kB / 1.331 GB, free: 13.68 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 3.495e-05/0.3433, allocations: 80.14 kB / 1.331 GB, free: 13.59 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.3433, allocations: 16.03 kB / 1.331 GB, free: 13.58 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.181e-05/0.3434, allocations: 17.7 kB / 1.331 GB, free: 13.55 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001318/0.3435, allocations: 310.8 kB / 1.331 GB, free: 13.24 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.899e-05/0.3435, allocations: 8 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.099e-05/0.3435, allocations: 4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.398e-05/0.3436, allocations: 12.86 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.3436, allocations: 0 / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.987e-05/0.3436, allocations: 45.62 kB / 1.331 GB, free: 13.16 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.746e-05/0.3436, allocations: 13.66 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.418e-06/0.3436, allocations: 4 kB / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.248e-05/0.3437, allocations: 0 / 1.331 GB, free: 13.15 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.193e-05/0.3437, allocations: 11.98 kB / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.3437, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.344e-05/0.3437, allocations: 0 / 1.331 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.321e-06/0.3437, allocations: 7.938 kB / 1.331 GB, free: 13.13 MB / 1.029 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 7.385e-05/0.3438, allocations: 106.4 kB / 1.331 GB, free: 13.02 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.898e-06/0.3438, allocations: 3.938 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001268/0.3439, allocations: 65.27 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.707e-06/0.344, allocations: 4 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.344, allocations: 0 / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.344, allocations: 3.938 kB / 1.331 GB, free: 12.93 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001046/0.3441, allocations: 120.8 kB / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.3441, allocations: 0 / 1.332 GB, free: 12.77 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.382e-05/0.3441, allocations: 4 kB / 1.332 GB, free: 12.76 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.44e-06/0.3441, allocations: 7.922 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.474e-06/0.3441, allocations: 4 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3441, allocations: 4 kB / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.92e-07/0.3441, allocations: 0 / 1.332 GB, free: 12.75 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.591e-05/0.3442, allocations: 81.48 kB / 1.332 GB, free: 12.65 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-06/0.3442, allocations: 3.938 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.113e-05/0.3442, allocations: 0 / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.179e-05/0.3442, allocations: 0 / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.435e-05/0.3442, allocations: 7.938 kB / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3442, allocations: 0 / 1.332 GB, free: 12.64 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.421e-05/0.3443, allocations: 87.27 kB / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3443, allocations: 0 / 1.332 GB, free: 12.55 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002247/0.3445, allocations: 31.88 kB / 1.332 GB, free: 12.52 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.000229/0.3447, allocations: 123.2 kB / 1.332 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 8.75e-05/0.3448, allocations: 15.98 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.3448, allocations: 4.094 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.3449, allocations: 8 kB / 1.332 GB, free: 12.36 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001904/0.345, allocations: 10.19 kB / 1.332 GB, free: 12.35 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002648/0.3453, allocations: 135.8 kB / 1.332 GB, free: 12.19 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002979/0.3456, allocations: 0.6806 MB / 1.333 GB, free: 11.48 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.124e-05/0.3456, allocations: 11.44 kB / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of SimCode: time 2.7e-07/0.3456, allocations: 0 / 1.333 GB, free: 11.47 MB / 1.029 GB Notification: Performance of Templates: time 0.002612/0.3482, allocations: 0.9148 MB / 1.334 GB, free: 10.56 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.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: 11.383208965999074]