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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001841/0.001841, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002089/0.002089, allocations: 192.6 kB / 16.53 MB, free: 6.664 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.463/1.463, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.971/2.971, allocations: 482.3 MB / 0.7546 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001942/0.001942, allocations: 69.25 kB / 0.9238 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2778/0.2798, allocations: 162.2 MB / 1.082 GB, free: 13.26 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002439/0.2823, allocations: 1.292 MB / 1.084 GB, free: 11.95 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001203/0.2835, allocations: 0.7328 MB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.923e-05/0.2835, allocations: 0 / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 1.224e-05/0.2835, allocations: 0 / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 5.045e-05/0.2836, allocations: 7.922 kB / 1.084 GB, free: 11.21 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.2839, allocations: 91.91 kB / 1.084 GB, free: 11.12 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 5.189e-05/0.284, allocations: 19.92 kB / 1.084 GB, free: 11.1 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 4.051e-05/0.284, allocations: 4 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 1.789e-05/0.284, allocations: 8 kB / 1.084 GB, free: 11.09 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 4.32e-05/0.2841, allocations: 7.938 kB / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.043e-05/0.2841, allocations: 0 / 1.084 GB, free: 11.08 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003291/0.2844, allocations: 148 kB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 1.293e-05/0.2845, allocations: 3.984 kB / 1.085 GB, free: 10.93 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 2.119e-05/0.2845, allocations: 11.94 kB / 1.085 GB, free: 10.92 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.0001977/0.2847, allocations: 104 kB / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.2847, allocations: 0 / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.092e-06/0.2847, allocations: 0 / 1.085 GB, free: 10.82 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 4.289e-06/0.2847, allocations: 4 kB / 1.085 GB, free: 10.81 MB / 0.8419 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.0003767/0.2851, allocations: 343.4 kB / 1.085 GB, free: 10.43 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2851, allocations: 8.031 kB / 1.085 GB, free: 10.42 MB / 0.8419 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.044e-05/0.2852, allocations: 34.75 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.93e-05/0.2852, allocations: 0.9375 kB / 1.085 GB, free: 10.38 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000131/0.2853, allocations: 164.3 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.718e-06/0.2854, allocations: 384 / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.914e-06/0.2854, allocations: 4.375 kB / 1.085 GB, free: 10.18 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.221e-05/0.2855, allocations: 41.81 kB / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.2855, allocations: 0 / 1.085 GB, free: 10.13 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.533e-06/0.2855, allocations: 4 kB / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.2855, allocations: 0 / 1.085 GB, free: 10.12 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.638e-05/0.2856, allocations: 15.92 kB / 1.085 GB, free: 10.11 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001709/0.2857, allocations: 157.7 kB / 1.085 GB, free: 9.906 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 8.146e-05/0.2858, allocations: 26.58 kB / 1.085 GB, free: 9.871 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.811e-05/0.2859, allocations: 16.92 kB / 1.085 GB, free: 9.852 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001986/0.2878, allocations: 0.6572 MB / 1.086 GB, free: 9.121 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.239e-05/0.2879, allocations: 34.5 kB / 1.086 GB, free: 9.078 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.2879, allocations: 4 kB / 1.086 GB, free: 9.074 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3): time 0.0001493/0.2881, allocations: 49.62 kB / 1.086 GB, free: 9.02 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.275e-05/0.2881, allocations: 55.41 kB / 1.086 GB, free: 8.953 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.657e-05/0.2882, allocations: 93.86 kB / 1.086 GB, free: 8.852 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.506e-05/0.2882, allocations: 25.7 kB / 1.086 GB, free: 8.82 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 3.773e-05/0.2883, allocations: 80.14 kB / 1.086 GB, free: 8.738 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 3.113e-05/0.2883, allocations: 23.78 kB / 1.086 GB, free: 8.715 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.948e-05/0.2883, allocations: 9.719 kB / 1.086 GB, free: 8.699 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001446/0.2885, allocations: 319 kB / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.384e-05/0.2885, allocations: 0 / 1.087 GB, free: 8.379 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.616e-05/0.2885, allocations: 12.17 kB / 1.087 GB, free: 8.367 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.012e-05/0.2886, allocations: 20.84 kB / 1.087 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.614e-06/0.2886, allocations: 0 / 1.087 GB, free: 8.344 MB / 0.8419 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.661e-05/0.2886, allocations: 45.58 kB / 1.087 GB, free: 8.293 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.551e-05/0.2887, allocations: 10.02 kB / 1.087 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.998e-06/0.2887, allocations: 0 / 1.087 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.125e-05/0.2887, allocations: 0 / 1.087 GB, free: 8.285 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.71e-05/0.2887, allocations: 12 kB / 1.087 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.167e-06/0.2888, allocations: 0 / 1.087 GB, free: 8.273 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.669e-05/0.2888, allocations: 4 kB / 1.087 GB, free: 8.27 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.318e-06/0.2888, allocations: 3.938 kB / 1.087 GB, free: 8.266 MB / 0.8419 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.354e-05/0.2889, allocations: 109.8 kB / 1.087 GB, free: 8.148 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.066e-05/0.2889, allocations: 3.938 kB / 1.087 GB, free: 8.145 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001188/0.289, allocations: 57.12 kB / 1.087 GB, free: 8.082 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.058e-06/0.289, allocations: 3.984 kB / 1.087 GB, free: 8.078 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-06/0.289, allocations: 4 kB / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.565e-06/0.289, allocations: 0 / 1.087 GB, free: 8.074 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000134/0.2892, allocations: 149.6 kB / 1.087 GB, free: 7.879 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.91e-06/0.2892, allocations: 7.984 kB / 1.087 GB, free: 7.871 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.734e-05/0.2892, allocations: 11.94 kB / 1.087 GB, free: 7.859 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.2892, allocations: 3.938 kB / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.2892, allocations: 0 / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.2893, allocations: 0 / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.91e-07/0.2893, allocations: 0 / 1.087 GB, free: 7.855 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.648e-05/0.2894, allocations: 73.12 kB / 1.087 GB, free: 7.766 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 5.404e-05/0.2894, allocations: 84.95 kB / 1.087 GB, free: 7.664 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.078e-05/0.2894, allocations: 4 kB / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.456e-05/0.2895, allocations: 0 / 1.087 GB, free: 7.66 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.2895, allocations: 7.922 kB / 1.087 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.485e-06/0.2895, allocations: 0 / 1.087 GB, free: 7.652 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 3.774e-05/0.2895, allocations: 79.28 kB / 1.087 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2895, allocations: 0 / 1.087 GB, free: 7.574 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0002361/0.2898, allocations: 36.09 kB / 1.087 GB, free: 7.539 MB / 0.8419 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.0005498/0.2903, allocations: 0.6244 MB / 1.088 GB, free: 6.883 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.702e-05/0.2904, allocations: 31.92 kB / 1.088 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.2904, allocations: 0 / 1.088 GB, free: 6.852 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.491e-05/0.2905, allocations: 4 kB / 1.088 GB, free: 6.848 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001812/0.2906, allocations: 11.98 kB / 1.088 GB, free: 6.836 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003817/0.291, allocations: 139.6 kB / 1.088 GB, free: 6.656 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003191/0.2914, allocations: 0.6768 MB / 1.089 GB, free: 5.953 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 3.169e-05/0.2914, allocations: 8 kB / 1.089 GB, free: 5.945 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.416e-05/0.2914, allocations: 11.44 kB / 1.089 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of SimCode: time 2.41e-07/0.2914, allocations: 0 / 1.089 GB, free: 5.934 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02277/0.3142, allocations: 1.742 MB / 1.091 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.95/8.265, allocations: 6.094 kB / 1.091 GB, free: 4.312 MB / 0.8419 GB (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 50 --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) 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) Reference file matches