Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001585/0.001585, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.00202/0.00202, allocations: 219 kB / 22.25 MB, free: 4.855 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.56/1.56, allocations: 230.6 MB / 256 MB, free: 7.797 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo): time 3.259/3.259, allocations: 0.4892 GB / 0.7943 GB, free: 35.59 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 12.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.1-maint.12.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,fileNamePrefix="Buildings_12_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_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Buildings requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002181/0.002181, allocations: 67.53 kB / 1.153 GB, free: 25.8 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3968/0.399, allocations: 176.1 MB / 1.325 GB, free: 2.316 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002823/0.4018, allocations: 1.379 MB / 1.326 GB, free: 0.9336 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.001927/0.4037, allocations: 1.044 MB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.4038, allocations: 0 / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.244e-05/0.4038, allocations: 4 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 4.694e-05/0.4038, allocations: 3.938 kB / 1.328 GB, free: 15.88 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006643/0.4045, allocations: 233.6 kB / 1.328 GB, free: 15.65 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 7.696e-05/0.4046, allocations: 31.86 kB / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.547e-05/0.4046, allocations: 0 / 1.328 GB, free: 15.62 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001205/0.4048, allocations: 23.92 kB / 1.328 GB, free: 15.59 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.38e-05/0.4048, allocations: 15.92 kB / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.052e-05/0.4048, allocations: 0 / 1.328 GB, free: 15.58 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006372/0.4055, allocations: 403.5 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.329e-05/0.4055, allocations: 3.984 kB / 1.328 GB, free: 15.18 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.813e-05/0.4055, allocations: 15.92 kB / 1.328 GB, free: 15.16 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003368/0.4059, allocations: 203.4 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.4059, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.983e-06/0.4059, allocations: 3.938 kB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.047e-05/0.4059, allocations: 0 / 1.328 GB, free: 14.96 MB / 1.029 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.0004834/0.4064, allocations: 329.6 kB / 1.329 GB, free: 14.61 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.4064, allocations: 8.031 kB / 1.329 GB, free: 14.6 MB / 1.029 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.097e-05/0.4064, allocations: 34.69 kB / 1.329 GB, free: 14.56 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.707e-05/0.4065, allocations: 8.891 kB / 1.329 GB, free: 14.55 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.4066, allocations: 106.5 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.374e-05/0.4066, allocations: 4.375 kB / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.188e-05/0.4066, allocations: 384 / 1.329 GB, free: 14.42 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001126/0.4067, allocations: 49.8 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.436e-06/0.4067, allocations: 0 / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.459e-06/0.4067, allocations: 4 kB / 1.329 GB, free: 14.36 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.425e-05/0.4068, allocations: 19.92 kB / 1.329 GB, free: 14.34 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001821/0.407, allocations: 128.7 kB / 1.329 GB, free: 14.17 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.4071, allocations: 38.64 kB / 1.329 GB, free: 14.12 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.401e-05/0.4071, allocations: 12.86 kB / 1.329 GB, free: 14.11 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005373/0.4076, allocations: 91.95 kB / 1.329 GB, free: 14.02 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.146e-05/0.4077, allocations: 46.5 kB / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.4077, allocations: 0 / 1.329 GB, free: 13.96 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.000174/0.4079, allocations: 57.62 kB / 1.329 GB, free: 13.9 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.303e-05/0.4079, allocations: 51.41 kB / 1.329 GB, free: 13.84 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.804e-05/0.408, allocations: 105.8 kB / 1.329 GB, free: 13.73 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.656e-05/0.408, allocations: 25.7 kB / 1.329 GB, free: 13.7 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.939e-05/0.4081, allocations: 84.14 kB / 1.33 GB, free: 13.61 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.348e-05/0.4081, allocations: 19.89 kB / 1.33 GB, free: 13.59 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.497e-05/0.4081, allocations: 17.72 kB / 1.33 GB, free: 13.57 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.4083, allocations: 310.8 kB / 1.33 GB, free: 13.25 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.478e-05/0.4083, allocations: 11.98 kB / 1.33 GB, free: 13.24 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.64e-05/0.4083, allocations: 7.938 kB / 1.33 GB, free: 13.23 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.907e-05/0.4084, allocations: 20.86 kB / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.663e-06/0.4084, allocations: 0 / 1.33 GB, free: 13.21 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 9.704e-05/0.4085, allocations: 61.52 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.474e-05/0.4085, allocations: 6.188 kB / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.348e-06/0.4085, allocations: 0 / 1.33 GB, free: 13.14 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.905e-05/0.4085, allocations: 8 kB / 1.33 GB, free: 13.13 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001117/0.4086, allocations: 11.98 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.814e-06/0.4086, allocations: 4 kB / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.342e-05/0.4087, allocations: 0 / 1.33 GB, free: 13.12 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.418e-06/0.4087, allocations: 320 / 1.33 GB, free: 13.12 MB / 1.029 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 0.0001013/0.4088, allocations: 116.1 kB / 1.33 GB, free: 13 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.153e-05/0.4088, allocations: 3.938 kB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001455/0.4089, allocations: 61.95 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.835e-06/0.4089, allocations: 4.031 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.4089, allocations: 3.984 kB / 1.33 GB, free: 12.91 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.4089, allocations: 8 kB / 1.33 GB, free: 12.9 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001258/0.4091, allocations: 124.7 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.4091, allocations: 4 kB / 1.33 GB, free: 12.73 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.52e-05/0.4091, allocations: 15.92 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.482e-06/0.4091, allocations: 4 kB / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.885e-06/0.4092, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.4092, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.4092, allocations: 0 / 1.33 GB, free: 12.71 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001169/0.4093, allocations: 81.02 kB / 1.33 GB, free: 12.61 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 1.323e-05/0.4093, allocations: 11.88 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.4093, allocations: 3.984 kB / 1.33 GB, free: 12.6 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.427e-05/0.4093, allocations: 8 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.976e-05/0.4093, allocations: 4 kB / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.835e-06/0.4094, allocations: 0 / 1.33 GB, free: 12.59 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.373e-05/0.4094, allocations: 87.25 kB / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4094, allocations: 0 / 1.331 GB, free: 12.5 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002437/0.4096, allocations: 43.88 kB / 1.331 GB, free: 12.46 MB / 1.029 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.0005781/0.4102, allocations: 0.6785 MB / 1.331 GB, free: 11.75 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001101/0.4103, allocations: 19.94 kB / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.4103, allocations: 0 / 1.331 GB, free: 11.73 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.627e-05/0.4104, allocations: 15.98 kB / 1.331 GB, free: 11.71 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000265/0.4106, allocations: 19.92 kB / 1.331 GB, free: 11.7 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.4112, allocations: 198.2 kB / 1.331 GB, free: 11.46 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.336e-05/0.4112, allocations: 63.34 kB / 1.332 GB, free: 11.38 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 3.478e-05/0.4113, allocations: 7.984 kB / 1.332 GB, free: 11.37 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.487e-05/0.4113, allocations: 19.44 kB / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of SimCode: time 2.9e-07/0.4113, allocations: 0 / 1.332 GB, free: 11.35 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03016/0.4415, allocations: 2.769 MB / 1.334 GB, free: 8.77 MB / 1.029 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.21/11.65, allocations: 15.94 kB / 1.334 GB, free: 8.754 MB / 1.029 GB " [Timeout remaining time 288] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 400 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_12_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 420.0] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 18.808822805061936]