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.005628/0.005628, allocations: 103.1 kB / 15.74 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001394/0.001394, allocations: 191 kB / 16.67 MB, free: 5.969 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.422/1.422, allocations: 222.9 MB / 240.4 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.819/2.819, allocations: 482.4 MB / 0.7548 GB, free: 6.844 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.00197/0.00197, allocations: 73.22 kB / 1.083 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2798/0.2818, allocations: 162.2 MB / 1.241 GB, free: 9.207 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002244/0.2841, allocations: 1.293 MB / 1.243 GB, free: 7.906 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.001153/0.2853, allocations: 0.7306 MB / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.59e-05/0.2853, allocations: 0 / 1.243 GB, free: 7.172 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.884e-05/0.2853, allocations: 3.984 kB / 1.243 GB, free: 7.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 4.479e-05/0.2854, allocations: 7.938 kB / 1.243 GB, free: 7.16 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003153/0.2857, allocations: 87.91 kB / 1.244 GB, free: 7.074 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 6.155e-05/0.2858, allocations: 23.86 kB / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.719e-05/0.2858, allocations: 0 / 1.244 GB, free: 7.051 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.008e-05/0.2858, allocations: 7.938 kB / 1.244 GB, free: 7.043 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 4.418e-05/0.2859, allocations: 11.98 kB / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.738e-06/0.2859, allocations: 0 / 1.244 GB, free: 7.031 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003266/0.2862, allocations: 148 kB / 1.244 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.507e-06/0.2862, allocations: 0 / 1.244 GB, free: 6.887 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 2.575e-05/0.2863, allocations: 15.94 kB / 1.244 GB, free: 6.871 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0002029/0.2865, allocations: 104 kB / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.045e-06/0.2865, allocations: 0 / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.242e-06/0.2865, allocations: 0 / 1.244 GB, free: 6.77 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.155e-06/0.2865, allocations: 0 / 1.244 GB, free: 6.77 MB / 0.9669 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.0003645/0.2869, allocations: 339.3 kB / 1.244 GB, free: 6.391 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.807e-05/0.2869, allocations: 12.03 kB / 1.244 GB, free: 6.379 MB / 0.9669 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.16e-05/0.287, allocations: 30.75 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.953e-05/0.287, allocations: 0.9375 kB / 1.244 GB, free: 6.34 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001272/0.2871, allocations: 164.4 kB / 1.244 GB, free: 6.141 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.15e-05/0.2871, allocations: 8.312 kB / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-06/0.2872, allocations: 384 / 1.244 GB, free: 6.133 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.17e-05/0.2872, allocations: 37.83 kB / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.2873, allocations: 0 / 1.244 GB, free: 6.09 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.726e-06/0.2873, allocations: 3.984 kB / 1.244 GB, free: 6.086 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.973e-06/0.2873, allocations: 4 kB / 1.244 GB, free: 6.082 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.727e-05/0.2873, allocations: 8 kB / 1.244 GB, free: 6.074 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.2875, allocations: 157.6 kB / 1.245 GB, free: 5.871 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 8.857e-05/0.2876, allocations: 34.52 kB / 1.245 GB, free: 5.828 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.309e-05/0.2876, allocations: 16.95 kB / 1.245 GB, free: 5.809 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001917/0.2896, allocations: 0.6533 MB / 1.245 GB, free: 5.082 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.015e-05/0.2896, allocations: 34.5 kB / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=3): time 1.112e-06/0.2896, allocations: 0 / 1.245 GB, free: 5.039 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3): time 0.0001433/0.2898, allocations: 53.69 kB / 1.245 GB, free: 4.98 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.902e-05/0.2898, allocations: 55.41 kB / 1.245 GB, free: 4.914 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.623e-05/0.2899, allocations: 93.84 kB / 1.245 GB, free: 4.812 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.75e-05/0.2899, allocations: 25.7 kB / 1.246 GB, free: 4.781 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 3.807e-05/0.2899, allocations: 88.08 kB / 1.246 GB, free: 4.691 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 2.465e-05/0.29, allocations: 15.88 kB / 1.246 GB, free: 4.676 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.306e-05/0.29, allocations: 13.72 kB / 1.246 GB, free: 4.656 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001393/0.2902, allocations: 315 kB / 1.246 GB, free: 4.34 MB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.734e-05/0.2902, allocations: 11.94 kB / 1.246 GB, free: 4.328 MB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.418e-05/0.2902, allocations: 8.172 kB / 1.246 GB, free: 4.32 MB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.882e-05/0.2902, allocations: 24.88 kB / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2903, allocations: 0 / 1.246 GB, free: 4.293 MB / 0.9669 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.647e-05/0.2903, allocations: 49.62 kB / 1.246 GB, free: 4.238 MB / 0.9669 GB Notification: Performance of prepare postOptimizeDAE: time 1.156e-05/0.2904, allocations: 4 kB / 1.246 GB, free: 4.234 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.817e-06/0.2904, allocations: 4 kB / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.918e-06/0.2904, allocations: 0 / 1.246 GB, free: 4.23 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.632e-05/0.2904, allocations: 7.938 kB / 1.246 GB, free: 4.223 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.247e-06/0.2904, allocations: 4 kB / 1.246 GB, free: 4.219 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.538e-05/0.2905, allocations: 3.953 kB / 1.246 GB, free: 4.215 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.947e-06/0.2905, allocations: 0 / 1.246 GB, free: 4.215 MB / 0.9669 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.55e-05/0.2906, allocations: 113.3 kB / 1.246 GB, free: 4.098 MB / 0.9669 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.467e-05/0.2906, allocations: 7.922 kB / 1.246 GB, free: 4.09 MB / 0.9669 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001102/0.2907, allocations: 53.19 kB / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.483e-06/0.2907, allocations: 0 / 1.246 GB, free: 4.031 MB / 0.9669 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.33e-06/0.2907, allocations: 4 kB / 1.246 GB, free: 4.027 MB / 0.9669 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.465e-06/0.2907, allocations: 4 kB / 1.246 GB, free: 4.023 MB / 0.9669 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001173/0.2908, allocations: 149.7 kB / 1.246 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.51e-07/0.2908, allocations: 0 / 1.246 GB, free: 3.828 MB / 0.9669 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.897e-05/0.2909, allocations: 11.88 kB / 1.246 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.673e-06/0.2909, allocations: 0 / 1.246 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.892e-06/0.2909, allocations: 0 / 1.246 GB, free: 3.816 MB / 0.9669 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.009e-06/0.2909, allocations: 3.984 kB / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.2909, allocations: 0 / 1.246 GB, free: 3.812 MB / 0.9669 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.203e-05/0.291, allocations: 73.12 kB / 1.246 GB, free: 3.723 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 4.703e-05/0.2911, allocations: 85.05 kB / 1.247 GB, free: 3.621 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.215e-05/0.2911, allocations: 3.984 kB / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.264e-05/0.2911, allocations: 0 / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.628e-06/0.2911, allocations: 0 / 1.247 GB, free: 3.617 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.19e-06/0.2911, allocations: 4 kB / 1.247 GB, free: 3.613 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 3.653e-05/0.2912, allocations: 75.28 kB / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1e-07/0.2912, allocations: 0 / 1.247 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0002322/0.2914, allocations: 35.88 kB / 1.247 GB, free: 3.504 MB / 0.9669 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.0005388/0.2919, allocations: 0.6513 MB / 1.247 GB, free: 2.82 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 7.53e-05/0.292, allocations: 12.19 kB / 1.247 GB, free: 2.809 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.583e-06/0.292, allocations: 4 kB / 1.247 GB, free: 2.805 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 1.89e-05/0.2921, allocations: 11.92 kB / 1.247 GB, free: 2.793 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001738/0.2923, allocations: 9.906 kB / 1.247 GB, free: 2.785 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003669/0.2926, allocations: 139.5 kB / 1.247 GB, free: 2.605 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.293, allocations: 0.6806 MB / 1.248 GB, free: 1.898 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 2.621e-05/0.293, allocations: 4 kB / 1.248 GB, free: 1.895 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.356e-05/0.293, allocations: 11.44 kB / 1.248 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of SimCode: time 2.7e-07/0.293, allocations: 0 / 1.248 GB, free: 1.883 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02183/0.3149, allocations: 1.77 MB / 1.25 GB, free: 264 kB / 0.9669 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.808/8.123, allocations: 9.562 kB / 1.25 GB, free: 260 kB / 0.9669 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 400 --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