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.001628/0.001628, allocations: 100.8 kB / 19.74 MB, free: 2.07 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.002174/0.002174, allocations: 214 kB / 23.04 MB, free: 4.863 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.486/1.486, allocations: 230.6 MB / 256.8 MB, free: 7.77 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.214/3.214, allocations: 0.49 GB / 0.7959 GB, free: 35.43 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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe") [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.002091/0.002091, allocations: 68.42 kB / 1.155 GB, free: 25.23 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4605/0.4626, allocations: 176.1 MB / 1.327 GB, free: 0.9141 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.002825/0.4655, allocations: 1.371 MB / 1.329 GB, free: 15.54 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.002006/0.4675, allocations: 1.04 MB / 1.33 GB, free: 14.49 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.763e-05/0.4675, allocations: 4 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.806e-05/0.4675, allocations: 3.938 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 5.269e-05/0.4676, allocations: 3.938 kB / 1.33 GB, free: 14.48 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006926/0.4683, allocations: 231.2 kB / 1.33 GB, free: 14.25 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 8.405e-05/0.4684, allocations: 35.73 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 5.491e-05/0.4684, allocations: 4 kB / 1.33 GB, free: 14.21 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001286/0.4685, allocations: 19.97 kB / 1.33 GB, free: 14.19 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 6.274e-05/0.4686, allocations: 11.92 kB / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.132e-05/0.4686, allocations: 0 / 1.33 GB, free: 14.18 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0006603/0.4693, allocations: 407.5 kB / 1.33 GB, free: 13.78 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 2.023e-05/0.4693, allocations: 11.92 kB / 1.33 GB, free: 13.77 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 2.582e-05/0.4693, allocations: 7.938 kB / 1.33 GB, free: 13.76 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0003506/0.4697, allocations: 207.4 kB / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.4697, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.174e-06/0.4697, allocations: 0 / 1.33 GB, free: 13.56 MB / 1.029 GB Notification: Performance of Transformations before backend: time 6.903e-06/0.4697, allocations: 0 / 1.33 GB, free: 13.56 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.0005191/0.4702, allocations: 311.4 kB / 1.331 GB, free: 13.23 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.847e-05/0.4703, allocations: 16.02 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.534e-05/0.4703, allocations: 4.891 kB / 1.331 GB, free: 13.21 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001314/0.4704, allocations: 118.5 kB / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.531e-05/0.4704, allocations: 384 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.344e-05/0.4705, allocations: 384 / 1.331 GB, free: 13.07 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001252/0.4706, allocations: 49.94 kB / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.4706, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.909e-06/0.4706, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.787e-06/0.4706, allocations: 0 / 1.331 GB, free: 13.01 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.151e-05/0.4707, allocations: 8 kB / 1.331 GB, free: 13 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001741/0.4708, allocations: 117.2 kB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001162/0.4709, allocations: 46.55 kB / 1.331 GB, free: 12.8 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.173e-05/0.471, allocations: 8.891 kB / 1.331 GB, free: 12.79 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005291/0.4715, allocations: 107.9 kB / 1.331 GB, free: 12.69 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.109e-05/0.4715, allocations: 30.56 kB / 1.331 GB, free: 12.65 MB / 1.029 GB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.4715, allocations: 4 kB / 1.331 GB, free: 12.64 MB / 1.029 GB Notification: Performance of matching and sorting (n=4): time 0.0001939/0.4717, allocations: 61.61 kB / 1.331 GB, free: 12.58 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.387e-05/0.4718, allocations: 51.41 kB / 1.331 GB, free: 12.52 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.643e-05/0.4719, allocations: 109.8 kB / 1.331 GB, free: 12.4 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 1.997e-05/0.4719, allocations: 25.7 kB / 1.332 GB, free: 12.37 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.49e-05/0.4719, allocations: 88.14 kB / 1.332 GB, free: 12.28 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 2.72e-05/0.472, allocations: 7.906 kB / 1.332 GB, free: 12.27 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.002e-05/0.472, allocations: 21.7 kB / 1.332 GB, free: 12.24 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.4722, allocations: 314.8 kB / 1.332 GB, free: 11.93 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.4722, allocations: 4 kB / 1.332 GB, free: 11.92 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.473e-05/0.4722, allocations: 8 kB / 1.332 GB, free: 11.91 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.608e-05/0.4722, allocations: 24.84 kB / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.104e-06/0.4722, allocations: 0 / 1.332 GB, free: 11.89 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 8.061e-05/0.4723, allocations: 49.66 kB / 1.332 GB, free: 11.83 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.4723, allocations: 7.984 kB / 1.332 GB, free: 11.82 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/0.4724, allocations: 11.88 kB / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.4724, allocations: 0 / 1.332 GB, free: 11.81 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001206/0.4725, allocations: 16 kB / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.38e-06/0.4725, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.056e-05/0.4725, allocations: 0 / 1.332 GB, free: 11.8 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.559e-06/0.4725, allocations: 0 / 1.332 GB, free: 11.8 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 9.649e-05/0.4726, allocations: 118.4 kB / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.185e-06/0.4726, allocations: 0 / 1.332 GB, free: 11.67 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001469/0.4728, allocations: 61.62 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/0.4728, allocations: 4 kB / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.099e-06/0.4728, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.455e-06/0.4728, allocations: 0 / 1.332 GB, free: 11.59 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001118/0.4729, allocations: 113.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.032e-06/0.4729, allocations: 0 / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.907e-05/0.473, allocations: 12 kB / 1.332 GB, free: 11.44 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.47e-06/0.473, allocations: 3.984 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.199e-05/0.473, allocations: 8 kB / 1.332 GB, free: 11.43 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.473, allocations: 11.88 kB / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.473, allocations: 0 / 1.332 GB, free: 11.41 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001146/0.4731, allocations: 81.05 kB / 1.332 GB, free: 11.32 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.926e-06/0.4731, allocations: 3.938 kB / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.396e-05/0.4731, allocations: 0 / 1.332 GB, free: 11.31 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.54e-05/0.4731, allocations: 7.938 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.291e-05/0.4732, allocations: 4 kB / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.4732, allocations: 0 / 1.332 GB, free: 11.3 MB / 1.029 GB Notification: Performance of sorting global known variables: time 5.37e-05/0.4732, allocations: 83.27 kB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.4732, allocations: 4 kB / 1.333 GB, free: 11.21 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0002372/0.4735, allocations: 47.8 kB / 1.333 GB, free: 11.17 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.0002676/0.4737, allocations: 159 kB / 1.333 GB, free: 11 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.000106/0.4738, allocations: 20.41 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 3.777e-06/0.4738, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.807e-05/0.4739, allocations: 4 kB / 1.333 GB, free: 10.98 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.4741, allocations: 8.188 kB / 1.333 GB, free: 10.97 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000379/0.4745, allocations: 194.3 kB / 1.333 GB, free: 10.75 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.264e-05/0.4746, allocations: 67.25 kB / 1.333 GB, free: 10.66 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.171e-05/0.4746, allocations: 11.44 kB / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of SimCode: time 3e-07/0.4746, allocations: 0 / 1.333 GB, free: 10.65 MB / 1.029 GB Notification: Performance of Templates: time 0.003228/0.4778, allocations: 1.141 MB / 1.334 GB, free: 9.52 MB / 1.029 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (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 & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/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: 11.821535178925842]