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.001452/0.001452, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001686/0.001686, allocations: 195.9 kB / 16.25 MB, free: 6.629 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.302/1.302, allocations: 222.9 MB / 239.9 MB, free: 4.535 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.386/2.386, allocations: 437 MB / 0.7101 GB, free: 5.324 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001237/0.001238, allocations: 63.91 kB / 0.8689 GB, free: 4.977 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5011/0.5023, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002067/0.5044, allocations: 1.352 MB / 1.018 GB, free: 1.332 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.0009662/0.5054, allocations: 0.7299 MB / 1.019 GB, free: 0.5938 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.514e-05/0.5054, allocations: 3.938 kB / 1.019 GB, free: 0.5898 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.581e-05/0.5054, allocations: 3.938 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.679e-05/0.5055, allocations: 4 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002969/0.5058, allocations: 83.98 kB / 1.019 GB, free: 0.5 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 4.284e-05/0.5059, allocations: 11.94 kB / 1.019 GB, free: 500 kB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.812e-05/0.5059, allocations: 4 kB / 1.019 GB, free: 496 kB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.759e-05/0.5059, allocations: 11.94 kB / 1.019 GB, free: 484 kB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 4.046e-05/0.506, allocations: 11.92 kB / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.808e-06/0.506, allocations: 0 / 1.019 GB, free: 472 kB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002578/0.5063, allocations: 156.9 kB / 1.019 GB, free: 316 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.006e-06/0.5063, allocations: 4 kB / 1.019 GB, free: 312 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 1.723e-05/0.5063, allocations: 4 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.0001692/0.5065, allocations: 110.5 kB / 1.019 GB, free: 200 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 4.448e-06/0.5065, allocations: 3.984 kB / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of FrontEnd: time 1.262e-06/0.5065, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 4.178e-06/0.5065, allocations: 0 / 1.019 GB, free: 196 kB / 0.7637 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.0003091/0.5068, allocations: 331.4 kB / 1.02 GB, free: 15.82 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.428e-05/0.5068, allocations: 12.03 kB / 1.02 GB, free: 15.81 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.751e-05/0.5069, allocations: 34.75 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.043e-05/0.5069, allocations: 0.9375 kB / 1.02 GB, free: 15.77 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.907e-05/0.507, allocations: 168.4 kB / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.436e-06/0.507, allocations: 384 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.193e-06/0.507, allocations: 384 / 1.02 GB, free: 15.56 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.18e-05/0.5071, allocations: 41.75 kB / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.681e-06/0.5071, allocations: 0 / 1.02 GB, free: 15.52 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.735e-06/0.5072, allocations: 4 kB / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.807e-06/0.5072, allocations: 0 / 1.02 GB, free: 15.51 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.495e-05/0.5072, allocations: 8 kB / 1.02 GB, free: 15.5 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000137/0.5073, allocations: 157.7 kB / 1.02 GB, free: 15.3 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.502e-05/0.5074, allocations: 42.59 kB / 1.02 GB, free: 15.25 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.441e-05/0.5075, allocations: 8.922 kB / 1.02 GB, free: 15.24 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001624/0.5091, allocations: 0.6611 MB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.55e-05/0.5091, allocations: 42.42 kB / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 1.001e-06/0.5091, allocations: 0 / 1.021 GB, free: 14.45 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001244/0.5093, allocations: 49.61 kB / 1.021 GB, free: 14.4 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.64e-05/0.5093, allocations: 55.39 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.778e-05/0.5093, allocations: 93.86 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.444e-05/0.5094, allocations: 33.7 kB / 1.021 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 3.048e-05/0.5094, allocations: 80.14 kB / 1.021 GB, free: 14.11 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.956e-05/0.5094, allocations: 7.844 kB / 1.021 GB, free: 14.1 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.818e-05/0.5095, allocations: 17.72 kB / 1.021 GB, free: 14.08 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 9.273e-05/0.5096, allocations: 314.8 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.364e-05/0.5096, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.103e-05/0.5096, allocations: 4 kB / 1.021 GB, free: 13.75 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.039e-05/0.5096, allocations: 20.92 kB / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.5096, allocations: 0 / 1.021 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.949e-05/0.5097, allocations: 49.62 kB / 1.022 GB, free: 13.68 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.168e-05/0.5097, allocations: 8 kB / 1.022 GB, free: 13.67 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.176e-06/0.5097, allocations: 3.938 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.749e-06/0.5097, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.306e-05/0.5098, allocations: 7.984 kB / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.399e-06/0.5098, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.233e-05/0.5098, allocations: 0 / 1.022 GB, free: 13.66 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.571e-06/0.5098, allocations: 4 kB / 1.022 GB, free: 13.65 MB / 0.7794 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.841e-05/0.5099, allocations: 117.8 kB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.175e-06/0.5099, allocations: 3.938 kB / 1.022 GB, free: 13.52 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001011/0.51, allocations: 53.09 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/0.51, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.397e-06/0.51, allocations: 4 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.894e-06/0.51, allocations: 0 / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.745e-05/0.5101, allocations: 157.7 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.92e-07/0.5101, allocations: 0 / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.383e-05/0.5102, allocations: 7.938 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.5102, allocations: 4 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.703e-06/0.5102, allocations: 3.984 kB / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.91e-07/0.5102, allocations: 0 / 1.022 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.136e-06/0.5102, allocations: 4 kB / 1.022 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.934e-05/0.5103, allocations: 73.38 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.103e-05/0.5103, allocations: 81.05 kB / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.378e-06/0.5103, allocations: 48 / 1.022 GB, free: 13.05 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.448e-05/0.5103, allocations: 7.984 kB / 1.022 GB, free: 13.04 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.131e-05/0.5104, allocations: 8 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.5104, allocations: 4 kB / 1.022 GB, free: 13.03 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.454e-05/0.5104, allocations: 75.28 kB / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.5104, allocations: 0 / 1.022 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0003109/0.5107, allocations: 35.92 kB / 1.022 GB, free: 12.92 MB / 0.7794 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.0004302/0.5112, allocations: 0.6398 MB / 1.023 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.717e-05/0.5112, allocations: 15.98 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.5113, allocations: 3.938 kB / 1.023 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.484e-05/0.5113, allocations: 8 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001597/0.5114, allocations: 2.641 kB / 1.023 GB, free: 12.22 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003146/0.5118, allocations: 163.6 kB / 1.023 GB, free: 12.02 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002081/0.512, allocations: 0.6729 MB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.466e-05/0.512, allocations: 4 kB / 1.024 GB, free: 11.32 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.333e-05/0.512, allocations: 11.42 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.512, allocations: 0 / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.938/2.45, allocations: 1.654 MB / 1.025 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002/2.45, allocations: 239 kB / 1.025 GB, free: 9.566 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.244/6.694, allocations: 0 / 1.025 GB, free: 9.566 MB / 0.7794 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