Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.000858/0.000858, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008625/0.0008625, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.9062/0.9062, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 1.737/1.737, allocations: 389 MB / 0.633 GB, free: 12.7 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.214e-06/2.214e-06, allocations: 0 / 0.9998 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.403e-05/2.624e-05, allocations: 4.953 kB / 0.9998 GB, free: 13.42 MB / 0.9636 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.001844/0.00187, allocations: 1.368 MB / 1.001 GB, free: 12.04 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.001382/0.003252, allocations: 1.044 MB / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.625e-05/0.003288, allocations: 0 / 1.002 GB, free: 10.99 MB / 0.9636 GB Notification: Performance of NFTyping.typeComponents: time 2.26e-05/0.003311, allocations: 4 kB / 1.002 GB, free: 10.98 MB / 0.9636 GB Notification: Performance of NFTyping.typeBindings: time 5.804e-05/0.003369, allocations: 11.86 kB / 1.002 GB, free: 10.97 MB / 0.9636 GB Notification: Performance of NFTyping.typeClassSections: time 0.000546/0.003915, allocations: 225.1 kB / 1.002 GB, free: 10.75 MB / 0.9636 GB Notification: Performance of NFFlatten.flatten: time 7.307e-05/0.003988, allocations: 27.86 kB / 1.002 GB, free: 10.73 MB / 0.9636 GB Notification: Performance of NFFlatten.resolveConnections: time 5.138e-05/0.004039, allocations: 11.94 kB / 1.002 GB, free: 10.71 MB / 0.9636 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001522/0.004191, allocations: 27.89 kB / 1.002 GB, free: 10.69 MB / 0.9636 GB Notification: Performance of NFSimplifyModel.simplify: time 6.555e-05/0.004257, allocations: 4 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFPackage.collectConstants: time 1.585e-05/0.004273, allocations: 4 kB / 1.002 GB, free: 10.68 MB / 0.9636 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004167/0.00469, allocations: 403.4 kB / 1.003 GB, free: 10.29 MB / 0.9636 GB Notification: Performance of NFScalarize.scalarize: time 1.557e-05/0.004705, allocations: 11.92 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.004728, allocations: 7.984 kB / 1.003 GB, free: 10.27 MB / 0.9636 GB Notification: Performance of NFConvertDAE.convert: time 0.0002803/0.005009, allocations: 247.3 kB / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd - DAE generated: time 2.335e-06/0.005011, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of FrontEnd: time 8.52e-07/0.005012, allocations: 0 / 1.003 GB, free: 10.02 MB / 0.9636 GB Notification: Performance of Transformations before backend: time 5.831e-06/0.005018, allocations: 8 kB / 1.003 GB, free: 10.02 MB / 0.9636 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.0004556/0.005473, allocations: 309.7 kB / 1.003 GB, free: 9.684 MB / 0.9636 GB Notification: Performance of prepare preOptimizeDAE: time 5.234e-05/0.005526, allocations: 8.031 kB / 1.003 GB, free: 9.676 MB / 0.9636 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.654e-05/0.005562, allocations: 38.69 kB / 1.003 GB, free: 9.629 MB / 0.9636 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.379e-05/0.005586, allocations: 8.891 kB / 1.003 GB, free: 9.621 MB / 0.9636 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.093e-05/0.005677, allocations: 109.8 kB / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.241e-05/0.005689, allocations: 384 / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.154e-06/0.005697, allocations: 384 / 1.004 GB, free: 9.488 MB / 0.9636 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001119/0.005808, allocations: 42.25 kB / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.005817, allocations: 192 / 1.004 GB, free: 9.441 MB / 0.9636 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.087e-05/0.005828, allocations: 8.125 kB / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.005834, allocations: 0 / 1.004 GB, free: 9.434 MB / 0.9636 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.764e-05/0.005881, allocations: 8 kB / 1.004 GB, free: 9.426 MB / 0.9636 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001457/0.006027, allocations: 144.7 kB / 1.004 GB, free: 9.242 MB / 0.9636 GB Notification: Performance of preOpt comSubExp (simulation): time 8.902e-05/0.006116, allocations: 42.5 kB / 1.004 GB, free: 9.191 MB / 0.9636 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.679e-05/0.006143, allocations: 8.891 kB / 1.004 GB, free: 9.18 MB / 0.9636 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003804/0.006523, allocations: 99.95 kB / 1.004 GB, free: 9.082 MB / 0.9636 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.157e-05/0.006545, allocations: 34.56 kB / 1.004 GB, free: 9.039 MB / 0.9636 GB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.006546, allocations: 3.938 kB / 1.004 GB, free: 9.035 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4): time 0.000177/0.006723, allocations: 69.55 kB / 1.004 GB, free: 8.961 MB / 0.9636 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.317e-05/0.006756, allocations: 51.41 kB / 1.004 GB, free: 8.898 MB / 0.9636 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.226e-05/0.006818, allocations: 106.1 kB / 1.004 GB, free: 8.785 MB / 0.9636 GB Notification: Performance of collectPreVariables (initialization): time 1.139e-05/0.00683, allocations: 25.7 kB / 1.004 GB, free: 8.754 MB / 0.9636 GB Notification: Performance of collectInitialEqns (initialization): time 3.31e-05/0.006863, allocations: 88.14 kB / 1.004 GB, free: 8.664 MB / 0.9636 GB Notification: Performance of collectInitialBindings (initialization): time 3.491e-05/0.006898, allocations: 11.91 kB / 1.004 GB, free: 8.652 MB / 0.9636 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.653e-05/0.006924, allocations: 13.72 kB / 1.004 GB, free: 8.633 MB / 0.9636 GB Notification: Performance of setup shared object (initialization): time 8.672e-05/0.007011, allocations: 318.8 kB / 1.005 GB, free: 8.312 MB / 0.9636 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.687e-05/0.007028, allocations: 4 kB / 1.005 GB, free: 8.309 MB / 0.9636 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.463e-05/0.007043, allocations: 8 kB / 1.005 GB, free: 8.301 MB / 0.9636 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.098e-05/0.007084, allocations: 28.84 kB / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.007086, allocations: 0 / 1.005 GB, free: 8.27 MB / 0.9636 GB Notification: Performance of matching and sorting (n=4) (initialization): time 6.604e-05/0.007152, allocations: 49.64 kB / 1.005 GB, free: 8.215 MB / 0.9636 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.007168, allocations: 11.92 kB / 1.005 GB, free: 8.203 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.112e-06/0.007175, allocations: 4 kB / 1.005 GB, free: 8.199 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/0.007189, allocations: 7.938 kB / 1.005 GB, free: 8.191 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.078e-05/0.00728, allocations: 12 kB / 1.005 GB, free: 8.18 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.164e-06/0.007287, allocations: 4.062 kB / 1.005 GB, free: 8.176 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.559e-05/0.007302, allocations: 3.953 kB / 1.005 GB, free: 8.172 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.29e-06/0.007308, allocations: 0 / 1.005 GB, free: 8.172 MB / 0.9636 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.245e-05/0.00737, allocations: 113.8 kB / 1.005 GB, free: 8.051 MB / 0.9636 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.1e-06/0.007375, allocations: 3.984 kB / 1.005 GB, free: 8.047 MB / 0.9636 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001052/0.007481, allocations: 57.69 kB / 1.005 GB, free: 7.977 MB / 0.9636 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.717e-06/0.007484, allocations: 7.875 kB / 1.005 GB, free: 7.969 MB / 0.9636 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.00749, allocations: 8 kB / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.347e-06/0.007494, allocations: 0 / 1.005 GB, free: 7.961 MB / 0.9636 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.012e-05/0.007574, allocations: 128.8 kB / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.007575, allocations: 0 / 1.005 GB, free: 7.793 MB / 0.9636 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.632e-05/0.007611, allocations: 15.98 kB / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.007613, allocations: 0 / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.125e-06/0.007621, allocations: 0 / 1.005 GB, free: 7.777 MB / 0.9636 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.607e-06/0.007624, allocations: 3.938 kB / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/0.007626, allocations: 0 / 1.005 GB, free: 7.773 MB / 0.9636 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.013e-05/0.007696, allocations: 81.08 kB / 1.005 GB, free: 7.676 MB / 0.9636 GB Notification: Performance of postOpt removeConstants (simulation): time 8.125e-06/0.007704, allocations: 3.938 kB / 1.005 GB, free: 7.672 MB / 0.9636 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.126e-05/0.007715, allocations: 7.938 kB / 1.005 GB, free: 7.664 MB / 0.9636 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.327e-06/0.007725, allocations: 3.938 kB / 1.005 GB, free: 7.66 MB / 0.9636 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.74e-05/0.007742, allocations: 7.984 kB / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.214e-06/0.007744, allocations: 0 / 1.005 GB, free: 7.652 MB / 0.9636 GB Notification: Performance of sorting global known variables: time 3.158e-05/0.007776, allocations: 91.22 kB / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of sort global known variables: time 5e-08/0.007776, allocations: 0 / 1.005 GB, free: 7.562 MB / 0.9636 GB Notification: Performance of remove unused functions: time 0.0001594/0.007935, allocations: 39.86 kB / 1.005 GB, free: 7.523 MB / 0.9636 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.0003783/0.008313, allocations: 0.6712 MB / 1.006 GB, free: 6.824 MB / 0.9636 GB Notification: Performance of simCode: created initialization part: time 9.296e-05/0.008406, allocations: 31.95 kB / 1.006 GB, free: 6.793 MB / 0.9636 GB Notification: Performance of simCode: created event and clocks part: time 4.348e-06/0.008411, allocations: 8 kB / 1.006 GB, free: 6.785 MB / 0.9636 GB Notification: Performance of simCode: created simulation system equations: time 1.132e-05/0.008422, allocations: 4 kB / 1.006 GB, free: 6.781 MB / 0.9636 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001885/0.008611, allocations: 15.94 kB / 1.006 GB, free: 6.766 MB / 0.9636 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003804/0.008991, allocations: 184.3 kB / 1.006 GB, free: 6.547 MB / 0.9636 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.003e-05/0.009041, allocations: 63.34 kB / 1.006 GB, free: 6.465 MB / 0.9636 GB Notification: Performance of simCode: alias equations: time 3.106e-05/0.009072, allocations: 14.58 kB / 1.006 GB, free: 6.453 MB / 0.9636 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.009107, allocations: 16.5 kB / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of SimCode: time 4.51e-07/0.009108, allocations: 0 / 1.006 GB, free: 6.438 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01702/0.02613, allocations: 2.936 MB / 1.009 GB, free: 3.73 MB / 0.9636 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.652/6.678, allocations: 8.547 kB / 1.009 GB, free: 3.723 MB / 0.9636 GB " [Timeout remaining time 293] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.sim & python3 -m fmpy simulate --output-file Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv --start-time 0 --stop-time 10000 --timeout 800 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 4 Buildings_latest_Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.fmu > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 840.0] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.csv","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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: 10.88387219980359]