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.001664/0.001664, allocations: 95.64 kB / 18.95 MB, free: 2.691 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.002001/0.002001, allocations: 213.2 kB / 22.25 MB, free: 5.242 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.637/1.637, allocations: 230.6 MB / 256 MB, free: 7.797 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.565/3.565, allocations: 0.4892 GB / 0.7943 GB, free: 35.49 MB / 0.6231 GB " [Timeout remaining time 176] 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: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_12_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.002147/0.002147, allocations: 65.89 kB / 1.153 GB, free: 25.75 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4742/0.4764, allocations: 176.1 MB / 1.325 GB, free: 2.387 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002919/0.4793, allocations: 1.315 MB / 1.326 GB, free: 1.066 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001498/0.4808, allocations: 0.725 MB / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.246e-05/0.4808, allocations: 0 / 1.327 GB, free: 344 kB / 1.014 GB Notification: Performance of NFTyping.typeComponents: time 2.167e-05/0.4809, allocations: 4 kB / 1.327 GB, free: 340 kB / 1.014 GB Notification: Performance of NFTyping.typeBindings: time 5.719e-05/0.4809, allocations: 7.922 kB / 1.327 GB, free: 332 kB / 1.014 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004134/0.4813, allocations: 87.92 kB / 1.327 GB, free: 244 kB / 1.014 GB Notification: Performance of NFFlatten.flatten: time 7.728e-05/0.4814, allocations: 27.84 kB / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFFlatten.resolveConnections: time 5.706e-05/0.4815, allocations: 0 / 1.327 GB, free: 216 kB / 1.014 GB Notification: Performance of NFEvalConstants.evaluate: time 2.04e-05/0.4815, allocations: 8 kB / 1.327 GB, free: 208 kB / 1.014 GB Notification: Performance of NFSimplifyModel.simplify: time 5.32e-05/0.4815, allocations: 4 kB / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFPackage.collectConstants: time 1.308e-05/0.4815, allocations: 0 / 1.327 GB, free: 204 kB / 1.014 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003416/0.4819, allocations: 136.1 kB / 1.327 GB, free: 68 kB / 1.014 GB Notification: Performance of NFScalarize.scalarize: time 2.287e-05/0.4819, allocations: 15.92 kB / 1.327 GB, free: 52 kB / 1.014 GB Notification: Performance of NFVerifyModel.verify: time 2.055e-05/0.4819, allocations: 7.922 kB / 1.327 GB, free: 44 kB / 1.014 GB Notification: Performance of NFConvertDAE.convert: time 0.0002337/0.4822, allocations: 107.9 kB / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.59e-06/0.4822, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.342e-06/0.4822, allocations: 0 / 1.327 GB, free: 15.94 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.653e-06/0.4822, allocations: 0 / 1.327 GB, free: 15.94 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.0004301/0.4826, allocations: 264.1 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.934e-05/0.4827, allocations: 12.03 kB / 1.328 GB, free: 15.64 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.697e-05/0.4827, allocations: 30.75 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.539e-05/0.4827, allocations: 4.938 kB / 1.328 GB, free: 15.6 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001182/0.4828, allocations: 102.5 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.578e-05/0.4829, allocations: 4.375 kB / 1.328 GB, free: 15.47 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.5e-05/0.4829, allocations: 4.375 kB / 1.328 GB, free: 15.46 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001063/0.483, allocations: 37.81 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.278e-05/0.483, allocations: 3.984 kB / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.925e-06/0.483, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.06e-06/0.483, allocations: 0 / 1.328 GB, free: 15.42 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.199e-05/0.4831, allocations: 23.92 kB / 1.328 GB, free: 15.39 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001744/0.4832, allocations: 120.8 kB / 1.328 GB, free: 15.23 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001086/0.4833, allocations: 34.67 kB / 1.328 GB, free: 15.19 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.515e-05/0.4834, allocations: 8.859 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001706/0.4851, allocations: 364.5 kB / 1.328 GB, free: 14.82 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.049e-05/0.4851, allocations: 38.5 kB / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.4851, allocations: 0 / 1.328 GB, free: 14.78 MB / 1.029 GB Notification: Performance of matching and sorting (n=3): time 0.0001832/0.4853, allocations: 53.56 kB / 1.329 GB, free: 14.72 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.311e-05/0.4854, allocations: 51.41 kB / 1.329 GB, free: 14.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.363e-05/0.4854, allocations: 97.84 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4855, allocations: 25.7 kB / 1.329 GB, free: 14.52 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.297e-05/0.4855, allocations: 84.14 kB / 1.329 GB, free: 14.43 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.192e-05/0.4855, allocations: 16.03 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.186e-05/0.4856, allocations: 9.719 kB / 1.329 GB, free: 14.4 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001678/0.4857, allocations: 318.8 kB / 1.329 GB, free: 14.08 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.8e-05/0.4858, allocations: 11.92 kB / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.749e-06/0.4858, allocations: 0 / 1.329 GB, free: 14.07 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.723e-05/0.4858, allocations: 16.86 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.4858, allocations: 3.938 kB / 1.329 GB, free: 14.05 MB / 1.029 GB Notification: Performance of matching and sorting (n=3) (initialization): time 8.35e-05/0.4859, allocations: 49.62 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.491e-05/0.4859, allocations: 4 kB / 1.329 GB, free: 13.99 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.485e-06/0.4859, allocations: 4 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.545e-05/0.4859, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.59e-05/0.486, allocations: 8 kB / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.151e-06/0.486, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.397e-05/0.486, allocations: 0 / 1.329 GB, free: 13.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.148e-06/0.486, allocations: 0 / 1.329 GB, free: 13.98 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 9.093e-05/0.4861, allocations: 113.8 kB / 1.329 GB, free: 13.86 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.194e-05/0.4861, allocations: 7.938 kB / 1.329 GB, free: 13.85 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001288/0.4862, allocations: 57.27 kB / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4862, allocations: 0 / 1.329 GB, free: 13.78 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.808e-06/0.4862, allocations: 4 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.346e-06/0.4863, allocations: 4.375 kB / 1.329 GB, free: 13.77 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001269/0.4864, allocations: 132.8 kB / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.4864, allocations: 0 / 1.329 GB, free: 13.6 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.463e-05/0.4864, allocations: 7.938 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.373e-06/0.4864, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.983e-06/0.4864, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.4864, allocations: 0 / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.4864, allocations: 11.92 kB / 1.33 GB, free: 13.58 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001079/0.4865, allocations: 69.06 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 7.394e-06/0.4865, allocations: 3.938 kB / 1.33 GB, free: 13.49 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.509e-05/0.4865, allocations: 4 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.408e-05/0.4866, allocations: 8 kB / 1.33 GB, free: 13.48 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.054e-05/0.4866, allocations: 3.984 kB / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.264e-06/0.4866, allocations: 0 / 1.33 GB, free: 13.47 MB / 1.029 GB Notification: Performance of sorting global known variables: time 4.636e-05/0.4866, allocations: 79.28 kB / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4866, allocations: 0 / 1.33 GB, free: 13.39 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002333/0.4869, allocations: 27.88 kB / 1.33 GB, free: 13.37 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.0006127/0.4875, allocations: 0.6475 MB / 1.33 GB, free: 12.69 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 9.657e-05/0.4876, allocations: 15.94 kB / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 6.923e-06/0.4876, allocations: 0 / 1.33 GB, free: 12.67 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.737e-05/0.4876, allocations: 8 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001955/0.4878, allocations: 7.969 kB / 1.33 GB, free: 12.66 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004451/0.4882, allocations: 143.7 kB / 1.331 GB, free: 12.48 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.212e-05/0.4883, allocations: 67.34 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.4883, allocations: 4 kB / 1.331 GB, free: 12.39 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.218e-05/0.4884, allocations: 11.44 kB / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of SimCode: time 2.8e-07/0.4884, allocations: 0 / 1.331 GB, free: 12.38 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03277/0.5211, allocations: 2.273 MB / 1.333 GB, free: 10.25 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.16/12.68, allocations: 4.062 kB / 1.333 GB, free: 10.25 MB / 1.029 GB " [Timeout remaining time 287] (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 & python3 -m fmpy simulate --output-file Buildings_12_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_12_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/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: 20.528797694016248]