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.0009207/0.0009207, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.007006/0.007006, allocations: 168.6 kB / 16.26 MB, free: 6.652 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.236/1.236, allocations: 223.3 MB / 240.3 MB, free: 5.34 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.337/2.337, allocations: 437.8 MB / 0.7121 GB, free: 6.945 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0002924/0.0002924, allocations: 12.28 kB / 0.873 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.507/0.5073, allocations: 153.8 MB / 1.023 GB, free: 15.84 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001179/0.5085, allocations: 1.023 MB / 1.024 GB, free: 14.81 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.001032/0.5096, allocations: 0.7495 MB / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.299e-05/0.5096, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.555e-05/0.5096, allocations: 0 / 1.025 GB, free: 14.05 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 4.42e-05/0.5097, allocations: 11.88 kB / 1.025 GB, free: 14.04 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002567/0.5099, allocations: 75.98 kB / 1.025 GB, free: 13.96 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 4.289e-05/0.51, allocations: 19.92 kB / 1.025 GB, free: 13.95 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.004e-05/0.51, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 1.669e-05/0.5101, allocations: 4 kB / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.881e-05/0.5101, allocations: 0 / 1.025 GB, free: 13.94 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.076e-05/0.5101, allocations: 7.938 kB / 1.025 GB, free: 13.93 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002817/0.5104, allocations: 157 kB / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.847e-06/0.5104, allocations: 0 / 1.025 GB, free: 13.78 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.601e-05/0.5105, allocations: 37.7 kB / 1.025 GB, free: 13.73 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0001632/0.5106, allocations: 102.5 kB / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.5107, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.345e-06/0.5107, allocations: 0 / 1.025 GB, free: 13.64 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.546e-06/0.5107, allocations: 7.875 kB / 1.025 GB, free: 13.63 MB / 0.7794 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.0002943/0.511, allocations: 335.5 kB / 1.026 GB, free: 13.25 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.511, allocations: 12.03 kB / 1.026 GB, free: 13.24 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.841e-05/0.511, allocations: 30.75 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.63e-05/0.5111, allocations: 0.9375 kB / 1.026 GB, free: 13.2 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.17e-05/0.5112, allocations: 164.4 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.829e-06/0.5112, allocations: 8.375 kB / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.981e-06/0.5112, allocations: 384 / 1.026 GB, free: 13 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.55e-05/0.5113, allocations: 41.81 kB / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.5113, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.941e-06/0.5113, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.637e-06/0.5113, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.725e-05/0.5113, allocations: 15.92 kB / 1.026 GB, free: 12.93 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001371/0.5115, allocations: 153.7 kB / 1.026 GB, free: 12.73 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.258e-05/0.5116, allocations: 34.58 kB / 1.026 GB, free: 12.69 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.422e-05/0.5116, allocations: 12.92 kB / 1.026 GB, free: 12.68 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002194/0.5138, allocations: 1.031 MB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.168e-05/0.5138, allocations: 42.44 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=3): time 9.61e-07/0.5138, allocations: 4 kB / 1.027 GB, free: 11.52 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3): time 0.0001301/0.514, allocations: 53.53 kB / 1.027 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.68e-05/0.514, allocations: 51.41 kB / 1.027 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.198e-05/0.5141, allocations: 97.86 kB / 1.027 GB, free: 11.29 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.023e-05/0.5141, allocations: 25.7 kB / 1.027 GB, free: 11.26 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 2.406e-05/0.5141, allocations: 80.14 kB / 1.027 GB, free: 11.18 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.791e-05/0.5141, allocations: 7.906 kB / 1.027 GB, free: 11.17 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.002e-05/0.5142, allocations: 13.72 kB / 1.027 GB, free: 11.15 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 8.811e-05/0.5143, allocations: 319 kB / 1.028 GB, free: 10.83 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.235e-05/0.5143, allocations: 4 kB / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.845e-06/0.5143, allocations: 0 / 1.028 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.925e-05/0.5143, allocations: 16.86 kB / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.442e-06/0.5143, allocations: 0 / 1.028 GB, free: 10.8 MB / 0.7794 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.438e-05/0.5144, allocations: 53.84 kB / 1.028 GB, free: 10.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.256e-05/0.5144, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.5144, allocations: 4 kB / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.488e-06/0.5144, allocations: 0 / 1.028 GB, free: 10.74 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.182e-05/0.5145, allocations: 8.031 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.636e-06/0.5145, allocations: 4 kB / 1.028 GB, free: 10.73 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.55e-05/0.5145, allocations: 7.922 kB / 1.028 GB, free: 10.72 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.807e-06/0.5145, allocations: 0 / 1.028 GB, free: 10.72 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.074e-05/0.5146, allocations: 113.8 kB / 1.028 GB, free: 10.6 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.276e-06/0.5146, allocations: 3.938 kB / 1.028 GB, free: 10.59 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001066/0.5147, allocations: 57.06 kB / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.583e-06/0.5147, allocations: 0 / 1.028 GB, free: 10.53 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.5147, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.114e-06/0.5147, allocations: 4 kB / 1.028 GB, free: 10.52 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.12e-05/0.5148, allocations: 157.6 kB / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.91e-07/0.5148, allocations: 0 / 1.028 GB, free: 10.32 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.312e-05/0.5149, allocations: 7.938 kB / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.5149, allocations: 0 / 1.028 GB, free: 10.31 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.651e-06/0.5149, allocations: 3.984 kB / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.5149, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.5149, allocations: 0 / 1.028 GB, free: 10.3 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.412e-05/0.515, allocations: 73.12 kB / 1.028 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 2.974e-05/0.515, allocations: 84.98 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.17e-05/0.515, allocations: 7.938 kB / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.098e-05/0.5151, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.12e-05/0.5151, allocations: 0 / 1.028 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.5151, allocations: 4 kB / 1.028 GB, free: 10.1 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 2.441e-05/0.5151, allocations: 75.28 kB / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.5151, allocations: 0 / 1.028 GB, free: 10.03 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0002028/0.5153, allocations: 31.98 kB / 1.028 GB, free: 9.996 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.0004111/0.5157, allocations: 0.6437 MB / 1.029 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 6.065e-05/0.5158, allocations: 19.92 kB / 1.029 GB, free: 9.305 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.5158, allocations: 4 kB / 1.029 GB, free: 9.301 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.299e-05/0.5158, allocations: 8 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001621/0.516, allocations: 0.75 kB / 1.029 GB, free: 9.293 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.5163, allocations: 154.2 kB / 1.029 GB, free: 9.105 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000197/0.5165, allocations: 0.6808 MB / 1.03 GB, free: 8.398 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 3.045e-05/0.5166, allocations: 11.94 kB / 1.03 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.98e-05/0.5166, allocations: 11.38 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.5166, allocations: 0 / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 3.715/4.232, allocations: 1.563 MB / 1.031 GB, free: 6.992 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002391/4.232, allocations: 234.2 kB / 1.032 GB, free: 6.734 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.368/6.6, allocations: 4 kB / 1.032 GB, free: 6.73 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