Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.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.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",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.009068/0.009068, allocations: 103.4 kB / 15.74 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.001904/0.001904, allocations: 198.4 kB / 16.68 MB, free: 5.93 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.46/1.46, allocations: 222.9 MB / 240.4 MB, free: 15.07 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.396/2.396, allocations: 390.3 MB / 0.6648 GB, free: 0.5547 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.002324/0.002324, allocations: 63.91 kB / 0.9505 GB, free: 8.02 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.022/1.025, allocations: 140.4 MB / 1.088 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002289/1.027, allocations: 1.354 MB / 1.089 GB, free: 4.285 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.001544/1.029, allocations: 1.083 MB / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.897e-05/1.029, allocations: 0 / 1.09 GB, free: 3.535 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.514e-05/1.029, allocations: 8.766 kB / 1.09 GB, free: 3.527 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 4.821e-05/1.029, allocations: 9.859 kB / 1.09 GB, free: 3.52 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007178/1.029, allocations: 214.7 kB / 1.09 GB, free: 3.438 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.346e-05/1.03, allocations: 34.95 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.713e-05/1.03, allocations: 2.922 kB / 1.09 GB, free: 3.422 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 6.455e-05/1.03, allocations: 16.19 kB / 1.09 GB, free: 3.414 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.552e-05/1.03, allocations: 12.38 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 9.558e-06/1.03, allocations: 1.812 kB / 1.09 GB, free: 3.41 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006715/1.03, allocations: 425.6 kB / 1.091 GB, free: 3.305 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.415e-05/1.03, allocations: 9.438 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 2.515e-05/1.03, allocations: 9.391 kB / 1.091 GB, free: 3.293 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003394/1.031, allocations: 206.8 kB / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/1.031, allocations: 0 / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.212e-06/1.031, allocations: 0 / 1.091 GB, free: 3.227 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.34e-06/1.031, allocations: 0.9062 kB / 1.091 GB, free: 3.227 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0003855/1.031, allocations: 383.6 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.564e-05/1.031, allocations: 9.438 kB / 1.091 GB, free: 2.836 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.054e-05/1.031, allocations: 32.41 kB / 1.091 GB, free: 2.797 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.775e-05/1.031, allocations: 11.06 kB / 1.091 GB, free: 2.789 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.826e-05/1.031, allocations: 168 kB / 1.091 GB, free: 2.59 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.258e-05/1.031, allocations: 9.188 kB / 1.091 GB, free: 2.582 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.227e-06/1.031, allocations: 6.531 kB / 1.091 GB, free: 2.578 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.553e-05/1.032, allocations: 39.2 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/1.032, allocations: 0 / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.636e-06/1.032, allocations: 0.7031 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.208e-06/1.032, allocations: 1.125 kB / 1.091 GB, free: 2.543 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.914e-05/1.032, allocations: 17.88 kB / 1.091 GB, free: 2.535 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001321/1.032, allocations: 165.8 kB / 1.092 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.597e-05/1.032, allocations: 48.94 kB / 1.092 GB, free: 2.297 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.281e-05/1.032, allocations: 12.69 kB / 1.092 GB, free: 2.289 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006887/1.033, allocations: 0.9882 MB / 1.093 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.883e-05/1.033, allocations: 37.05 kB / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.152e-06/1.033, allocations: 0 / 1.093 GB, free: 1.113 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001649/1.033, allocations: 60.3 kB / 1.093 GB, free: 1.07 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.161e-05/1.033, allocations: 53.11 kB / 1.093 GB, free: 1.008 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.574e-05/1.033, allocations: 105 kB / 1.093 GB, free: 0.9062 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.255e-06/1.033, allocations: 26.39 kB / 1.093 GB, free: 0.875 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 2.097e-05/1.033, allocations: 86.06 kB / 1.093 GB, free: 0.7891 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/1.033, allocations: 14.55 kB / 1.093 GB, free: 0.7773 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.065e-05/1.033, allocations: 14.39 kB / 1.093 GB, free: 0.7617 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.339e-05/1.033, allocations: 317.8 kB / 1.093 GB, free: 456 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.134e-05/1.033, allocations: 4.641 kB / 1.093 GB, free: 456 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.843e-05/1.033, allocations: 13.62 kB / 1.093 GB, free: 448 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.632e-05/1.033, allocations: 24.08 kB / 1.093 GB, free: 432 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/1.033, allocations: 0 / 1.093 GB, free: 432 kB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001042/1.033, allocations: 60.58 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/1.033, allocations: 5.406 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.119e-06/1.033, allocations: 0.7969 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.257e-05/1.033, allocations: 0.7812 kB / 1.093 GB, free: 16.38 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001168/1.033, allocations: 17.69 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/1.033, allocations: 0.7188 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.497e-05/1.033, allocations: 1.453 kB / 1.093 GB, free: 16.37 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.723e-06/1.034, allocations: 1.125 kB / 1.093 GB, free: 16.37 MB / 0.8731 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 (4): * Single equations (assignments): 4 * 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.122e-05/1.034, allocations: 116.6 kB / 1.094 GB, free: 16.25 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.199e-05/1.034, allocations: 13.81 kB / 1.094 GB, free: 16.24 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001298/1.034, allocations: 62.27 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/1.034, allocations: 0.9375 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/1.034, allocations: 0 / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.546e-06/1.034, allocations: 0.7031 kB / 1.094 GB, free: 16.19 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.921e-05/1.034, allocations: 158.3 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.704e-06/1.034, allocations: 0.75 kB / 1.094 GB, free: 16 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.485e-05/1.034, allocations: 21.52 kB / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/1.034, allocations: 1.766 kB / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.644e-06/1.034, allocations: 1.188 kB / 1.094 GB, free: 15.99 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/1.034, allocations: 4 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.452e-06/1.034, allocations: 0.75 kB / 1.094 GB, free: 15.98 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.919e-05/1.034, allocations: 78.33 kB / 1.094 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 3.48e-05/1.034, allocations: 90.69 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.289e-05/1.034, allocations: 1 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.327e-05/1.034, allocations: 1.922 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.312e-05/1.034, allocations: 1.672 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.727e-06/1.034, allocations: 1.656 kB / 1.094 GB, free: 15.8 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 4.09e-05/1.034, allocations: 90.56 kB / 1.094 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of sort global known variables: time 3.3e-07/1.034, allocations: 0.9688 kB / 1.094 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0002424/1.034, allocations: 34.69 kB / 1.094 GB, free: 15.72 MB / 0.8731 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 (4): * Single equations (assignments): 4 * 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.0004587/1.035, allocations: 0.6669 MB / 1.095 GB, free: 15.1 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 9.969e-05/1.035, allocations: 23.88 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/1.035, allocations: 1.062 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 2.388e-05/1.035, allocations: 16.64 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/1.035, allocations: 7.656 kB / 1.095 GB, free: 15.09 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004439/1.036, allocations: 191.9 kB / 1.095 GB, free: 14.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002256/1.036, allocations: 0.6876 MB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 3.338e-05/1.036, allocations: 3.75 kB / 1.096 GB, free: 14.22 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.58e-05/1.036, allocations: 18.03 kB / 1.096 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.21e-07/1.036, allocations: 0.9688 kB / 1.096 GB, free: 14.2 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02039/1.056, allocations: 2.195 MB / 1.098 GB, free: 13.81 MB / 0.8731 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.738/8.794, allocations: 5.969 kB / 1.098 GB, free: 13.81 MB / 0.8731 GB (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_9_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches