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.1.0-master/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-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.007884/0.007884, allocations: 97.62 kB / 15.73 MB, free: 6.047 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.001964/0.001964, allocations: 202 kB / 16.68 MB, free: 5.969 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.3/1.3, allocations: 222.9 MB / 240.4 MB, free: 4.328 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-master/package.mo): time 2.577/2.577, allocations: 469.4 MB / 0.7422 GB, free: 7.645 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001289/0.001289, allocations: 68.12 kB / 1.064 GB, free: 13.91 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.267/0.2683, allocations: 159.1 MB / 1.22 GB, free: 14.68 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002331/0.2707, allocations: 1.3 MB / 1.221 GB, free: 13.36 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.001131/0.2719, allocations: 0.7327 MB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.881e-05/0.2719, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 1.924e-05/0.2719, allocations: 0 / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 4.593e-05/0.272, allocations: 7.875 kB / 1.222 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.000344/0.2724, allocations: 87.97 kB / 1.222 GB, free: 12.53 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 5.279e-05/0.2724, allocations: 23.86 kB / 1.222 GB, free: 12.51 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.986e-05/0.2725, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 1.914e-05/0.2725, allocations: 4 kB / 1.222 GB, free: 12.5 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 4.702e-05/0.2725, allocations: 7.984 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.022e-05/0.2726, allocations: 3.938 kB / 1.222 GB, free: 12.49 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000311/0.2729, allocations: 148.1 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.164e-05/0.2729, allocations: 4 kB / 1.222 GB, free: 12.34 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 2.168e-05/0.2729, allocations: 7.984 kB / 1.222 GB, free: 12.33 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.0001787/0.2731, allocations: 103.7 kB / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 4.047e-06/0.2731, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.343e-06/0.2731, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 4.419e-06/0.2731, allocations: 0 / 1.222 GB, free: 12.23 MB / 0.9825 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.0003299/0.2735, allocations: 335.4 kB / 1.222 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.538e-05/0.2735, allocations: 12.03 kB / 1.222 GB, free: 11.84 MB / 0.9825 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.289e-05/0.2736, allocations: 34.73 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.284e-05/0.2736, allocations: 0.9375 kB / 1.223 GB, free: 11.8 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2737, allocations: 168.3 kB / 1.223 GB, free: 11.6 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.215e-06/0.2737, allocations: 8.312 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.069e-05/0.2737, allocations: 4.375 kB / 1.223 GB, free: 11.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.555e-05/0.2738, allocations: 37.81 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.592e-06/0.2738, allocations: 4 kB / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.763e-06/0.2739, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.507e-06/0.2739, allocations: 0 / 1.223 GB, free: 11.54 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.06e-05/0.2739, allocations: 16 kB / 1.223 GB, free: 11.52 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.2741, allocations: 149.7 kB / 1.223 GB, free: 11.33 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.098e-05/0.2741, allocations: 38.55 kB / 1.223 GB, free: 11.28 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.396e-05/0.2742, allocations: 12.92 kB / 1.223 GB, free: 11.27 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00175/0.2759, allocations: 0.6494 MB / 1.224 GB, free: 10.54 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.374e-05/0.276, allocations: 50.38 kB / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=3): time 1.052e-06/0.276, allocations: 0 / 1.224 GB, free: 10.48 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3): time 0.0001397/0.2761, allocations: 45.69 kB / 1.224 GB, free: 10.43 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.902e-05/0.2762, allocations: 55.41 kB / 1.224 GB, free: 10.37 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.291e-05/0.2762, allocations: 93.84 kB / 1.224 GB, free: 10.27 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.341e-05/0.2763, allocations: 25.7 kB / 1.224 GB, free: 10.23 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 2.629e-05/0.2763, allocations: 84.08 kB / 1.224 GB, free: 10.15 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.185e-05/0.2763, allocations: 11.95 kB / 1.224 GB, free: 10.14 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.795e-05/0.2763, allocations: 17.84 kB / 1.224 GB, free: 10.11 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001071/0.2765, allocations: 314.8 kB / 1.224 GB, free: 9.797 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.682e-05/0.2765, allocations: 8 kB / 1.224 GB, free: 9.789 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.124e-05/0.2765, allocations: 4.172 kB / 1.224 GB, free: 9.785 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.452e-05/0.2765, allocations: 16.86 kB / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.2765, allocations: 0 / 1.224 GB, free: 9.766 MB / 0.9825 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.261e-05/0.2766, allocations: 53.58 kB / 1.224 GB, free: 9.707 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.403e-05/0.2766, allocations: 5.406 kB / 1.224 GB, free: 9.703 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.03e-06/0.2766, allocations: 4 kB / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.2767, allocations: 0 / 1.224 GB, free: 9.699 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.572e-05/0.2767, allocations: 11.94 kB / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.2767, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.401e-05/0.2768, allocations: 0 / 1.224 GB, free: 9.688 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.2768, allocations: 3.984 kB / 1.224 GB, free: 9.684 MB / 0.9825 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.98e-05/0.2768, allocations: 113.8 kB / 1.224 GB, free: 9.562 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.018e-05/0.2769, allocations: 3.938 kB / 1.224 GB, free: 9.559 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001058/0.277, allocations: 53.19 kB / 1.224 GB, free: 9.5 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.277, allocations: 4 kB / 1.224 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.206e-06/0.277, allocations: 0 / 1.224 GB, free: 9.496 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.194e-06/0.277, allocations: 4 kB / 1.224 GB, free: 9.492 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001008/0.2771, allocations: 149.7 kB / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.2771, allocations: 0 / 1.225 GB, free: 9.297 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.626e-05/0.2771, allocations: 11.88 kB / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.2771, allocations: 0 / 1.225 GB, free: 9.285 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.612e-06/0.2772, allocations: 7.938 kB / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.252e-06/0.2772, allocations: 0 / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.213e-06/0.2772, allocations: 0 / 1.225 GB, free: 9.277 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.49e-05/0.2773, allocations: 69.12 kB / 1.225 GB, free: 9.191 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 4.11e-05/0.2773, allocations: 96.92 kB / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.026e-05/0.2773, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.19e-05/0.2773, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.274e-05/0.2773, allocations: 0 / 1.225 GB, free: 9.078 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.141e-06/0.2774, allocations: 8 kB / 1.225 GB, free: 9.07 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 3.104e-05/0.2774, allocations: 79.28 kB / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2774, allocations: 0 / 1.225 GB, free: 8.992 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0002227/0.2776, allocations: 36.02 kB / 1.225 GB, free: 8.957 MB / 0.9825 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.0004702/0.2781, allocations: 0.6398 MB / 1.226 GB, free: 8.285 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 8.08e-05/0.2782, allocations: 23.97 kB / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.2782, allocations: 0 / 1.226 GB, free: 8.262 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 1.721e-05/0.2782, allocations: 11.94 kB / 1.226 GB, free: 8.25 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001764/0.2784, allocations: 6.062 kB / 1.226 GB, free: 8.246 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003477/0.2788, allocations: 147.4 kB / 1.226 GB, free: 8.062 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002263/0.279, allocations: 0.6729 MB / 1.226 GB, free: 7.363 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.781e-05/0.279, allocations: 8 kB / 1.226 GB, free: 7.355 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.352e-05/0.2791, allocations: 10.19 kB / 1.226 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.2791, allocations: 0 / 1.226 GB, free: 7.348 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01632/0.2954, allocations: 1.773 MB / 1.228 GB, free: 5.719 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.076/7.372, allocations: 11.61 kB / 1.228 GB, free: 5.711 MB / 0.9825 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 & python3 -m fmpy simulate --output-file Buildings_latest_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_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.csv","/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