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.007965/0.007965, allocations: 94.86 kB / 15.73 MB, free: 6.039 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.001603/0.001603, allocations: 192.1 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.382/1.382, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.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.473/2.473, allocations: 390.2 MB / 0.6648 GB, free: 244 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.002087/0.002088, allocations: 68.22 kB / 0.9505 GB, free: 5.902 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3009/0.303, allocations: 140.4 MB / 1.088 GB, free: 1.961 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002648/0.3057, allocations: 1.366 MB / 1.089 GB, free: 0.5859 MB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.001727/0.3075, allocations: 1.077 MB / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.3075, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.257e-05/0.3076, allocations: 0 / 1.09 GB, free: 15.5 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 5.535e-05/0.3076, allocations: 15.86 kB / 1.09 GB, free: 15.48 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0008351/0.3085, allocations: 213.9 kB / 1.09 GB, free: 15.28 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 7.534e-05/0.3086, allocations: 27.86 kB / 1.09 GB, free: 15.25 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.208e-05/0.3086, allocations: 11.94 kB / 1.09 GB, free: 15.24 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.286e-05/0.3087, allocations: 15.92 kB / 1.09 GB, free: 15.22 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 6.219e-05/0.3088, allocations: 11.94 kB / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.067e-05/0.3088, allocations: 0 / 1.09 GB, free: 15.21 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006282/0.3094, allocations: 427.5 kB / 1.091 GB, free: 14.79 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.67e-05/0.3095, allocations: 11.92 kB / 1.091 GB, free: 14.78 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.436e-05/0.3095, allocations: 19.92 kB / 1.091 GB, free: 14.76 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0003763/0.3099, allocations: 187.7 kB / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.048e-06/0.3099, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.864e-06/0.3099, allocations: 0 / 1.091 GB, free: 14.58 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.3099, allocations: 0 / 1.091 GB, free: 14.58 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.0004575/0.3104, allocations: 386.8 kB / 1.091 GB, free: 14.15 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.284e-05/0.3104, allocations: 12.03 kB / 1.091 GB, free: 14.14 MB / 0.8575 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.935e-05/0.3105, allocations: 38.69 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.778e-05/0.3105, allocations: 4.891 kB / 1.091 GB, free: 14.09 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001217/0.3106, allocations: 180.3 kB / 1.091 GB, free: 13.88 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.059e-05/0.3106, allocations: 4.312 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.307e-06/0.3107, allocations: 4.375 kB / 1.091 GB, free: 13.87 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001009/0.3108, allocations: 41.81 kB / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.3108, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.346e-06/0.3108, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.749e-06/0.3108, allocations: 0 / 1.091 GB, free: 13.82 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.707e-05/0.3109, allocations: 12 kB / 1.091 GB, free: 13.81 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001668/0.311, allocations: 165.7 kB / 1.092 GB, free: 13.6 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.979e-05/0.3111, allocations: 46.45 kB / 1.092 GB, free: 13.54 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.691e-05/0.3112, allocations: 20.92 kB / 1.092 GB, free: 13.52 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008924/0.3121, allocations: 0.9856 MB / 1.093 GB, free: 12.31 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.3121, allocations: 34.5 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=4): time 1.233e-06/0.3121, allocations: 4 kB / 1.093 GB, free: 12.27 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4): time 0.0001679/0.3123, allocations: 57.77 kB / 1.093 GB, free: 12.2 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.069e-05/0.3123, allocations: 51.41 kB / 1.093 GB, free: 12.14 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.337e-05/0.3124, allocations: 113.8 kB / 1.093 GB, free: 12.02 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.3124, allocations: 29.7 kB / 1.093 GB, free: 11.98 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.369e-05/0.3125, allocations: 84.14 kB / 1.093 GB, free: 11.9 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.621e-05/0.3125, allocations: 7.906 kB / 1.093 GB, free: 11.89 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.282e-05/0.3125, allocations: 21.7 kB / 1.093 GB, free: 11.86 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 9.482e-05/0.3126, allocations: 314.8 kB / 1.093 GB, free: 11.55 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.329e-05/0.3127, allocations: 8 kB / 1.093 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.824e-05/0.3127, allocations: 11.97 kB / 1.093 GB, free: 11.53 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.41e-05/0.3127, allocations: 16.86 kB / 1.093 GB, free: 11.51 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.3128, allocations: 4 kB / 1.093 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.488e-05/0.3128, allocations: 57.56 kB / 1.093 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.505e-05/0.3129, allocations: 8 kB / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.608e-06/0.3129, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.3129, allocations: 0 / 1.093 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.313, allocations: 12 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.099e-06/0.313, allocations: 0 / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.621e-05/0.313, allocations: 4 kB / 1.093 GB, free: 11.42 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.3131, allocations: 0 / 1.093 GB, free: 11.42 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 (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 6.944e-05/0.3131, allocations: 117.8 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.248e-05/0.3131, allocations: 7.891 kB / 1.094 GB, free: 11.29 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001271/0.3133, allocations: 61.53 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.164e-06/0.3133, allocations: 4 kB / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.178e-06/0.3133, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.3133, allocations: 0 / 1.094 GB, free: 11.21 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001134/0.3134, allocations: 165.6 kB / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.422e-06/0.3134, allocations: 0 / 1.094 GB, free: 11 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.604e-05/0.3135, allocations: 15.94 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.3135, allocations: 3.938 kB / 1.094 GB, free: 10.98 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.735e-06/0.3135, allocations: 11.94 kB / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.092e-06/0.3135, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.3136, allocations: 0 / 1.094 GB, free: 10.96 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.948e-05/0.3137, allocations: 77.06 kB / 1.094 GB, free: 10.87 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 3.515e-05/0.3137, allocations: 85.05 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.3137, allocations: 0 / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.567e-05/0.3137, allocations: 4 kB / 1.094 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.619e-05/0.3138, allocations: 7.938 kB / 1.094 GB, free: 10.76 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.729e-06/0.3138, allocations: 8 kB / 1.094 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 3.769e-05/0.3138, allocations: 83.27 kB / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3138, allocations: 0 / 1.094 GB, free: 10.67 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0002379/0.3141, allocations: 39.88 kB / 1.094 GB, free: 10.63 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 (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.0005066/0.3146, allocations: 0.6669 MB / 1.095 GB, free: 9.934 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001226/0.3147, allocations: 36.2 kB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 3.286e-06/0.3147, allocations: 0 / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.181e-05/0.3148, allocations: 8.094 kB / 1.095 GB, free: 9.891 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002967/0.3151, allocations: 12.08 kB / 1.095 GB, free: 9.879 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006033/0.3157, allocations: 194.8 kB / 1.095 GB, free: 9.652 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003576/0.316, allocations: 0.6807 MB / 1.096 GB, free: 8.945 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 4.775e-05/0.3161, allocations: 4 kB / 1.096 GB, free: 8.941 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.25e-05/0.3162, allocations: 19.42 kB / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of SimCode: time 6.41e-07/0.3162, allocations: 0 / 1.096 GB, free: 8.922 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02142/0.3376, allocations: 2.188 MB / 1.098 GB, free: 6.945 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.717/8.054, allocations: 9.438 kB / 1.098 GB, free: 6.941 MB / 0.8575 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