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.002283/0.002283, 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.002271/0.002271, allocations: 216.2 kB / 22.25 MB, free: 4.855 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.614/1.614, allocations: 230.6 MB / 256 MB, free: 7.824 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.364/3.364, allocations: 0.5107 GB / 0.8158 GB, free: 17.86 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_latest_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.002026/0.002026, allocations: 63.91 kB / 1.186 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.432/0.4341, allocations: 181.9 MB / 1.363 GB, free: 14.11 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.003379/0.4374, allocations: 1.318 MB / 1.365 GB, free: 12.78 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.001798/0.4392, allocations: 0.7221 MB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.84e-05/0.4393, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeComponents: time 2.626e-05/0.4393, allocations: 4 kB / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeBindings: time 7.75e-05/0.4394, allocations: 0 / 1.365 GB, free: 12.05 MB / 1.061 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005711/0.4399, allocations: 99.91 kB / 1.365 GB, free: 11.95 MB / 1.061 GB Notification: Performance of NFFlatten.flatten: time 9.092e-05/0.44, allocations: 19.86 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFFlatten.resolveConnections: time 5.796e-05/0.4401, allocations: 0 / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFEvalConstants.evaluate: time 2.887e-05/0.4401, allocations: 4 kB / 1.366 GB, free: 11.93 MB / 1.061 GB Notification: Performance of NFSimplifyModel.simplify: time 8.873e-05/0.4402, allocations: 15.92 kB / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFPackage.collectConstants: time 1.605e-05/0.4402, allocations: 0 / 1.366 GB, free: 11.91 MB / 1.061 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004436/0.4407, allocations: 136.1 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFScalarize.scalarize: time 2.467e-05/0.4407, allocations: 4 kB / 1.366 GB, free: 11.78 MB / 1.061 GB Notification: Performance of NFVerifyModel.verify: time 3.203e-05/0.4407, allocations: 3.984 kB / 1.366 GB, free: 11.77 MB / 1.061 GB Notification: Performance of NFConvertDAE.convert: time 0.0002967/0.441, allocations: 111.9 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd - DAE generated: time 5.521e-06/0.441, allocations: 4 kB / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of FrontEnd: time 2.464e-06/0.441, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 GB Notification: Performance of Transformations before backend: time 6.963e-06/0.441, allocations: 0 / 1.366 GB, free: 11.66 MB / 1.061 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.0004846/0.4415, allocations: 255.8 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.4416, allocations: 8.031 kB / 1.366 GB, free: 11.38 MB / 1.061 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.749e-05/0.4416, allocations: 34.75 kB / 1.366 GB, free: 11.33 MB / 1.061 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.235e-05/0.4417, allocations: 8.922 kB / 1.366 GB, free: 11.32 MB / 1.061 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001413/0.4418, allocations: 106.5 kB / 1.366 GB, free: 11.2 MB / 1.061 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.642e-05/0.4418, allocations: 4.125 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.648e-06/0.4418, allocations: 4 kB / 1.366 GB, free: 11.19 MB / 1.061 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001149/0.4419, allocations: 29.7 kB / 1.366 GB, free: 11.15 MB / 1.061 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.442, allocations: 7.984 kB / 1.366 GB, free: 11.14 MB / 1.061 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.23e-05/0.442, allocations: 11.88 kB / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.43e-06/0.442, allocations: 0 / 1.366 GB, free: 11.13 MB / 1.061 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.888e-05/0.442, allocations: 8 kB / 1.366 GB, free: 11.12 MB / 1.061 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000226/0.4423, allocations: 128.8 kB / 1.366 GB, free: 10.96 MB / 1.061 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001188/0.4424, allocations: 38.52 kB / 1.366 GB, free: 10.91 MB / 1.061 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.132e-05/0.4424, allocations: 8.859 kB / 1.366 GB, free: 10.9 MB / 1.061 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001789/0.4442, allocations: 372.5 kB / 1.367 GB, free: 10.54 MB / 1.061 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.907e-05/0.4442, allocations: 34.56 kB / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.4442, allocations: 0 / 1.367 GB, free: 10.49 MB / 1.061 GB Notification: Performance of matching and sorting (n=3): time 0.0001995/0.4444, allocations: 45.69 kB / 1.367 GB, free: 10.44 MB / 1.061 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.281e-05/0.4445, allocations: 51.41 kB / 1.367 GB, free: 10.38 MB / 1.061 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001067/0.4446, allocations: 101.9 kB / 1.367 GB, free: 10.27 MB / 1.061 GB Notification: Performance of collectPreVariables (initialization): time 2.081e-05/0.4446, allocations: 29.64 kB / 1.367 GB, free: 10.23 MB / 1.061 GB Notification: Performance of collectInitialEqns (initialization): time 5.075e-05/0.4447, allocations: 80.14 kB / 1.367 GB, free: 10.15 MB / 1.061 GB Notification: Performance of collectInitialBindings (initialization): time 3.616e-05/0.4447, allocations: 7.953 kB / 1.367 GB, free: 10.14 MB / 1.061 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.357e-05/0.4448, allocations: 17.7 kB / 1.367 GB, free: 10.12 MB / 1.061 GB Notification: Performance of setup shared object (initialization): time 0.0001839/0.4449, allocations: 314.8 kB / 1.367 GB, free: 9.805 MB / 1.061 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.19e-05/0.445, allocations: 4 kB / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.146e-05/0.445, allocations: 0 / 1.367 GB, free: 9.801 MB / 1.061 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.037e-05/0.445, allocations: 20.84 kB / 1.367 GB, free: 9.777 MB / 1.061 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.445, allocations: 3.938 kB / 1.367 GB, free: 9.773 MB / 1.061 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001088/0.4451, allocations: 46.11 kB / 1.367 GB, free: 9.723 MB / 1.061 GB Notification: Performance of prepare postOptimizeDAE: time 1.694e-05/0.4452, allocations: 4 kB / 1.367 GB, free: 9.719 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.655e-06/0.4452, allocations: 4 kB / 1.367 GB, free: 9.715 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.949e-05/0.4452, allocations: 3.984 kB / 1.367 GB, free: 9.711 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.122e-05/0.4452, allocations: 7.984 kB / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.652e-06/0.4452, allocations: 0 / 1.368 GB, free: 9.703 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.072e-05/0.4453, allocations: 7.938 kB / 1.368 GB, free: 9.695 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.909e-06/0.4453, allocations: 0 / 1.368 GB, free: 9.695 MB / 1.061 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 0.0001195/0.4454, allocations: 117.8 kB / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.448e-06/0.4454, allocations: 0 / 1.368 GB, free: 9.57 MB / 1.061 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001454/0.4455, allocations: 57.38 kB / 1.368 GB, free: 9.5 MB / 1.061 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/0.4455, allocations: 3.938 kB / 1.368 GB, free: 9.496 MB / 1.061 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.25e-06/0.4456, allocations: 4 kB / 1.368 GB, free: 9.492 MB / 1.061 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.18e-06/0.4456, allocations: 3.984 kB / 1.368 GB, free: 9.488 MB / 1.061 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.4457, allocations: 124.7 kB / 1.368 GB, free: 9.324 MB / 1.061 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.4457, allocations: 3.938 kB / 1.368 GB, free: 9.32 MB / 1.061 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.864e-05/0.4457, allocations: 7.938 kB / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.555e-06/0.4457, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.124e-06/0.4458, allocations: 0 / 1.368 GB, free: 9.312 MB / 1.061 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.499e-06/0.4458, allocations: 3.984 kB / 1.368 GB, free: 9.309 MB / 1.061 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.4458, allocations: 8 kB / 1.368 GB, free: 9.301 MB / 1.061 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001184/0.4459, allocations: 77.06 kB / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt removeConstants (simulation): time 6.272e-06/0.4459, allocations: 0 / 1.368 GB, free: 9.207 MB / 1.061 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.4459, allocations: 4 kB / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.226e-05/0.4459, allocations: 0 / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.285e-05/0.4459, allocations: 0 / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.314e-06/0.4459, allocations: 0 / 1.368 GB, free: 9.203 MB / 1.061 GB Notification: Performance of sorting global known variables: time 4.737e-05/0.446, allocations: 79.28 kB / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of sort global known variables: time 6e-08/0.446, allocations: 0 / 1.368 GB, free: 9.125 MB / 1.061 GB Notification: Performance of remove unused functions: time 0.0002655/0.4462, allocations: 35.86 kB / 1.368 GB, free: 9.09 MB / 1.061 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.0006611/0.4469, allocations: 0.6397 MB / 1.369 GB, free: 8.418 MB / 1.061 GB Notification: Performance of simCode: created initialization part: time 0.0001086/0.447, allocations: 15.98 kB / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: created event and clocks part: time 2.816e-06/0.447, allocations: 0 / 1.369 GB, free: 8.402 MB / 1.061 GB Notification: Performance of simCode: created simulation system equations: time 1.809e-05/0.447, allocations: 7.938 kB / 1.369 GB, free: 8.395 MB / 1.061 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002274/0.4473, allocations: 8 kB / 1.369 GB, free: 8.387 MB / 1.061 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004985/0.4478, allocations: 151.7 kB / 1.369 GB, free: 8.199 MB / 1.061 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.036e-05/0.4478, allocations: 55.36 kB / 1.369 GB, free: 8.125 MB / 1.061 GB Notification: Performance of simCode: alias equations: time 3.005e-05/0.4479, allocations: 7.938 kB / 1.369 GB, free: 8.117 MB / 1.061 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.556e-05/0.4479, allocations: 11.44 kB / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of SimCode: time 8.71e-07/0.4479, allocations: 0 / 1.369 GB, free: 8.105 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03096/0.4789, allocations: 2.275 MB / 1.371 GB, free: 5.977 MB / 1.061 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.73/13.21, allocations: 10.83 kB / 1.371 GB, free: 5.969 MB / 1.061 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/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: 20.902312752325088]