Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.001653/0.001653, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002302/0.002302, allocations: 212.3 kB / 22.25 MB, free: 4.859 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.425/1.425, allocations: 230.6 MB / 256 MB, free: 7.812 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.719/2.719, allocations: 476 MB / 0.7699 GB, free: 4.793 MB / 0.6231 GB " [Timeout remaining time 177] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) [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.002138/0.002138, allocations: 67.88 kB / 1.117 GB, free: 41 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3506/0.3527, allocations: 170 MB / 1.283 GB, free: 12.39 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002371/0.3551, allocations: 1.312 MB / 1.284 GB, free: 11.08 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.00122/0.3563, allocations: 0.723 MB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.823e-05/0.3563, allocations: 4 kB / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.598e-05/0.3563, allocations: 0 / 1.285 GB, free: 10.35 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.444e-05/0.3564, allocations: 3.938 kB / 1.285 GB, free: 10.34 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003349/0.3567, allocations: 87.95 kB / 1.285 GB, free: 10.26 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.376e-05/0.3568, allocations: 27.86 kB / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.338e-05/0.3568, allocations: 0 / 1.285 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.278e-05/0.3568, allocations: 7.938 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.433e-05/0.3569, allocations: 4 kB / 1.285 GB, free: 10.22 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.452e-05/0.3569, allocations: 7.984 kB / 1.285 GB, free: 10.21 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003026/0.3572, allocations: 140.1 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.456e-05/0.3572, allocations: 7.984 kB / 1.285 GB, free: 10.07 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.142e-05/0.3572, allocations: 7.938 kB / 1.285 GB, free: 10.06 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001882/0.3574, allocations: 100.8 kB / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.3574, allocations: 0 / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.392e-06/0.3574, allocations: 0 / 1.285 GB, free: 9.965 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 5.481e-06/0.3574, allocations: 4 kB / 1.285 GB, free: 9.961 MB / 0.9825 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.0003527/0.3578, allocations: 266.2 kB / 1.285 GB, free: 9.672 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.3578, allocations: 8.031 kB / 1.285 GB, free: 9.664 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.134e-05/0.3579, allocations: 34.75 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.102e-05/0.3579, allocations: 0.9375 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000105/0.358, allocations: 110.5 kB / 1.285 GB, free: 9.488 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.284e-05/0.358, allocations: 4.375 kB / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.883e-06/0.358, allocations: 384 / 1.285 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.945e-05/0.3581, allocations: 37.81 kB / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.254e-06/0.3581, allocations: 0 / 1.285 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.3581, allocations: 7.984 kB / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.3581, allocations: 0 / 1.285 GB, free: 9.434 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.645e-05/0.3582, allocations: 15.98 kB / 1.285 GB, free: 9.418 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001542/0.3583, allocations: 120.8 kB / 1.286 GB, free: 9.258 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.983e-05/0.3584, allocations: 38.55 kB / 1.286 GB, free: 9.211 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.492e-05/0.3584, allocations: 8.922 kB / 1.286 GB, free: 9.199 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001604/0.36, allocations: 364.5 kB / 1.286 GB, free: 8.844 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.223e-05/0.3601, allocations: 38.5 kB / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.021e-06/0.3601, allocations: 0 / 1.286 GB, free: 8.797 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001517/0.3602, allocations: 45.69 kB / 1.286 GB, free: 8.746 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.3603, allocations: 55.34 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.475e-05/0.3603, allocations: 105.8 kB / 1.286 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.334e-05/0.3603, allocations: 29.64 kB / 1.286 GB, free: 8.531 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.29e-05/0.3604, allocations: 80.14 kB / 1.286 GB, free: 8.449 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.735e-05/0.3604, allocations: 11.91 kB / 1.286 GB, free: 8.438 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/0.3604, allocations: 17.72 kB / 1.286 GB, free: 8.414 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001256/0.3606, allocations: 310.8 kB / 1.287 GB, free: 8.102 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.465e-05/0.3606, allocations: 4 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.141e-05/0.3606, allocations: 3.984 kB / 1.287 GB, free: 8.094 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.524e-05/0.3606, allocations: 16.86 kB / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.3606, allocations: 0 / 1.287 GB, free: 8.074 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.962e-05/0.3607, allocations: 49.62 kB / 1.287 GB, free: 8.02 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.32e-05/0.3607, allocations: 16.06 kB / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.647e-06/0.3607, allocations: 0 / 1.287 GB, free: 8.004 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.191e-05/0.3607, allocations: 3.938 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.699e-05/0.3608, allocations: 4 kB / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.928e-06/0.3608, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.26e-05/0.3608, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.037e-06/0.3608, allocations: 0 / 1.287 GB, free: 7.996 MB / 0.9825 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.39e-05/0.3609, allocations: 113.8 kB / 1.287 GB, free: 7.875 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.3609, allocations: 7.922 kB / 1.287 GB, free: 7.867 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001073/0.361, allocations: 49.38 kB / 1.287 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.959e-06/0.361, allocations: 8 kB / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.361, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.746e-06/0.361, allocations: 0 / 1.287 GB, free: 7.805 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.3611, allocations: 128.7 kB / 1.287 GB, free: 7.637 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.152e-06/0.3611, allocations: 3.938 kB / 1.287 GB, free: 7.633 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.605e-05/0.3611, allocations: 12.31 kB / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.3611, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.3611, allocations: 0 / 1.287 GB, free: 7.621 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.3611, allocations: 4 kB / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.61e-07/0.3611, allocations: 0 / 1.287 GB, free: 7.617 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.712e-05/0.3612, allocations: 73.06 kB / 1.287 GB, free: 7.527 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 1.012e-05/0.3612, allocations: 11.94 kB / 1.287 GB, free: 7.516 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.141e-05/0.3612, allocations: 7.938 kB / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.126e-05/0.3612, allocations: 0 / 1.287 GB, free: 7.508 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.238e-05/0.3613, allocations: 3.984 kB / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.385e-06/0.3613, allocations: 0 / 1.287 GB, free: 7.504 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 4.672e-05/0.3613, allocations: 79.28 kB / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of sort global known variables: time 7e-08/0.3613, allocations: 0 / 1.287 GB, free: 7.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002148/0.3615, allocations: 31.88 kB / 1.287 GB, free: 7.395 MB / 0.9825 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.0004888/0.362, allocations: 0.6319 MB / 1.288 GB, free: 6.73 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.557e-05/0.3621, allocations: 15.98 kB / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.3621, allocations: 0 / 1.288 GB, free: 6.715 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.763e-05/0.3621, allocations: 11.94 kB / 1.288 GB, free: 6.703 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001822/0.3623, allocations: 7.984 kB / 1.288 GB, free: 6.695 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003819/0.3627, allocations: 155.7 kB / 1.288 GB, free: 6.5 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.032e-05/0.3627, allocations: 63.34 kB / 1.288 GB, free: 6.418 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.487e-05/0.3628, allocations: 4 kB / 1.288 GB, free: 6.414 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.532e-05/0.3628, allocations: 7.438 kB / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of SimCode: time 2.61e-07/0.3628, allocations: 0 / 1.288 GB, free: 6.406 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02747/0.3902, allocations: 2.273 MB / 1.29 GB, free: 4.277 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.8/11.19, allocations: 13.16 kB / 1.29 GB, free: 4.27 MB / 0.9825 GB " [Timeout remaining time 288] (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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: 17.77483317721635]