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.005063/0.005063, allocations: 100.9 kB / 15.73 MB, free: 6.062 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.001298/0.001298, allocations: 190.6 kB / 16.68 MB, free: 5.973 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.361/1.361, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.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.459/2.459, allocations: 437 MB / 0.7105 GB, free: 4.34 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001802/0.001802, allocations: 63.91 kB / 1.018 GB, free: 9.879 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7018/0.7036, allocations: 151.6 MB / 1.166 GB, free: 3.754 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002363/0.706, allocations: 1.3 MB / 1.167 GB, free: 2.445 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.001136/0.7072, allocations: 0.7283 MB / 1.168 GB, free: 1.711 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.763e-05/0.7072, allocations: 4 kB / 1.168 GB, free: 1.707 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 2.122e-05/0.7072, allocations: 3.938 kB / 1.168 GB, free: 1.703 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 4.646e-05/0.7073, allocations: 3.984 kB / 1.168 GB, free: 1.699 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.000327/0.7076, allocations: 95.91 kB / 1.168 GB, free: 1.605 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 5.519e-05/0.7077, allocations: 19.86 kB / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFFlatten.resolveConnections: time 4.168e-05/0.7077, allocations: 0 / 1.168 GB, free: 1.586 MB / 0.8887 GB Notification: Performance of NFEvalConstants.evaluate: time 1.619e-05/0.7077, allocations: 4 kB / 1.168 GB, free: 1.582 MB / 0.8887 GB Notification: Performance of NFSimplifyModel.simplify: time 4.709e-05/0.7078, allocations: 11.98 kB / 1.168 GB, free: 1.57 MB / 0.8887 GB Notification: Performance of NFPackage.collectConstants: time 1.2e-05/0.7078, allocations: 4 kB / 1.168 GB, free: 1.566 MB / 0.8887 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003056/0.7081, allocations: 152 kB / 1.168 GB, free: 1.418 MB / 0.8887 GB Notification: Performance of NFScalarize.scalarize: time 1.364e-05/0.7081, allocations: 7.938 kB / 1.168 GB, free: 1.41 MB / 0.8887 GB Notification: Performance of NFVerifyModel.verify: time 1.953e-05/0.7082, allocations: 4 kB / 1.168 GB, free: 1.406 MB / 0.8887 GB Notification: Performance of NFConvertDAE.convert: time 0.0001859/0.7084, allocations: 99.44 kB / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of FrontEnd - DAE generated: time 3.958e-06/0.7084, allocations: 0 / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of FrontEnd: time 1.403e-06/0.7084, allocations: 0 / 1.169 GB, free: 1.312 MB / 0.8887 GB Notification: Performance of Transformations before backend: time 4.709e-06/0.7084, allocations: 0 / 1.169 GB, free: 1.312 MB / 0.8887 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.0003795/0.7088, allocations: 339.3 kB / 1.169 GB, free: 0.9336 MB / 0.8887 GB Notification: Performance of prepare preOptimizeDAE: time 3.528e-05/0.7088, allocations: 8.922 kB / 1.169 GB, free: 0.9258 MB / 0.8887 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.602e-05/0.7089, allocations: 34.75 kB / 1.169 GB, free: 0.8828 MB / 0.8887 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.19e-05/0.7089, allocations: 8.875 kB / 1.169 GB, free: 0.875 MB / 0.8887 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001233/0.709, allocations: 164.4 kB / 1.169 GB, free: 0.6758 MB / 0.8887 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.159e-05/0.709, allocations: 4.375 kB / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.741e-06/0.709, allocations: 384 / 1.169 GB, free: 0.6719 MB / 0.8887 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.999e-05/0.7091, allocations: 37.77 kB / 1.169 GB, free: 0.6289 MB / 0.8887 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.895e-06/0.7092, allocations: 4 kB / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.662e-06/0.7092, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.797e-06/0.7092, allocations: 0 / 1.169 GB, free: 0.625 MB / 0.8887 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.279e-05/0.7092, allocations: 11.98 kB / 1.169 GB, free: 0.6133 MB / 0.8887 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001655/0.7094, allocations: 161.7 kB / 1.169 GB, free: 416 kB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 8.033e-05/0.7095, allocations: 30.56 kB / 1.169 GB, free: 376 kB / 0.8887 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.011e-05/0.7095, allocations: 16.91 kB / 1.169 GB, free: 356 kB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001741/0.7113, allocations: 0.6533 MB / 1.17 GB, free: 15.62 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.506e-05/0.7113, allocations: 42.44 kB / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.7113, allocations: 0 / 1.17 GB, free: 15.57 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3): time 0.0001637/0.7115, allocations: 49.69 kB / 1.17 GB, free: 15.52 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.169e-05/0.7115, allocations: 55.34 kB / 1.17 GB, free: 15.45 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.671e-05/0.7116, allocations: 97.86 kB / 1.17 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/0.7116, allocations: 25.7 kB / 1.17 GB, free: 15.31 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 3.842e-05/0.7117, allocations: 80.14 kB / 1.17 GB, free: 15.23 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-05/0.7117, allocations: 11.94 kB / 1.17 GB, free: 15.22 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.083e-05/0.7118, allocations: 13.72 kB / 1.17 GB, free: 15.2 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001359/0.7119, allocations: 314.8 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.703e-05/0.7119, allocations: 4 kB / 1.171 GB, free: 14.88 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.372e-05/0.7119, allocations: 12.11 kB / 1.171 GB, free: 14.87 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.78e-05/0.712, allocations: 20.8 kB / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.712, allocations: 0 / 1.171 GB, free: 14.84 MB / 0.9044 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.218e-05/0.7121, allocations: 49.62 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.369e-05/0.7121, allocations: 4 kB / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.7121, allocations: 0 / 1.171 GB, free: 14.79 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.656e-05/0.7121, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.025e-05/0.7122, allocations: 4 kB / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.7122, allocations: 0 / 1.171 GB, free: 14.78 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.939e-05/0.7122, allocations: 11.89 kB / 1.171 GB, free: 14.77 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.729e-06/0.7122, allocations: 4 kB / 1.171 GB, free: 14.76 MB / 0.9044 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 7.551e-05/0.7123, allocations: 105.8 kB / 1.171 GB, free: 14.65 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.294e-05/0.7123, allocations: 7.938 kB / 1.171 GB, free: 14.64 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.7124, allocations: 65.05 kB / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.385e-06/0.7124, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.356e-06/0.7125, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.204e-06/0.7125, allocations: 0 / 1.171 GB, free: 14.56 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.7126, allocations: 149.7 kB / 1.171 GB, free: 14.37 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.7126, allocations: 4 kB / 1.171 GB, free: 14.36 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.697e-05/0.7126, allocations: 11.94 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.7126, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.514e-06/0.7126, allocations: 4 kB / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.7126, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.7127, allocations: 0 / 1.171 GB, free: 14.35 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.768e-05/0.7127, allocations: 69.44 kB / 1.171 GB, free: 14.26 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 4.896e-05/0.7128, allocations: 85.08 kB / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.091e-05/0.7128, allocations: 0 / 1.171 GB, free: 14.16 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.53e-05/0.7128, allocations: 8 kB / 1.171 GB, free: 14.15 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.7129, allocations: 7.922 kB / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.7129, allocations: 0 / 1.171 GB, free: 14.14 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 3.864e-05/0.7129, allocations: 83.28 kB / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1e-07/0.7129, allocations: 0 / 1.171 GB, free: 14.06 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0002162/0.7131, allocations: 23.94 kB / 1.171 GB, free: 14.04 MB / 0.9044 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.0005133/0.7136, allocations: 0.6474 MB / 1.172 GB, free: 13.36 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 7.693e-05/0.7137, allocations: 8 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.7137, allocations: 4 kB / 1.172 GB, free: 13.35 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 1.537e-05/0.7138, allocations: 8 kB / 1.172 GB, free: 13.34 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001786/0.7139, allocations: 12.55 kB / 1.172 GB, free: 13.33 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003757/0.7143, allocations: 151.5 kB / 1.172 GB, free: 13.14 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.7146, allocations: 0.6768 MB / 1.173 GB, free: 12.44 MB / 0.9044 GB Notification: Performance of simCode: alias equations: time 2.449e-05/0.7146, allocations: 3.938 kB / 1.173 GB, free: 12.43 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.474e-05/0.7147, allocations: 11.44 kB / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of SimCode: time 3e-07/0.7147, allocations: 0 / 1.173 GB, free: 12.42 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0214/0.7361, allocations: 1.778 MB / 1.175 GB, free: 10.8 MB / 0.9044 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.534/8.27, allocations: 7.938 kB / 1.175 GB, free: 10.79 MB / 0.9044 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 & python3 -m fmpy simulate --output-file Buildings_10_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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.csv","/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