Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_11_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.007075/0.007075, allocations: 100.6 kB / 15.73 MB, free: 6.008 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.001544/0.001544, allocations: 189.7 kB / 16.67 MB, free: 5.934 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.356/1.356, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.627/2.627, allocations: 469.8 MB / 0.7425 GB, free: 3.336 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 67.89 kB / 1.065 GB, free: 14.07 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7429/0.7447, allocations: 159.1 MB / 1.22 GB, free: 2.062 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.002321/0.7471, allocations: 1.295 MB / 1.221 GB, free: 0.7617 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.001176/0.7483, allocations: 0.7328 MB / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.831e-05/0.7483, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 1.859e-05/0.7483, allocations: 0 / 1.222 GB, free: 24 kB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 5.176e-05/0.7484, allocations: 3.938 kB / 1.222 GB, free: 20 kB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003562/0.7488, allocations: 103.9 kB / 1.222 GB, free: 15.92 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 6.015e-05/0.7489, allocations: 15.88 kB / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 3.886e-05/0.7489, allocations: 0 / 1.222 GB, free: 15.9 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.217e-05/0.7489, allocations: 7.984 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.893e-05/0.749, allocations: 11.98 kB / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.259e-05/0.749, allocations: 0 / 1.222 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003054/0.7493, allocations: 148 kB / 1.222 GB, free: 15.74 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.148e-05/0.7493, allocations: 4 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.032e-05/0.7494, allocations: 4 kB / 1.222 GB, free: 15.73 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0002016/0.7496, allocations: 107.4 kB / 1.223 GB, free: 15.63 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.771e-06/0.7496, allocations: 3.984 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.252e-06/0.7496, allocations: 4 kB / 1.223 GB, free: 15.62 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.078e-06/0.7496, allocations: 0 / 1.223 GB, free: 15.62 MB / 0.9512 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.0003664/0.75, allocations: 335.3 kB / 1.223 GB, free: 15.25 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.354e-05/0.75, allocations: 8.031 kB / 1.223 GB, free: 15.24 MB / 0.9512 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.724e-05/0.7501, allocations: 38.69 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.966e-05/0.7501, allocations: 0.9375 kB / 1.223 GB, free: 15.19 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001167/0.7502, allocations: 168.3 kB / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.748e-06/0.7502, allocations: 384 / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.202e-06/0.7502, allocations: 384 / 1.223 GB, free: 14.99 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.862e-05/0.7503, allocations: 41.81 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.384e-06/0.7503, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.7504, allocations: 4 kB / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.7504, allocations: 0 / 1.223 GB, free: 14.94 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.985e-05/0.7504, allocations: 8 kB / 1.223 GB, free: 14.93 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.7506, allocations: 153.7 kB / 1.223 GB, free: 14.73 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 8.49e-05/0.7507, allocations: 38.55 kB / 1.223 GB, free: 14.68 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.652e-05/0.7507, allocations: 12.92 kB / 1.223 GB, free: 14.67 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00183/0.7525, allocations: 0.6533 MB / 1.224 GB, free: 13.94 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.017e-05/0.7526, allocations: 42.48 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=3): time 1.182e-06/0.7526, allocations: 3.938 kB / 1.224 GB, free: 13.89 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3): time 0.0001533/0.7528, allocations: 53.77 kB / 1.224 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.895e-05/0.7528, allocations: 55.39 kB / 1.224 GB, free: 13.76 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.635e-05/0.7529, allocations: 97.8 kB / 1.224 GB, free: 13.66 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.7529, allocations: 29.7 kB / 1.224 GB, free: 13.62 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.282e-05/0.753, allocations: 80.14 kB / 1.224 GB, free: 13.54 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 2.143e-05/0.753, allocations: 8.078 kB / 1.224 GB, free: 13.53 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.913e-05/0.753, allocations: 13.72 kB / 1.224 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001396/0.7532, allocations: 318.8 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.568e-05/0.7532, allocations: 4 kB / 1.225 GB, free: 13.19 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.249e-05/0.7532, allocations: 4 kB / 1.225 GB, free: 13.18 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.517e-05/0.7532, allocations: 16.86 kB / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.7533, allocations: 0 / 1.225 GB, free: 13.16 MB / 0.9512 GB Notification: Performance of matching and sorting (n=3) (initialization): time 7.526e-05/0.7533, allocations: 53.52 kB / 1.225 GB, free: 13.11 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.265e-05/0.7534, allocations: 8 kB / 1.225 GB, free: 13.1 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.7534, allocations: 8 kB / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.181e-05/0.7534, allocations: 0 / 1.225 GB, free: 13.09 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.043e-05/0.7534, allocations: 7.984 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.108e-06/0.7534, allocations: 0 / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.332e-05/0.7535, allocations: 3.938 kB / 1.225 GB, free: 13.08 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.438e-06/0.7535, allocations: 4 kB / 1.225 GB, free: 13.07 MB / 0.9512 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.35e-05/0.7536, allocations: 106.4 kB / 1.225 GB, free: 12.96 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.174e-05/0.7536, allocations: 7.938 kB / 1.225 GB, free: 12.95 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001183/0.7537, allocations: 57.19 kB / 1.225 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.7537, allocations: 3.938 kB / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.807e-06/0.7537, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.054e-06/0.7537, allocations: 0 / 1.225 GB, free: 12.88 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001376/0.7539, allocations: 153.7 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.42e-07/0.7539, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.733e-05/0.7539, allocations: 7.938 kB / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.453e-06/0.7539, allocations: 0 / 1.225 GB, free: 12.68 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.197e-06/0.7539, allocations: 7.984 kB / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.7539, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.81e-07/0.7539, allocations: 0 / 1.225 GB, free: 12.67 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.509e-05/0.754, allocations: 69.12 kB / 1.225 GB, free: 12.58 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.893e-05/0.7541, allocations: 88.94 kB / 1.225 GB, free: 12.48 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.005e-05/0.7541, allocations: 3.938 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.368e-05/0.7541, allocations: 4 kB / 1.225 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.7541, allocations: 4 kB / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.594e-06/0.7542, allocations: 0 / 1.225 GB, free: 12.46 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 4.157e-05/0.7542, allocations: 87.22 kB / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7542, allocations: 0 / 1.225 GB, free: 12.38 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0002301/0.7544, allocations: 27.92 kB / 1.225 GB, free: 12.35 MB / 0.9512 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.0005196/0.755, allocations: 0.64 MB / 1.226 GB, free: 11.68 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 7.98e-05/0.7551, allocations: 15.98 kB / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 4.639e-06/0.7551, allocations: 0 / 1.226 GB, free: 11.66 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 2.234e-05/0.7551, allocations: 11.94 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001797/0.7553, allocations: 4 kB / 1.226 GB, free: 11.65 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003591/0.7556, allocations: 147.4 kB / 1.226 GB, free: 11.46 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/0.756, allocations: 0.6768 MB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.439e-05/0.756, allocations: 4 kB / 1.227 GB, free: 10.76 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.815e-05/0.756, allocations: 15.44 kB / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of SimCode: time 2.5e-07/0.756, allocations: 0 / 1.227 GB, free: 10.74 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02259/0.7786, allocations: 1.778 MB / 1.229 GB, free: 9.113 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.662/8.441, allocations: 12.5 kB / 1.229 GB, free: 9.102 MB / 0.9512 GB (rm -f Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_11_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_11_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches