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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001632/0.001632, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 194.2 kB / 16.53 MB, free: 6.664 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.377/1.377, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.655/2.655, allocations: 469.4 MB / 0.742 GB, free: 7.688 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 65.7 kB / 0.9083 GB, free: 34.47 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2321/0.2334, allocations: 159.1 MB / 1.064 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002084/0.2355, allocations: 1.287 MB / 1.065 GB, free: 13.18 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009041/0.2364, allocations: 0.7344 MB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.63e-05/0.2364, allocations: 0 / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.201e-05/0.2365, allocations: 4 kB / 1.066 GB, free: 12.44 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 4.22e-05/0.2365, allocations: 11.91 kB / 1.066 GB, free: 12.43 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002666/0.2368, allocations: 83.92 kB / 1.066 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 4.133e-05/0.2368, allocations: 19.92 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.484e-05/0.2369, allocations: 4 kB / 1.066 GB, free: 12.32 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 1.633e-05/0.2369, allocations: 11.92 kB / 1.066 GB, free: 12.31 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.792e-05/0.2369, allocations: 7.938 kB / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.367e-06/0.237, allocations: 0 / 1.066 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002535/0.2372, allocations: 144.1 kB / 1.066 GB, free: 12.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.064e-05/0.2372, allocations: 7.984 kB / 1.066 GB, free: 12.15 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 1.895e-05/0.2373, allocations: 7.938 kB / 1.066 GB, free: 12.14 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0001537/0.2374, allocations: 104.1 kB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.2374, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.042e-06/0.2374, allocations: 0 / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 3.737e-06/0.2374, allocations: 4 kB / 1.066 GB, free: 12.04 MB / 0.8262 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.0002653/0.2377, allocations: 335.6 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.15e-05/0.2377, allocations: 8.031 kB / 1.066 GB, free: 11.66 MB / 0.8262 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.26e-05/0.2378, allocations: 34.69 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.784e-05/0.2378, allocations: 0.9375 kB / 1.066 GB, free: 11.61 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.04e-05/0.2379, allocations: 172.2 kB / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.484e-06/0.2379, allocations: 384 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.2379, allocations: 384 / 1.067 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.277e-05/0.238, allocations: 45.75 kB / 1.067 GB, free: 11.36 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.12e-06/0.238, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.332e-06/0.238, allocations: 0 / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.102e-06/0.238, allocations: 4 kB / 1.067 GB, free: 11.35 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.307e-05/0.2381, allocations: 7.984 kB / 1.067 GB, free: 11.34 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.2382, allocations: 153.7 kB / 1.067 GB, free: 11.14 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.818e-05/0.2383, allocations: 34.52 kB / 1.067 GB, free: 11.1 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.38e-05/0.2383, allocations: 12.92 kB / 1.067 GB, free: 11.08 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001625/0.2399, allocations: 0.6572 MB / 1.067 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.293e-05/0.2399, allocations: 38.5 kB / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.24, allocations: 0 / 1.068 GB, free: 10.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3): time 0.0001168/0.2401, allocations: 57.61 kB / 1.068 GB, free: 10.24 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.462e-05/0.2401, allocations: 51.41 kB / 1.068 GB, free: 10.18 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.718e-05/0.2402, allocations: 97.86 kB / 1.068 GB, free: 10.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 9.748e-06/0.2402, allocations: 25.7 kB / 1.068 GB, free: 10.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 2.093e-05/0.2402, allocations: 80.14 kB / 1.068 GB, free: 9.961 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.971e-05/0.2402, allocations: 7.891 kB / 1.068 GB, free: 9.953 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.2403, allocations: 21.84 kB / 1.068 GB, free: 9.926 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 7.643e-05/0.2403, allocations: 310.8 kB / 1.068 GB, free: 9.613 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.31e-05/0.2404, allocations: 4 kB / 1.068 GB, free: 9.609 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.256e-05/0.2404, allocations: 12 kB / 1.068 GB, free: 9.598 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.853e-05/0.2404, allocations: 12.84 kB / 1.068 GB, free: 9.582 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.112e-06/0.2404, allocations: 4 kB / 1.068 GB, free: 9.578 MB / 0.8262 GB Notification: Performance of matching and sorting (n=3) (initialization): time 5.915e-05/0.2405, allocations: 45.58 kB / 1.068 GB, free: 9.527 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.2405, allocations: 11.98 kB / 1.068 GB, free: 9.516 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.846e-06/0.2405, allocations: 3.938 kB / 1.068 GB, free: 9.512 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.205e-06/0.2405, allocations: 4 kB / 1.068 GB, free: 9.508 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.106e-05/0.2406, allocations: 4 kB / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.667e-06/0.2406, allocations: 0 / 1.068 GB, free: 9.504 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.448e-05/0.2406, allocations: 3.906 kB / 1.068 GB, free: 9.5 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.911e-06/0.2406, allocations: 8 kB / 1.068 GB, free: 9.492 MB / 0.8262 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.162e-05/0.2407, allocations: 106.4 kB / 1.068 GB, free: 9.379 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.606e-06/0.2407, allocations: 3.938 kB / 1.068 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.314e-05/0.2408, allocations: 57.12 kB / 1.068 GB, free: 9.312 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.276e-06/0.2408, allocations: 7.984 kB / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.827e-06/0.2408, allocations: 0 / 1.068 GB, free: 9.305 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.803e-06/0.2408, allocations: 3.938 kB / 1.068 GB, free: 9.301 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.74e-05/0.2409, allocations: 153.6 kB / 1.069 GB, free: 9.102 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.2409, allocations: 3.984 kB / 1.069 GB, free: 9.098 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.256e-05/0.2409, allocations: 7.938 kB / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.2409, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.589e-06/0.2409, allocations: 0 / 1.069 GB, free: 9.09 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.935e-06/0.2409, allocations: 4 kB / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.2409, allocations: 0 / 1.069 GB, free: 9.086 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.807e-05/0.241, allocations: 73.12 kB / 1.069 GB, free: 8.996 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 2.703e-05/0.241, allocations: 81.05 kB / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.328e-06/0.2411, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.107e-05/0.2411, allocations: 0 / 1.069 GB, free: 8.898 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.2411, allocations: 11.92 kB / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.205e-06/0.2411, allocations: 0 / 1.069 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 2.303e-05/0.2411, allocations: 75.28 kB / 1.069 GB, free: 8.812 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2411, allocations: 4.094 kB / 1.069 GB, free: 8.809 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000205/0.2413, allocations: 32 kB / 1.069 GB, free: 8.777 MB / 0.8262 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.0003774/0.2417, allocations: 0.6401 MB / 1.069 GB, free: 8.105 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 6.45e-05/0.2418, allocations: 19.92 kB / 1.069 GB, free: 8.086 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.2418, allocations: 3.938 kB / 1.069 GB, free: 8.082 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.401e-05/0.2418, allocations: 8 kB / 1.069 GB, free: 8.074 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001568/0.242, allocations: 9.391 kB / 1.07 GB, free: 8.066 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002991/0.2423, allocations: 143.6 kB / 1.07 GB, free: 7.887 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001644/0.2425, allocations: 0.6768 MB / 1.07 GB, free: 7.184 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 2.382e-05/0.2425, allocations: 8 kB / 1.07 GB, free: 7.176 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.038e-05/0.2425, allocations: 7.438 kB / 1.07 GB, free: 7.168 MB / 0.8262 GB Notification: Performance of SimCode: time 2.3e-07/0.2425, allocations: 3.938 kB / 1.07 GB, free: 7.164 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.845/2.087, allocations: 1.745 MB / 1.072 GB, free: 5.539 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.573/10.66, allocations: 9.188 kB / 1.072 GB, free: 5.535 MB / 0.8262 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