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.InternalResistancesOneUTube.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.001557/0.001557, allocations: 104.3 kB / 19.7 MB, free: 2.156 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.001804/0.001804, allocations: 211.6 kB / 22.99 MB, free: 4.984 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.614/1.614, allocations: 230.6 MB / 256.8 MB, free: 7.793 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.53/3.53, 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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [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.002107/0.002107, allocations: 78.09 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4821/0.4842, allocations: 176.1 MB / 1.327 GB, free: 0.957 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003242/0.4875, allocations: 1.429 MB / 1.329 GB, free: 15.52 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.005121/0.4926, allocations: 2.647 MB / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.935e-05/0.4927, allocations: 0 / 1.331 GB, free: 12.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.517e-05/0.4927, allocations: 7.938 kB / 1.331 GB, free: 12.85 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 8.088e-05/0.4928, allocations: 15.84 kB / 1.331 GB, free: 12.84 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004783/0.4975, allocations: 1.633 MB / 1.333 GB, free: 11.22 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.000134/0.4977, allocations: 43.73 kB / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.816e-05/0.4977, allocations: 0 / 1.333 GB, free: 11.18 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.148e-05/0.4978, allocations: 15.92 kB / 1.333 GB, free: 11.16 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.747e-05/0.4978, allocations: 15.88 kB / 1.333 GB, free: 11.15 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.4978, allocations: 4 kB / 1.333 GB, free: 11.14 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002628/0.5004, allocations: 1.552 MB / 1.334 GB, free: 9.59 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/0.5005, allocations: 8 kB / 1.334 GB, free: 9.582 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.533e-05/0.5005, allocations: 15.88 kB / 1.334 GB, free: 9.566 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001635/0.5021, allocations: 1.076 MB / 1.335 GB, free: 8.488 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.622e-06/0.5021, allocations: 4 kB / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of FrontEnd: time 2.595e-06/0.5021, allocations: 0 / 1.335 GB, free: 8.484 MB / 1.029 GB Notification: Performance of Transformations before backend: time 8.075e-06/0.5021, allocations: 0 / 1.335 GB, free: 8.484 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000759/0.5029, allocations: 472 kB / 1.336 GB, free: 7.992 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.7e-05/0.503, allocations: 8.031 kB / 1.336 GB, free: 7.984 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.242e-05/0.503, allocations: 88.16 kB / 1.336 GB, free: 7.898 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.5032, allocations: 185.8 kB / 1.336 GB, free: 7.691 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.845e-05/0.5033, allocations: 150.9 kB / 1.336 GB, free: 7.543 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.228e-05/0.5034, allocations: 162.9 kB / 1.336 GB, free: 7.383 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.842e-05/0.5034, allocations: 105.1 kB / 1.337 GB, free: 7.273 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.225e-05/0.5035, allocations: 75.28 kB / 1.337 GB, free: 7.199 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.593e-05/0.5035, allocations: 154.6 kB / 1.337 GB, free: 7.047 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-05/0.5036, allocations: 154.5 kB / 1.337 GB, free: 6.895 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.382e-05/0.5037, allocations: 154.6 kB / 1.337 GB, free: 6.742 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003286/0.504, allocations: 421.4 kB / 1.337 GB, free: 6.301 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.5041, allocations: 169.1 kB / 1.338 GB, free: 6.125 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.001e-05/0.5042, allocations: 80.14 kB / 1.338 GB, free: 6.043 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 4.966e-05/0.5042, allocations: 79.28 kB / 1.338 GB, free: 5.965 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.307e-05/0.5043, allocations: 109.8 kB / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.5043, allocations: 0 / 1.338 GB, free: 5.848 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.25e-05/0.5044, allocations: 41.53 kB / 1.338 GB, free: 5.801 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.147e-05/0.5045, allocations: 130.7 kB / 1.338 GB, free: 5.66 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.5046, allocations: 127.9 kB / 1.338 GB, free: 5.527 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/0.5047, allocations: 25.7 kB / 1.338 GB, free: 5.496 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 8.016e-05/0.5048, allocations: 96.12 kB / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 3.337e-06/0.5048, allocations: 0 / 1.338 GB, free: 5.398 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.5048, allocations: 13.72 kB / 1.338 GB, free: 5.379 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001677/0.505, allocations: 322.9 kB / 1.339 GB, free: 5.055 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.505e-05/0.505, allocations: 4 kB / 1.339 GB, free: 5.051 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.815e-05/0.505, allocations: 8 kB / 1.339 GB, free: 5.043 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.843e-05/0.5051, allocations: 16.86 kB / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.853e-06/0.5051, allocations: 0 / 1.339 GB, free: 5.023 MB / 1.029 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000142/0.5052, allocations: 53.58 kB / 1.339 GB, free: 4.965 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.082e-05/0.5052, allocations: 7.938 kB / 1.339 GB, free: 4.957 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.233e-05/0.5052, allocations: 4 kB / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.5053, allocations: 0 / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.5053, allocations: 0 / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.661e-06/0.5053, allocations: 0 / 1.339 GB, free: 4.953 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.5053, allocations: 4 kB / 1.339 GB, free: 4.949 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.5053, allocations: 0 / 1.339 GB, free: 4.949 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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.0001402/0.5054, allocations: 185.2 kB / 1.339 GB, free: 4.758 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.283e-05/0.5055, allocations: 116.9 kB / 1.339 GB, free: 4.637 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.91e-05/0.5056, allocations: 116.7 kB / 1.339 GB, free: 4.508 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001022/0.5057, allocations: 180.3 kB / 1.339 GB, free: 4.324 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001015/0.5058, allocations: 184.2 kB / 1.339 GB, free: 4.137 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.714e-05/0.5059, allocations: 176.3 kB / 1.34 GB, free: 3.957 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002772/0.5062, allocations: 368.8 kB / 1.34 GB, free: 3.559 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.114e-05/0.5062, allocations: 104.9 kB / 1.34 GB, free: 3.449 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.29e-05/0.5063, allocations: 104.9 kB / 1.34 GB, free: 3.34 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001018/0.5064, allocations: 188.2 kB / 1.34 GB, free: 3.148 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.301e-05/0.5065, allocations: 184.2 kB / 1.341 GB, free: 2.961 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.111e-05/0.5066, allocations: 180.2 kB / 1.341 GB, free: 2.777 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.000104/0.5067, allocations: 184.2 kB / 1.341 GB, free: 2.59 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002089/0.5069, allocations: 307.7 kB / 1.341 GB, free: 2.266 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 6.891e-05/0.507, allocations: 105 kB / 1.341 GB, free: 2.156 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001224/0.5071, allocations: 188.2 kB / 1.341 GB, free: 1.965 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001008/0.5072, allocations: 112.9 kB / 1.342 GB, free: 1.848 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.708e-05/0.5073, allocations: 176.3 kB / 1.342 GB, free: 1.668 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.082e-05/0.5073, allocations: 108.9 kB / 1.342 GB, free: 1.555 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.016e-05/0.5074, allocations: 100.8 kB / 1.342 GB, free: 1.457 MB / 1.029 GB Notification: Performance of sort global known variables: time 9e-08/0.5074, allocations: 4 kB / 1.342 GB, free: 1.453 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008914/0.5083, allocations: 287 kB / 1.342 GB, free: 1.172 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 (0): * Single equations (assignments): 0 * 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.001259/0.5096, allocations: 0.5407 MB / 1.343 GB, free: 0.6211 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001209/0.5097, allocations: 33.7 kB / 1.343 GB, free: 0.582 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 5.21e-06/0.5097, allocations: 4 kB / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 1.803e-06/0.5097, allocations: 0 / 1.343 GB, free: 0.5781 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004969/0.5102, allocations: 459.8 kB / 1.343 GB, free: 128 kB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004351/0.5106, allocations: 245.1 kB / 1.343 GB, free: 15.85 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.554e-05/0.5107, allocations: 67.34 kB / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.449e-05/0.5107, allocations: 0 / 1.343 GB, free: 15.77 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.805e-05/0.5107, allocations: 7.438 kB / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of SimCode: time 3.11e-07/0.5107, allocations: 0 / 1.343 GB, free: 15.76 MB / 1.045 GB Notification: Performance of Templates: time 0.01168/0.5224, allocations: 5.776 MB / 1.349 GB, free: 10.04 MB / 1.045 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.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.61309221200645]