Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.001278/0.001278, allocations: 102.1 kB / 19.7 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.001419/0.001419, allocations: 219.1 kB / 23.01 MB, free: 4.609 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.439/1.439, allocations: 230.6 MB / 256.8 MB, free: 8.012 MB / 206.1 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.207/3.207, allocations: 0.505 GB / 0.8108 GB, free: 22.02 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.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.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TApp_Wat|TApp_Air",fileNamePrefix="Buildings_latest_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_latest_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.002056/0.002056, allocations: 66.94 kB / 1.178 GB, free: 16.73 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3824/0.3844, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002641/0.3871, allocations: 1.315 MB / 1.355 GB, free: 6.586 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.001372/0.3885, allocations: 0.7756 MB / 1.356 GB, free: 5.809 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.017e-05/0.3885, allocations: 7.938 kB / 1.356 GB, free: 5.801 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.3885, allocations: 7.922 kB / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.3886, allocations: 0 / 1.356 GB, free: 5.793 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003528/0.3889, allocations: 95.91 kB / 1.356 GB, free: 5.699 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 6.203e-05/0.389, allocations: 15.92 kB / 1.356 GB, free: 5.684 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 4.402e-05/0.389, allocations: 4 kB / 1.356 GB, free: 5.68 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 2.308e-05/0.389, allocations: 8 kB / 1.356 GB, free: 5.672 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 5.334e-05/0.3891, allocations: 11.86 kB / 1.356 GB, free: 5.66 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.106e-05/0.3891, allocations: 4 kB / 1.356 GB, free: 5.656 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003183/0.3894, allocations: 148.1 kB / 1.356 GB, free: 5.512 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.323e-05/0.3894, allocations: 3.984 kB / 1.356 GB, free: 5.508 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 2.072e-05/0.3895, allocations: 4 kB / 1.356 GB, free: 5.504 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0002026/0.3897, allocations: 107.7 kB / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.3897, allocations: 0 / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of FrontEnd: time 1.874e-06/0.3897, allocations: 0 / 1.357 GB, free: 5.398 MB / 1.045 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3897, allocations: 0 / 1.357 GB, free: 5.398 MB / 1.045 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.000365/0.39, allocations: 262.2 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 3.67e-05/0.3901, allocations: 8.031 kB / 1.357 GB, free: 5.105 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.074e-05/0.3901, allocations: 8.938 kB / 1.357 GB, free: 5.098 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.3902, allocations: 106.5 kB / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.3902, allocations: 384 / 1.357 GB, free: 4.969 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.612e-05/0.3902, allocations: 7.938 kB / 1.357 GB, free: 4.961 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001023/0.3903, allocations: 41.62 kB / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.213e-06/0.3903, allocations: 0 / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.806e-06/0.3903, allocations: 0 / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.987e-06/0.3904, allocations: 0 / 1.357 GB, free: 4.914 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.119e-05/0.3904, allocations: 15.92 kB / 1.357 GB, free: 4.898 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001626/0.3906, allocations: 120.8 kB / 1.357 GB, free: 4.738 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 9.319e-05/0.3906, allocations: 38.55 kB / 1.357 GB, free: 4.691 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.722e-05/0.3907, allocations: 8.922 kB / 1.357 GB, free: 4.68 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001603/0.3923, allocations: 372.5 kB / 1.357 GB, free: 4.316 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.173e-05/0.3923, allocations: 38.48 kB / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.3923, allocations: 0 / 1.358 GB, free: 4.27 MB / 1.045 GB Notification: Performance of matching and sorting (n=3): time 0.0001642/0.3925, allocations: 45.69 kB / 1.358 GB, free: 4.219 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.968e-05/0.3925, allocations: 55.41 kB / 1.358 GB, free: 4.152 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.78e-05/0.3926, allocations: 97.86 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 1.823e-05/0.3926, allocations: 25.7 kB / 1.358 GB, free: 4.016 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 3.856e-05/0.3927, allocations: 84.14 kB / 1.358 GB, free: 3.93 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 2.475e-05/0.3927, allocations: 7.906 kB / 1.358 GB, free: 3.922 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.61e-05/0.3927, allocations: 17.72 kB / 1.358 GB, free: 3.898 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001274/0.3928, allocations: 314.8 kB / 1.358 GB, free: 3.582 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.638e-05/0.3929, allocations: 7.938 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.311e-05/0.3929, allocations: 8.125 kB / 1.358 GB, free: 3.566 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.898e-05/0.3929, allocations: 25.06 kB / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.3929, allocations: 0 / 1.358 GB, free: 3.539 MB / 1.045 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.991e-05/0.393, allocations: 45.62 kB / 1.358 GB, free: 3.488 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.393, allocations: 4 kB / 1.358 GB, free: 3.484 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.068e-06/0.393, allocations: 4 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.393, allocations: 0 / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.928e-05/0.3931, allocations: 7.984 kB / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.35e-06/0.3931, allocations: 0 / 1.358 GB, free: 3.473 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.449e-05/0.3931, allocations: 4 kB / 1.358 GB, free: 3.469 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.867e-06/0.3931, allocations: 0 / 1.358 GB, free: 3.469 MB / 1.045 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 8.824e-05/0.3932, allocations: 126.3 kB / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.154e-06/0.3932, allocations: 0 / 1.358 GB, free: 3.336 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001281/0.3933, allocations: 53.33 kB / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.493e-06/0.3933, allocations: 0 / 1.358 GB, free: 3.277 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/0.3933, allocations: 4 kB / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.265e-06/0.3933, allocations: 0 / 1.358 GB, free: 3.273 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001121/0.3934, allocations: 128.7 kB / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.3934, allocations: 0 / 1.359 GB, free: 3.105 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.204e-05/0.3935, allocations: 4 kB / 1.359 GB, free: 3.102 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3935, allocations: 7.938 kB / 1.359 GB, free: 3.094 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.135e-06/0.3935, allocations: 3.984 kB / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.3935, allocations: 0 / 1.359 GB, free: 3.09 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.43e-06/0.3935, allocations: 8 kB / 1.359 GB, free: 3.082 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.193e-05/0.3936, allocations: 77 kB / 1.359 GB, free: 2.988 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 7.044e-06/0.3936, allocations: 4 kB / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.093e-05/0.3936, allocations: 0 / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.106e-05/0.3936, allocations: 0 / 1.359 GB, free: 2.984 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.727e-05/0.3936, allocations: 8 kB / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.234e-06/0.3936, allocations: 0 / 1.359 GB, free: 2.977 MB / 1.045 GB Notification: Performance of sorting global known variables: time 4.269e-05/0.3937, allocations: 75.28 kB / 1.359 GB, free: 2.902 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.3937, allocations: 3.938 kB / 1.359 GB, free: 2.898 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002196/0.3939, allocations: 39.86 kB / 1.359 GB, free: 2.859 MB / 1.045 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.000233/0.3941, allocations: 127.2 kB / 1.359 GB, free: 2.723 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 8.888e-05/0.3942, allocations: 19.92 kB / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.3942, allocations: 0 / 1.359 GB, free: 2.703 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 1.431e-05/0.3942, allocations: 4 kB / 1.359 GB, free: 2.699 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001925/0.3944, allocations: 9.062 kB / 1.359 GB, free: 2.691 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002899/0.3947, allocations: 132.7 kB / 1.359 GB, free: 2.527 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003112/0.395, allocations: 0.6807 MB / 1.36 GB, free: 1.82 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.182e-05/0.395, allocations: 11.44 kB / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of SimCode: time 3e-07/0.395, allocations: 0 / 1.36 GB, free: 1.812 MB / 1.045 GB Notification: Performance of Templates: time 0.002604/0.3976, allocations: 0.9099 MB / 1.361 GB, free: 0.9062 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & ./Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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.57937893999042]