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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001441/0.001441, 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.001593/0.001593, allocations: 196.5 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.292/1.292, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.49/2.49, allocations: 461.9 MB / 0.7346 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001408/0.001408, allocations: 61.52 kB / 0.8992 GB, free: 37.01 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2387/0.2401, allocations: 157.4 MB / 1.053 GB, free: 8.18 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002131/0.2423, allocations: 1.282 MB / 1.054 GB, free: 6.883 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.000958/0.2433, allocations: 0.7443 MB / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.483e-05/0.2433, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 1.501e-05/0.2433, allocations: 0 / 1.055 GB, free: 6.133 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 4.191e-05/0.2434, allocations: 7.938 kB / 1.055 GB, free: 6.125 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003048/0.2437, allocations: 99.89 kB / 1.055 GB, free: 6.027 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 4.409e-05/0.2437, allocations: 15.94 kB / 1.055 GB, free: 6.012 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.2438, allocations: 3.984 kB / 1.055 GB, free: 6.008 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 1.698e-05/0.2438, allocations: 4 kB / 1.055 GB, free: 6.004 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 4.004e-05/0.2439, allocations: 7.938 kB / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.969e-06/0.2439, allocations: 0 / 1.055 GB, free: 5.996 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002701/0.2441, allocations: 148 kB / 1.055 GB, free: 5.852 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.044e-05/0.2442, allocations: 3.984 kB / 1.055 GB, free: 5.848 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.006e-05/0.2442, allocations: 15.92 kB / 1.055 GB, free: 5.832 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.0001631/0.2444, allocations: 104.1 kB / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2444, allocations: 0 / 1.055 GB, free: 5.73 MB / 0.8106 GB Notification: Performance of FrontEnd: time 1.463e-06/0.2444, allocations: 4 kB / 1.055 GB, free: 5.727 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 4.368e-06/0.2444, allocations: 0 / 1.055 GB, free: 5.727 MB / 0.8106 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.0002789/0.2447, allocations: 327.6 kB / 1.056 GB, free: 5.359 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 3.199e-05/0.2447, allocations: 12.62 kB / 1.056 GB, free: 5.348 MB / 0.8106 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.769e-05/0.2447, allocations: 30.75 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.927e-05/0.2448, allocations: 0.9375 kB / 1.056 GB, free: 5.309 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.208e-05/0.2449, allocations: 168.3 kB / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.226e-06/0.2449, allocations: 384 / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.134e-06/0.2449, allocations: 384 / 1.056 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.576e-05/0.245, allocations: 49.75 kB / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.59e-06/0.245, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.052e-06/0.245, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.487e-06/0.245, allocations: 0 / 1.056 GB, free: 5.051 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.422e-05/0.245, allocations: 15.92 kB / 1.056 GB, free: 5.035 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000127/0.2452, allocations: 153.6 kB / 1.056 GB, free: 4.836 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 7.062e-05/0.2452, allocations: 34.61 kB / 1.056 GB, free: 4.793 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.334e-05/0.2453, allocations: 16.92 kB / 1.056 GB, free: 4.773 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00166/0.2469, allocations: 0.6494 MB / 1.057 GB, free: 4.051 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.352e-05/0.247, allocations: 42.44 kB / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=3): time 9.92e-07/0.247, allocations: 0 / 1.057 GB, free: 4 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3): time 0.0001237/0.2471, allocations: 57.62 kB / 1.057 GB, free: 3.938 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.76e-05/0.2471, allocations: 51.41 kB / 1.057 GB, free: 3.875 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.763e-05/0.2472, allocations: 89.86 kB / 1.057 GB, free: 3.777 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.45e-05/0.2472, allocations: 29.7 kB / 1.057 GB, free: 3.742 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 2.313e-05/0.2472, allocations: 80.14 kB / 1.057 GB, free: 3.66 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.032e-05/0.2473, allocations: 12.03 kB / 1.057 GB, free: 3.648 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.589e-05/0.2473, allocations: 17.7 kB / 1.057 GB, free: 3.625 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 8.23e-05/0.2474, allocations: 310.8 kB / 1.057 GB, free: 3.312 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.49e-05/0.2474, allocations: 8 kB / 1.057 GB, free: 3.305 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.218e-05/0.2474, allocations: 8.188 kB / 1.057 GB, free: 3.297 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.536e-05/0.2475, allocations: 24.86 kB / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.283e-06/0.2475, allocations: 0 / 1.057 GB, free: 3.27 MB / 0.8106 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.674e-05/0.2475, allocations: 41.64 kB / 1.057 GB, free: 3.223 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.049e-05/0.2475, allocations: 8 kB / 1.057 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.447e-06/0.2476, allocations: 4 kB / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.317e-06/0.2476, allocations: 0 / 1.057 GB, free: 3.211 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.255e-05/0.2476, allocations: 11.98 kB / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.048e-06/0.2476, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.226e-05/0.2476, allocations: 0 / 1.057 GB, free: 3.199 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.38e-06/0.2476, allocations: 4 kB / 1.057 GB, free: 3.195 MB / 0.8106 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 5.175e-05/0.2477, allocations: 105.8 kB / 1.058 GB, free: 3.082 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.023e-05/0.2477, allocations: 7.844 kB / 1.058 GB, free: 3.074 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001024/0.2478, allocations: 61.12 kB / 1.058 GB, free: 3.008 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.755e-06/0.2478, allocations: 4 kB / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.087e-06/0.2478, allocations: 0 / 1.058 GB, free: 3.004 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.737e-06/0.2479, allocations: 7.922 kB / 1.058 GB, free: 2.996 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.079e-05/0.2479, allocations: 149.6 kB / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.62e-07/0.2479, allocations: 0 / 1.058 GB, free: 2.801 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.403e-05/0.248, allocations: 11.92 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.248, allocations: 0 / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.669e-06/0.248, allocations: 3.938 kB / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.248, allocations: 0 / 1.058 GB, free: 2.785 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.248, allocations: 8 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.084e-05/0.2481, allocations: 73.06 kB / 1.058 GB, free: 2.688 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 2.906e-05/0.2481, allocations: 81.05 kB / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.567e-06/0.2481, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.102e-05/0.2481, allocations: 0 / 1.058 GB, free: 2.59 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.158e-05/0.2482, allocations: 4 kB / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.154e-06/0.2482, allocations: 0 / 1.058 GB, free: 2.586 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 3.032e-05/0.2482, allocations: 83.27 kB / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2482, allocations: 0 / 1.058 GB, free: 2.504 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.000255/0.2485, allocations: 32 kB / 1.058 GB, free: 2.473 MB / 0.8106 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.0004051/0.2489, allocations: 0.6336 MB / 1.059 GB, free: 1.809 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 8.776e-05/0.249, allocations: 27.91 kB / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.249, allocations: 0 / 1.059 GB, free: 1.781 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 1.63e-05/0.249, allocations: 8 kB / 1.059 GB, free: 1.773 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001609/0.2492, allocations: 4 kB / 1.059 GB, free: 1.77 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003267/0.2495, allocations: 151.5 kB / 1.059 GB, free: 1.582 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001868/0.2497, allocations: 0.6768 MB / 1.06 GB, free: 0.8789 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 2.486e-05/0.2497, allocations: 7.922 kB / 1.06 GB, free: 0.8711 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.404e-05/0.2498, allocations: 14.56 kB / 1.06 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of SimCode: time 2.21e-07/0.2498, allocations: 3.938 kB / 1.06 GB, free: 0.8555 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8433/1.093, allocations: 1.747 MB / 1.061 GB, free: 15.23 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.2/16.29, allocations: 7.5 kB / 1.061 GB, free: 15.23 MB / 0.8262 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 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.mat","/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