Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/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_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_10_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.007146/0.007146, allocations: 101.9 kB / 15.73 MB, free: 6.043 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.001656/0.001657, allocations: 188.1 kB / 16.67 MB, free: 5.977 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.343/1.343, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.443/2.443, allocations: 437.1 MB / 0.7105 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002093/0.002093, allocations: 59.91 kB / 1.018 GB, free: 15.01 MB / 0.7794 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2823/0.2844, allocations: 151.6 MB / 1.166 GB, free: 7.273 MB / 0.92 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002359/0.2868, allocations: 1.298 MB / 1.167 GB, free: 5.961 MB / 0.92 GB Notification: Performance of NFInst.instExpressions: time 0.001177/0.288, allocations: 0.7378 MB / 1.168 GB, free: 5.215 MB / 0.92 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.072e-05/0.288, allocations: 4 kB / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeComponents: time 1.517e-05/0.2881, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeBindings: time 5.1e-05/0.2881, allocations: 0 / 1.168 GB, free: 5.211 MB / 0.92 GB Notification: Performance of NFTyping.typeClassSections: time 0.000361/0.2885, allocations: 91.89 kB / 1.168 GB, free: 5.121 MB / 0.92 GB Notification: Performance of NFFlatten.flatten: time 5.483e-05/0.2886, allocations: 19.88 kB / 1.168 GB, free: 5.102 MB / 0.92 GB Notification: Performance of NFFlatten.resolveConnections: time 4.525e-05/0.2886, allocations: 3.984 kB / 1.168 GB, free: 5.098 MB / 0.92 GB Notification: Performance of NFEvalConstants.evaluate: time 1.96e-05/0.2887, allocations: 7.938 kB / 1.168 GB, free: 5.09 MB / 0.92 GB Notification: Performance of NFSimplifyModel.simplify: time 4.357e-05/0.2887, allocations: 7.938 kB / 1.168 GB, free: 5.082 MB / 0.92 GB Notification: Performance of NFPackage.collectConstants: time 1.241e-05/0.2887, allocations: 4 kB / 1.168 GB, free: 5.078 MB / 0.92 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003039/0.289, allocations: 148.1 kB / 1.168 GB, free: 4.934 MB / 0.92 GB Notification: Performance of NFScalarize.scalarize: time 1.318e-05/0.2891, allocations: 7.984 kB / 1.168 GB, free: 4.926 MB / 0.92 GB Notification: Performance of NFVerifyModel.verify: time 3.396e-05/0.2891, allocations: 15.92 kB / 1.168 GB, free: 4.91 MB / 0.92 GB Notification: Performance of NFConvertDAE.convert: time 0.0001897/0.2893, allocations: 98.66 kB / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd - DAE generated: time 4.017e-06/0.2893, allocations: 0 / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of FrontEnd: time 1.202e-06/0.2893, allocations: 0 / 1.169 GB, free: 4.816 MB / 0.92 GB Notification: Performance of Transformations before backend: time 4.939e-06/0.2893, allocations: 0 / 1.169 GB, free: 4.816 MB / 0.92 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.0003452/0.2897, allocations: 336.4 kB / 1.169 GB, free: 4.441 MB / 0.92 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.2897, allocations: 8.031 kB / 1.169 GB, free: 4.434 MB / 0.92 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.987e-05/0.2898, allocations: 30.75 kB / 1.169 GB, free: 4.395 MB / 0.92 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.464e-05/0.2898, allocations: 12.84 kB / 1.169 GB, free: 4.383 MB / 0.92 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001196/0.2899, allocations: 164.3 kB / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.315e-05/0.2899, allocations: 384 / 1.169 GB, free: 4.184 MB / 0.92 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.348e-06/0.2899, allocations: 4.312 kB / 1.169 GB, free: 4.18 MB / 0.92 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.242e-05/0.29, allocations: 45.8 kB / 1.169 GB, free: 4.129 MB / 0.92 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.564e-06/0.2901, allocations: 4 kB / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.843e-06/0.2901, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-06/0.2901, allocations: 0 / 1.169 GB, free: 4.125 MB / 0.92 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.827e-05/0.2901, allocations: 7.984 kB / 1.169 GB, free: 4.117 MB / 0.92 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001543/0.2903, allocations: 153.7 kB / 1.169 GB, free: 3.918 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 8.555e-05/0.2904, allocations: 38.55 kB / 1.169 GB, free: 3.871 MB / 0.92 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.2904, allocations: 12.92 kB / 1.169 GB, free: 3.855 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001651/0.2921, allocations: 0.6533 MB / 1.17 GB, free: 3.129 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.762e-05/0.2921, allocations: 34.5 kB / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.2921, allocations: 0 / 1.17 GB, free: 3.086 MB / 0.92 GB Notification: Performance of matching and sorting (n=3): time 0.0001459/0.2923, allocations: 49.69 kB / 1.17 GB, free: 3.031 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.69e-05/0.2923, allocations: 51.41 kB / 1.17 GB, free: 2.969 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.106e-05/0.2924, allocations: 101.9 kB / 1.17 GB, free: 2.859 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.2924, allocations: 25.7 kB / 1.17 GB, free: 2.828 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 3.865e-05/0.2924, allocations: 80.14 kB / 1.17 GB, free: 2.746 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 2.527e-05/0.2925, allocations: 3.906 kB / 1.17 GB, free: 2.742 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.396e-05/0.2925, allocations: 25.64 kB / 1.17 GB, free: 2.711 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001096/0.2926, allocations: 310.8 kB / 1.171 GB, free: 2.398 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.563e-05/0.2926, allocations: 4 kB / 1.171 GB, free: 2.395 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.352e-05/0.2927, allocations: 8.125 kB / 1.171 GB, free: 2.387 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.464e-05/0.2927, allocations: 20.84 kB / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.392e-06/0.2927, allocations: 0 / 1.171 GB, free: 2.363 MB / 0.92 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.027e-05/0.2928, allocations: 49.55 kB / 1.171 GB, free: 2.309 MB / 0.92 GB Notification: Performance of prepare postOptimizeDAE: time 2.078e-05/0.2928, allocations: 4 kB / 1.171 GB, free: 2.305 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.767e-06/0.2928, allocations: 3.938 kB / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.349e-05/0.2928, allocations: 0 / 1.171 GB, free: 2.301 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.3e-05/0.2929, allocations: 15.86 kB / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.949e-06/0.2929, allocations: 0 / 1.171 GB, free: 2.285 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.742e-05/0.2929, allocations: 8 kB / 1.171 GB, free: 2.277 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-06/0.2929, allocations: 4 kB / 1.171 GB, free: 2.273 MB / 0.92 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 6.661e-05/0.293, allocations: 113.8 kB / 1.171 GB, free: 2.152 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.224e-05/0.293, allocations: 7.938 kB / 1.171 GB, free: 2.145 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001108/0.2931, allocations: 49.19 kB / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.2932, allocations: 0 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.767e-06/0.2932, allocations: 384 / 1.171 GB, free: 2.086 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.338e-06/0.2932, allocations: 3.984 kB / 1.171 GB, free: 2.082 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.2933, allocations: 149.7 kB / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.222e-06/0.2933, allocations: 0 / 1.171 GB, free: 1.887 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.527e-05/0.2933, allocations: 15.92 kB / 1.171 GB, free: 1.871 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.2933, allocations: 3.984 kB / 1.171 GB, free: 1.867 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.524e-06/0.2933, allocations: 7.938 kB / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.2934, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.71e-07/0.2934, allocations: 0 / 1.171 GB, free: 1.859 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.359e-05/0.2935, allocations: 69.12 kB / 1.171 GB, free: 1.773 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 3.808e-05/0.2935, allocations: 84.95 kB / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.115e-05/0.2935, allocations: 0 / 1.171 GB, free: 1.672 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.214e-05/0.2935, allocations: 4 kB / 1.171 GB, free: 1.668 MB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.221e-05/0.2936, allocations: 4 kB / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.2936, allocations: 0 / 1.171 GB, free: 1.664 MB / 0.92 GB Notification: Performance of sorting global known variables: time 4.348e-05/0.2936, allocations: 83.27 kB / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of sort global known variables: time 2.2e-07/0.2936, allocations: 0 / 1.171 GB, free: 1.582 MB / 0.92 GB Notification: Performance of remove unused functions: time 0.0002222/0.2938, allocations: 28 kB / 1.171 GB, free: 1.555 MB / 0.92 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.000496/0.2943, allocations: 0.6397 MB / 1.172 GB, free: 0.8828 MB / 0.92 GB Notification: Performance of simCode: created initialization part: time 9.42e-05/0.2944, allocations: 15.98 kB / 1.172 GB, free: 0.8672 MB / 0.92 GB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.2945, allocations: 3.938 kB / 1.172 GB, free: 0.8633 MB / 0.92 GB Notification: Performance of simCode: created simulation system equations: time 1.473e-05/0.2945, allocations: 11.94 kB / 1.172 GB, free: 0.8516 MB / 0.92 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001906/0.2947, allocations: 12 kB / 1.172 GB, free: 0.8398 MB / 0.92 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003873/0.2951, allocations: 143.6 kB / 1.172 GB, free: 0.6602 MB / 0.92 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000291/0.2954, allocations: 0.6729 MB / 1.173 GB, free: 15.96 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 3.305e-05/0.2954, allocations: 7.984 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.2954, allocations: 7.438 kB / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of SimCode: time 2.21e-07/0.2954, allocations: 0 / 1.173 GB, free: 15.95 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01837/0.3138, allocations: 1.764 MB / 1.175 GB, free: 14.33 MB / 0.9356 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.329/7.643, allocations: 14.05 kB / 1.175 GB, free: 14.32 MB / 0.9356 GB (rm -f Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_10_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches