Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc,fileNamePrefix="Buildings_9_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.007867/0.007867, allocations: 98.52 kB / 15.73 MB, free: 6.055 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.002023/0.002023, allocations: 196 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.259/1.259, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.107/2.107, allocations: 390.3 MB / 0.6648 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 68.03 kB / 0.9504 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6577/0.6591, allocations: 140.4 MB / 1.087 GB, free: 5.27 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc): time 0.001951/0.6611, allocations: 1.296 MB / 1.089 GB, free: 4.367 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0009345/0.662, allocations: 0.7339 MB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.751e-05/0.662, allocations: 1.125 kB / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 1.434e-05/0.6621, allocations: 0 / 1.089 GB, free: 3.867 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.753e-05/0.6621, allocations: 5.703 kB / 1.089 GB, free: 3.863 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003142/0.6624, allocations: 94.81 kB / 1.09 GB, free: 3.828 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 4.827e-05/0.6625, allocations: 17.81 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.328e-05/0.6625, allocations: 2.141 kB / 1.09 GB, free: 3.82 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 1.993e-05/0.6626, allocations: 12.45 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 4.224e-05/0.6626, allocations: 5.141 kB / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.6626, allocations: 0 / 1.09 GB, free: 3.812 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002911/0.6629, allocations: 150 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.034e-05/0.6629, allocations: 1.062 kB / 1.09 GB, free: 3.777 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.663, allocations: 7.75 kB / 1.09 GB, free: 3.773 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001951/0.6632, allocations: 104.4 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.148e-06/0.6632, allocations: 0.5625 kB / 1.09 GB, free: 3.75 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.483e-06/0.6632, allocations: 4 kB / 1.09 GB, free: 3.746 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.015e-06/0.6632, allocations: 1.188 kB / 1.09 GB, free: 3.746 MB / 0.8575 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.0002479/0.6635, allocations: 337.4 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.44e-05/0.6635, allocations: 10.53 kB / 1.09 GB, free: 3.383 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.009e-05/0.6635, allocations: 35.55 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.11e-05/0.6635, allocations: 2.156 kB / 1.09 GB, free: 3.34 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.409e-05/0.6636, allocations: 170.6 kB / 1.09 GB, free: 3.137 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6636, allocations: 5 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.418e-06/0.6636, allocations: 1.062 kB / 1.09 GB, free: 3.133 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.534e-05/0.6637, allocations: 37.34 kB / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.901e-06/0.6637, allocations: 0 / 1.09 GB, free: 3.098 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.013e-06/0.6637, allocations: 9.031 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.051e-06/0.6638, allocations: 0 / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.876e-05/0.6638, allocations: 9.328 kB / 1.09 GB, free: 3.09 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.9e-05/0.6639, allocations: 151.2 kB / 1.091 GB, free: 2.898 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.492e-05/0.664, allocations: 41.42 kB / 1.091 GB, free: 2.863 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.408e-05/0.664, allocations: 14 kB / 1.091 GB, free: 2.852 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001689/0.6657, allocations: 0.6587 MB / 1.091 GB, free: 2.434 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.655e-05/0.6657, allocations: 36.34 kB / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=3): time 1.122e-06/0.6657, allocations: 0 / 1.091 GB, free: 2.391 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3): time 0.0001283/0.6659, allocations: 46.78 kB / 1.091 GB, free: 2.355 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.976e-05/0.6659, allocations: 52.02 kB / 1.091 GB, free: 2.293 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.512e-05/0.6659, allocations: 98.33 kB / 1.092 GB, free: 2.191 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.362e-06/0.666, allocations: 29.7 kB / 1.092 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 1.226e-05/0.666, allocations: 84.86 kB / 1.092 GB, free: 2.07 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 1.993e-05/0.666, allocations: 10.02 kB / 1.092 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.453e-05/0.666, allocations: 18.53 kB / 1.092 GB, free: 2.043 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 3.649e-05/0.6661, allocations: 312.8 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.467e-05/0.6661, allocations: 3.375 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.224e-05/0.6661, allocations: 4.984 kB / 1.092 GB, free: 1.73 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.108e-05/0.6661, allocations: 16.11 kB / 1.092 GB, free: 1.719 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.194e-06/0.6661, allocations: 3.938 kB / 1.092 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of matching and sorting (n=3) (initialization): time 6.24e-05/0.6662, allocations: 53.19 kB / 1.092 GB, free: 1.672 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.285e-05/0.6662, allocations: 9.438 kB / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.431e-06/0.6662, allocations: 0 / 1.092 GB, free: 1.668 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.154e-05/0.6663, allocations: 9.25 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.569e-05/0.6663, allocations: 4.828 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.047e-06/0.6663, allocations: 0.7812 kB / 1.092 GB, free: 1.66 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.423e-05/0.6663, allocations: 4.875 kB / 1.092 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.979e-06/0.6663, allocations: 1.469 kB / 1.092 GB, free: 1.656 MB / 0.8575 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 3.995e-05/0.6664, allocations: 115.9 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.326e-06/0.6664, allocations: 1.531 kB / 1.092 GB, free: 1.535 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.553e-05/0.6665, allocations: 55.61 kB / 1.092 GB, free: 1.488 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.6665, allocations: 3.938 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.6665, allocations: 1.156 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.136e-06/0.6665, allocations: 0.5625 kB / 1.092 GB, free: 1.484 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.606e-05/0.6666, allocations: 156.5 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.6666, allocations: 0.7969 kB / 1.092 GB, free: 1.289 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.5e-05/0.6666, allocations: 9.812 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6666, allocations: 0 / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.092e-06/0.6666, allocations: 1.266 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.704e-06/0.6666, allocations: 0.7812 kB / 1.092 GB, free: 1.285 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-06/0.6666, allocations: 4 kB / 1.092 GB, free: 1.281 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.669e-05/0.6667, allocations: 69.89 kB / 1.092 GB, free: 1.211 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 1.608e-05/0.6667, allocations: 82.95 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.14e-05/0.6668, allocations: 1.453 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.358e-05/0.6668, allocations: 4.562 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.133e-05/0.6668, allocations: 1.953 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.6668, allocations: 1.094 kB / 1.093 GB, free: 1.109 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 1.67e-05/0.6668, allocations: 82.33 kB / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6668, allocations: 0 / 1.093 GB, free: 1.031 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002277/0.6671, allocations: 27.55 kB / 1.093 GB, free: 1.027 MB / 0.8575 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.0003937/0.6675, allocations: 0.6402 MB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 7.736e-05/0.6675, allocations: 16.02 kB / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.6675, allocations: 0 / 1.093 GB, free: 16.41 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 1.661e-05/0.6676, allocations: 12.06 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001707/0.6677, allocations: 8.797 kB / 1.093 GB, free: 16.4 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/0.6681, allocations: 149.1 kB / 1.093 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.6683, allocations: 0.6783 MB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 2.553e-05/0.6683, allocations: 7.266 kB / 1.094 GB, free: 15.54 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.048e-05/0.6683, allocations: 10.05 kB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of SimCode: time 2.41e-07/0.6683, allocations: 0.8438 kB / 1.094 GB, free: 15.53 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01518/0.6835, allocations: 1.76 MB / 1.096 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.369/8.053, allocations: 8.984 kB / 1.096 GB, free: 15.15 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.sim & python3 -m fmpy simulate --output-file Buildings_9_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_9_Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_HeatExchangers_CoolingTowers_Correlations_Examples_YorkCalc.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.HeatExchangers.CoolingTowers.Correlations.Examples.YorkCalc.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches