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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.001672/0.001672, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001324/0.001324, allocations: 197.2 kB / 16.14 MB, free: 6.645 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.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.38/2.38, allocations: 437 MB / 0.7099 GB, free: 5.355 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001317/0.001317, allocations: 63.91 kB / 0.8687 GB, free: 5.113 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5202/0.5215, allocations: 151.6 MB / 1.017 GB, free: 2.824 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.00228/0.5238, allocations: 1.355 MB / 1.018 GB, free: 1.457 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.001092/0.5249, allocations: 0.7649 MB / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.463e-05/0.525, allocations: 0 / 1.019 GB, free: 0.6836 MB / 0.7637 GB Notification: Performance of NFTyping.typeComponents: time 1.94e-05/0.525, allocations: 3.938 kB / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeBindings: time 4.183e-05/0.5251, allocations: 0 / 1.019 GB, free: 0.6797 MB / 0.7637 GB Notification: Performance of NFTyping.typeClassSections: time 0.000286/0.5254, allocations: 79.98 kB / 1.019 GB, free: 0.6016 MB / 0.7637 GB Notification: Performance of NFFlatten.flatten: time 3.837e-05/0.5254, allocations: 15.88 kB / 1.019 GB, free: 0.5859 MB / 0.7637 GB Notification: Performance of NFFlatten.resolveConnections: time 3.274e-05/0.5254, allocations: 3.984 kB / 1.019 GB, free: 0.582 MB / 0.7637 GB Notification: Performance of NFEvalConstants.evaluate: time 1.614e-05/0.5255, allocations: 4 kB / 1.019 GB, free: 0.5781 MB / 0.7637 GB Notification: Performance of NFSimplifyModel.simplify: time 3.886e-05/0.5255, allocations: 15.92 kB / 1.019 GB, free: 0.5625 MB / 0.7637 GB Notification: Performance of NFPackage.collectConstants: time 9.858e-06/0.5255, allocations: 4 kB / 1.019 GB, free: 0.5586 MB / 0.7637 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000302/0.5258, allocations: 152.9 kB / 1.019 GB, free: 420 kB / 0.7637 GB Notification: Performance of NFScalarize.scalarize: time 9.548e-06/0.5259, allocations: 3.938 kB / 1.019 GB, free: 416 kB / 0.7637 GB Notification: Performance of NFVerifyModel.verify: time 2.592e-05/0.5259, allocations: 7.984 kB / 1.019 GB, free: 408 kB / 0.7637 GB Notification: Performance of NFConvertDAE.convert: time 0.000173/0.5261, allocations: 102.5 kB / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd - DAE generated: time 3.277e-06/0.5261, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of FrontEnd: time 6.92e-07/0.5261, allocations: 0 / 1.019 GB, free: 308 kB / 0.7637 GB Notification: Performance of Transformations before backend: time 3.456e-06/0.5261, allocations: 0 / 1.019 GB, free: 308 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.0003051/0.5264, allocations: 331.5 kB / 1.019 GB, free: 15.93 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.546e-05/0.5264, allocations: 16.03 kB / 1.02 GB, free: 15.91 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.927e-05/0.5265, allocations: 30.75 kB / 1.02 GB, free: 15.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.2e-05/0.5265, allocations: 4.922 kB / 1.02 GB, free: 15.87 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.175e-05/0.5266, allocations: 164.4 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.087e-06/0.5266, allocations: 4.375 kB / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.051e-06/0.5266, allocations: 384 / 1.02 GB, free: 15.67 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.895e-05/0.5267, allocations: 41.81 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.5267, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.201e-06/0.5267, allocations: 3.938 kB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/0.5267, allocations: 7.984 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.829e-05/0.5268, allocations: 12 kB / 1.02 GB, free: 15.6 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001365/0.5269, allocations: 161.6 kB / 1.02 GB, free: 15.39 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.642e-05/0.527, allocations: 34.61 kB / 1.02 GB, free: 15.35 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.417e-05/0.527, allocations: 8.922 kB / 1.02 GB, free: 15.34 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00171/0.5288, allocations: 0.6572 MB / 1.021 GB, free: 14.61 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.047e-05/0.5288, allocations: 34.5 kB / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 3.607e-06/0.5288, allocations: 0 / 1.021 GB, free: 14.56 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001344/0.5289, allocations: 57.56 kB / 1.021 GB, free: 14.5 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.752e-05/0.529, allocations: 55.41 kB / 1.021 GB, free: 14.43 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.331e-05/0.529, allocations: 93.84 kB / 1.021 GB, free: 14.33 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.173e-05/0.529, allocations: 25.7 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.962e-05/0.5291, allocations: 84.14 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.024e-05/0.5291, allocations: 11.84 kB / 1.021 GB, free: 14.2 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-05/0.5291, allocations: 13.72 kB / 1.021 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.892e-05/0.5292, allocations: 315 kB / 1.021 GB, free: 13.87 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.699e-05/0.5293, allocations: 11.98 kB / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.048e-05/0.5293, allocations: 0 / 1.021 GB, free: 13.86 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.549e-05/0.5293, allocations: 20.8 kB / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5293, allocations: 0 / 1.021 GB, free: 13.83 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.416e-05/0.5294, allocations: 49.62 kB / 1.021 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.163e-05/0.5294, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.84e-06/0.5294, allocations: 4 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.065e-05/0.5295, allocations: 3.938 kB / 1.021 GB, free: 13.77 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.444e-05/0.5295, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.5295, allocations: 4 kB / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.484e-05/0.5295, allocations: 0 / 1.021 GB, free: 13.76 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.178e-06/0.5295, allocations: 0 / 1.021 GB, free: 13.76 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 6.026e-05/0.5296, allocations: 113.8 kB / 1.021 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.273e-05/0.5296, allocations: 7.844 kB / 1.021 GB, free: 13.63 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001114/0.5297, allocations: 57.12 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.5298, allocations: 4 kB / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.106e-06/0.5298, allocations: 0 / 1.022 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.5298, allocations: 8 kB / 1.022 GB, free: 13.55 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.769e-05/0.5299, allocations: 153.7 kB / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.5299, allocations: 0 / 1.022 GB, free: 13.35 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.638e-05/0.5299, allocations: 7.938 kB / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.014e-06/0.5299, allocations: 384 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.219e-06/0.5299, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.5299, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.5299, allocations: 0 / 1.022 GB, free: 13.34 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.426e-05/0.53, allocations: 73.05 kB / 1.022 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 3.14e-05/0.5301, allocations: 93.03 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.219e-05/0.5301, allocations: 0 / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.235e-05/0.5301, allocations: 3.938 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.5301, allocations: 4 kB / 1.022 GB, free: 13.14 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.5301, allocations: 4 kB / 1.022 GB, free: 13.13 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 3.054e-05/0.5302, allocations: 75.28 kB / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.5302, allocations: 0 / 1.022 GB, free: 13.06 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002272/0.5304, allocations: 31.94 kB / 1.022 GB, free: 13.03 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.0004509/0.5309, allocations: 0.645 MB / 1.023 GB, free: 12.36 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.633e-05/0.5309, allocations: 12 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.713e-06/0.5309, allocations: 4 kB / 1.023 GB, free: 12.34 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.704e-05/0.531, allocations: 15.92 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001762/0.5311, allocations: 4.75 kB / 1.023 GB, free: 12.32 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000334/0.5315, allocations: 145.4 kB / 1.023 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.5317, allocations: 0.6809 MB / 1.023 GB, free: 11.43 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.989e-05/0.5317, allocations: 11.94 kB / 1.023 GB, free: 11.42 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.753e-05/0.5318, allocations: 11.44 kB / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of SimCode: time 2.4e-07/0.5318, allocations: 0 / 1.023 GB, free: 11.41 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1616/0.6934, allocations: 1.621 MB / 1.025 GB, free: 9.938 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000319/0.6937, allocations: 226.7 kB / 1.025 GB, free: 9.688 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.76/2.454, allocations: 0 / 1.025 GB, free: 9.688 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