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.001328/0.001328, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.0015/0.0015, allocations: 213.8 kB / 22.25 MB, free: 5.078 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.367/1.367, allocations: 230.6 MB / 256 MB, free: 8.004 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.603/2.603, allocations: 476.8 MB / 0.7707 GB, free: 4.273 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.001982/0.001982, allocations: 67.27 kB / 1.117 GB, free: 40.36 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3227/0.3247, allocations: 170 MB / 1.283 GB, free: 11.72 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002359/0.327, allocations: 1.304 MB / 1.285 GB, free: 10.41 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001237/0.3283, allocations: 0.7814 MB / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.245e-05/0.3283, allocations: 0 / 1.285 GB, free: 9.625 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.542e-05/0.3283, allocations: 3.938 kB / 1.285 GB, free: 9.621 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 5.405e-05/0.3284, allocations: 7.922 kB / 1.285 GB, free: 9.613 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003279/0.3287, allocations: 95.91 kB / 1.286 GB, free: 9.52 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.406e-05/0.3288, allocations: 11.94 kB / 1.286 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.3288, allocations: 3.984 kB / 1.286 GB, free: 9.504 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.807e-05/0.3288, allocations: 11.92 kB / 1.286 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 5.363e-05/0.3289, allocations: 8 kB / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.3289, allocations: 0 / 1.286 GB, free: 9.484 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.3292, allocations: 148.1 kB / 1.286 GB, free: 9.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 9.357e-06/0.3292, allocations: 4 kB / 1.286 GB, free: 9.336 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.173e-05/0.3292, allocations: 7.938 kB / 1.286 GB, free: 9.328 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001879/0.3294, allocations: 107.3 kB / 1.286 GB, free: 9.227 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 6.192e-06/0.3294, allocations: 4 kB / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.763e-06/0.3294, allocations: 0 / 1.286 GB, free: 9.223 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.3294, allocations: 0 / 1.286 GB, free: 9.223 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.0003348/0.3298, allocations: 267.8 kB / 1.286 GB, free: 8.934 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.3298, allocations: 8.031 kB / 1.286 GB, free: 8.926 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.563e-05/0.3298, allocations: 34.75 kB / 1.286 GB, free: 8.883 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.166e-05/0.3298, allocations: 4.938 kB / 1.286 GB, free: 8.879 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001136/0.33, allocations: 102.5 kB / 1.286 GB, free: 8.754 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.127e-05/0.33, allocations: 4.375 kB / 1.286 GB, free: 8.75 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.33, allocations: 8.359 kB / 1.286 GB, free: 8.742 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.765e-05/0.3301, allocations: 37.81 kB / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.333e-06/0.3301, allocations: 0 / 1.286 GB, free: 8.699 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3301, allocations: 4 kB / 1.286 GB, free: 8.695 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.69e-06/0.3301, allocations: 4 kB / 1.286 GB, free: 8.691 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.969e-05/0.3301, allocations: 11.94 kB / 1.286 GB, free: 8.68 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000156/0.3303, allocations: 128.7 kB / 1.286 GB, free: 8.512 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.214e-05/0.3304, allocations: 34.61 kB / 1.286 GB, free: 8.469 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.692e-05/0.3304, allocations: 8.922 kB / 1.286 GB, free: 8.457 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001593/0.332, allocations: 368.5 kB / 1.287 GB, free: 8.098 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.567e-05/0.332, allocations: 34.5 kB / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.022e-06/0.332, allocations: 0 / 1.287 GB, free: 8.055 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.000152/0.3322, allocations: 49.62 kB / 1.287 GB, free: 8 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.3322, allocations: 55.41 kB / 1.287 GB, free: 7.934 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.713e-05/0.3323, allocations: 97.84 kB / 1.287 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.543e-05/0.3323, allocations: 25.7 kB / 1.287 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 3.667e-05/0.3323, allocations: 88.27 kB / 1.287 GB, free: 7.707 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.416e-05/0.3324, allocations: 7.906 kB / 1.287 GB, free: 7.699 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.3324, allocations: 17.72 kB / 1.287 GB, free: 7.676 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001376/0.3325, allocations: 310.8 kB / 1.287 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.808e-05/0.3326, allocations: 11.92 kB / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.357e-06/0.3326, allocations: 0 / 1.287 GB, free: 7.352 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.442e-05/0.3326, allocations: 16.86 kB / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.3326, allocations: 0 / 1.288 GB, free: 7.332 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.265e-05/0.3327, allocations: 57.56 kB / 1.288 GB, free: 7.27 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.284e-05/0.3327, allocations: 4 kB / 1.288 GB, free: 7.266 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.088e-06/0.3327, allocations: 4 kB / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.516e-05/0.3327, allocations: 0 / 1.288 GB, free: 7.262 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.897e-05/0.3327, allocations: 4 kB / 1.288 GB, free: 7.258 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.129e-06/0.3328, allocations: 3.938 kB / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.312e-05/0.3328, allocations: 0 / 1.288 GB, free: 7.254 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.536e-06/0.3328, allocations: 0 / 1.288 GB, free: 7.254 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 8.181e-05/0.3329, allocations: 117.8 kB / 1.288 GB, free: 7.129 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.879e-06/0.3329, allocations: 7.938 kB / 1.288 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001082/0.333, allocations: 53.64 kB / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.333, allocations: 48 / 1.288 GB, free: 7.062 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.333, allocations: 7.984 kB / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.333, allocations: 0 / 1.288 GB, free: 7.055 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001109/0.3331, allocations: 128.7 kB / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.61e-07/0.3331, allocations: 0 / 1.288 GB, free: 6.887 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.475e-05/0.3331, allocations: 7.938 kB / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.3331, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.019e-06/0.3331, allocations: 0 / 1.288 GB, free: 6.879 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.3331, allocations: 4 kB / 1.288 GB, free: 6.875 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.338e-06/0.3331, allocations: 4 kB / 1.288 GB, free: 6.871 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.61e-05/0.3332, allocations: 69.12 kB / 1.288 GB, free: 6.785 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.043e-06/0.3332, allocations: 3.938 kB / 1.288 GB, free: 6.781 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3332, allocations: 3.984 kB / 1.288 GB, free: 6.777 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.196e-05/0.3332, allocations: 3.938 kB / 1.288 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.869e-05/0.3333, allocations: 8 kB / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.325e-06/0.3333, allocations: 0 / 1.288 GB, free: 6.766 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.503e-05/0.3333, allocations: 79.28 kB / 1.288 GB, free: 6.688 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.11e-07/0.3333, allocations: 3.938 kB / 1.288 GB, free: 6.684 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002245/0.3335, allocations: 35.88 kB / 1.288 GB, free: 6.648 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.0005161/0.334, allocations: 0.632 MB / 1.289 GB, free: 5.984 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 7.76e-05/0.3341, allocations: 15.94 kB / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3341, allocations: 0 / 1.289 GB, free: 5.969 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.662e-05/0.3341, allocations: 11.98 kB / 1.289 GB, free: 5.957 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001731/0.3343, allocations: 4 kB / 1.289 GB, free: 5.953 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.3347, allocations: 161.9 kB / 1.289 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.335, allocations: 0.6768 MB / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.214e-05/0.335, allocations: 0 / 1.29 GB, free: 5.051 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.868e-05/0.3351, allocations: 11.44 kB / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of SimCode: time 3.1e-07/0.3351, allocations: 0 / 1.29 GB, free: 5.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0276/0.3627, allocations: 1.863 MB / 1.291 GB, free: 3.316 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.15/10.51, allocations: 9.844 kB / 1.291 GB, free: 3.312 MB / 0.9825 GB " [Timeout remaining time 289] (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: 16.762233453999215]