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.001628/0.001628, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.001799/0.001799, allocations: 217.4 kB / 23.01 MB, free: 4.609 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.549/1.549, allocations: 230.6 MB / 256.8 MB, free: 8.051 MB / 206.1 MB " [Timeout remaining time 178] 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 3.349/3.349, allocations: 0.505 GB / 0.8108 GB, free: 22.04 MB / 0.6231 GB " [Timeout remaining time 176] Using package Buildings with version 13.0.0 (/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: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|RConv|Nu",fileNamePrefix="Buildings_latest_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_latest_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.002081/0.002081, allocations: 67.94 kB / 1.178 GB, free: 16.9 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4855/0.4876, allocations: 180.2 MB / 1.354 GB, free: 7.91 MB / 1.045 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe): time 0.003361/0.491, allocations: 1.39 MB / 1.356 GB, free: 6.512 MB / 1.045 GB Notification: Performance of NFInst.instExpressions: time 0.002309/0.4933, allocations: 1.157 MB / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.075e-05/0.4933, allocations: 0 / 1.357 GB, free: 5.348 MB / 1.045 GB Notification: Performance of NFTyping.typeComponents: time 2.59e-05/0.4933, allocations: 3.938 kB / 1.357 GB, free: 5.344 MB / 1.045 GB Notification: Performance of NFTyping.typeBindings: time 6.111e-05/0.4934, allocations: 7.922 kB / 1.357 GB, free: 5.336 MB / 1.045 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007703/0.4942, allocations: 230.1 kB / 1.357 GB, free: 5.113 MB / 1.045 GB Notification: Performance of NFFlatten.flatten: time 0.00011/0.4943, allocations: 35.8 kB / 1.357 GB, free: 5.078 MB / 1.045 GB Notification: Performance of NFFlatten.resolveConnections: time 5.394e-05/0.4943, allocations: 4 kB / 1.357 GB, free: 5.074 MB / 1.045 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001438/0.4945, allocations: 19.92 kB / 1.357 GB, free: 5.055 MB / 1.045 GB Notification: Performance of NFSimplifyModel.simplify: time 7.28e-05/0.4946, allocations: 15.94 kB / 1.357 GB, free: 5.039 MB / 1.045 GB Notification: Performance of NFPackage.collectConstants: time 1.265e-05/0.4946, allocations: 4 kB / 1.357 GB, free: 5.035 MB / 1.045 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007105/0.4953, allocations: 443.5 kB / 1.357 GB, free: 4.602 MB / 1.045 GB Notification: Performance of NFScalarize.scalarize: time 1.56e-05/0.4953, allocations: 7.938 kB / 1.357 GB, free: 4.594 MB / 1.045 GB Notification: Performance of NFVerifyModel.verify: time 3.304e-05/0.4953, allocations: 7.938 kB / 1.357 GB, free: 4.586 MB / 1.045 GB Notification: Performance of NFConvertDAE.convert: time 0.0003647/0.4957, allocations: 207.4 kB / 1.358 GB, free: 4.383 MB / 1.045 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.4957, allocations: 0 / 1.358 GB, free: 4.383 MB / 1.045 GB Notification: Performance of FrontEnd: time 2.324e-06/0.4957, allocations: 0 / 1.358 GB, free: 4.383 MB / 1.045 GB Notification: Performance of Transformations before backend: time 6.612e-06/0.4957, allocations: 0 / 1.358 GB, free: 4.383 MB / 1.045 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.0006052/0.4963, allocations: 316.2 kB / 1.358 GB, free: 4.047 MB / 1.045 GB Notification: Performance of prepare preOptimizeDAE: time 5.488e-05/0.4964, allocations: 15.97 kB / 1.358 GB, free: 4.031 MB / 1.045 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/0.4964, allocations: 8.875 kB / 1.358 GB, free: 4.023 MB / 1.045 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001877/0.4966, allocations: 126.4 kB / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.465e-05/0.4966, allocations: 384 / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.051e-05/0.4966, allocations: 384 / 1.358 GB, free: 3.875 MB / 1.045 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001467/0.4968, allocations: 46 kB / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.4968, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.055e-05/0.4968, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/0.4968, allocations: 0 / 1.358 GB, free: 3.824 MB / 1.045 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.951e-05/0.4968, allocations: 8 kB / 1.358 GB, free: 3.816 MB / 1.045 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002148/0.4971, allocations: 136.7 kB / 1.358 GB, free: 3.641 MB / 1.045 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001099/0.4972, allocations: 46.55 kB / 1.358 GB, free: 3.586 MB / 1.045 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.211e-05/0.4972, allocations: 8.891 kB / 1.358 GB, free: 3.574 MB / 1.045 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000573/0.4978, allocations: 95.95 kB / 1.358 GB, free: 3.48 MB / 1.045 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.62e-05/0.4978, allocations: 34.5 kB / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.4978, allocations: 0 / 1.358 GB, free: 3.438 MB / 1.045 GB Notification: Performance of matching and sorting (n=4): time 0.0001974/0.498, allocations: 53.69 kB / 1.358 GB, free: 3.379 MB / 1.045 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.58e-05/0.4981, allocations: 59.34 kB / 1.359 GB, free: 3.309 MB / 1.045 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.605e-05/0.4982, allocations: 109.8 kB / 1.359 GB, free: 3.191 MB / 1.045 GB Notification: Performance of collectPreVariables (initialization): time 3.005e-05/0.4982, allocations: 29.7 kB / 1.359 GB, free: 3.156 MB / 1.045 GB Notification: Performance of collectInitialEqns (initialization): time 5.539e-05/0.4983, allocations: 80.14 kB / 1.359 GB, free: 3.074 MB / 1.045 GB Notification: Performance of collectInitialBindings (initialization): time 3.918e-05/0.4983, allocations: 15.89 kB / 1.359 GB, free: 3.059 MB / 1.045 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.356e-05/0.4983, allocations: 13.72 kB / 1.359 GB, free: 3.039 MB / 1.045 GB Notification: Performance of setup shared object (initialization): time 0.0001776/0.4985, allocations: 318.8 kB / 1.359 GB, free: 2.719 MB / 1.045 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.333e-05/0.4985, allocations: 4 kB / 1.359 GB, free: 2.715 MB / 1.045 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.859e-05/0.4985, allocations: 7.984 kB / 1.359 GB, free: 2.707 MB / 1.045 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.56e-05/0.4986, allocations: 28.86 kB / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.4986, allocations: 0 / 1.359 GB, free: 2.676 MB / 1.045 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001034/0.4987, allocations: 57.58 kB / 1.359 GB, free: 2.613 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4987, allocations: 11.94 kB / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.963e-06/0.4987, allocations: 0 / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.895e-05/0.4988, allocations: 0 / 1.359 GB, free: 2.602 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.4989, allocations: 16.31 kB / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.102e-06/0.4989, allocations: 0 / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.22e-05/0.4989, allocations: 0 / 1.359 GB, free: 2.586 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.499e-06/0.4989, allocations: 0 / 1.359 GB, free: 2.586 MB / 1.045 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.0001066/0.499, allocations: 121.7 kB / 1.359 GB, free: 2.457 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.06e-05/0.499, allocations: 3.938 kB / 1.359 GB, free: 2.453 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001464/0.4992, allocations: 65.67 kB / 1.359 GB, free: 2.379 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.4992, allocations: 7.938 kB / 1.359 GB, free: 2.371 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.813e-06/0.4992, allocations: 3.984 kB / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4992, allocations: 0 / 1.359 GB, free: 2.367 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001443/0.4993, allocations: 140.6 kB / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.21e-07/0.4993, allocations: 0 / 1.359 GB, free: 2.188 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.525e-05/0.4994, allocations: 12 kB / 1.36 GB, free: 2.176 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4994, allocations: 11.92 kB / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-06/0.4994, allocations: 0 / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.4994, allocations: 0 / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.283e-06/0.4994, allocations: 0 / 1.36 GB, free: 2.164 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000119/0.4996, allocations: 73.16 kB / 1.36 GB, free: 2.074 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 1.724e-05/0.4996, allocations: 15.83 kB / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.363e-05/0.4996, allocations: 0 / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.266e-05/0.4996, allocations: 0 / 1.36 GB, free: 2.059 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.664e-05/0.4996, allocations: 8 kB / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.955e-06/0.4996, allocations: 0 / 1.36 GB, free: 2.051 MB / 1.045 GB Notification: Performance of sorting global known variables: time 6.526e-05/0.4997, allocations: 91.2 kB / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of sort global known variables: time 7e-08/0.4997, allocations: 0 / 1.36 GB, free: 1.961 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0002375/0.4999, allocations: 43.86 kB / 1.36 GB, free: 1.918 MB / 1.045 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.00029/0.5002, allocations: 159 kB / 1.36 GB, free: 1.754 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0001095/0.5003, allocations: 12 kB / 1.36 GB, free: 1.742 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.916e-06/0.5003, allocations: 0 / 1.36 GB, free: 1.742 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 3.189e-05/0.5004, allocations: 19.98 kB / 1.36 GB, free: 1.723 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003099/0.5007, allocations: 15.53 kB / 1.36 GB, free: 1.711 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004104/0.5011, allocations: 186.3 kB / 1.36 GB, free: 1.496 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003824/0.5015, allocations: 0.6768 MB / 1.361 GB, free: 0.793 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.5015, allocations: 11.44 kB / 1.361 GB, free: 0.7852 MB / 1.045 GB Notification: Performance of SimCode: time 3.4e-07/0.5015, allocations: 4 kB / 1.361 GB, free: 0.7812 MB / 1.045 GB Notification: Performance of Templates: time 0.003223/0.5047, allocations: 1.116 MB / 1.362 GB, free: 15.67 MB / 1.061 GB " [Timeout remaining time 299] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.makefile [Timeout 300] (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 & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe -abortSlowSimulation -alarm=800 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe.pipe 2>&1) [Timeout 800] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.ConvectionResistanceCircularPipe_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_ConvectionResistanceCircularPipe.csv","/var/lib/jenkins1/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: 12.266592202009633]