Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.001882/0.001882, allocations: 110.2 kB / 19.69 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.002489/0.002489, allocations: 213.2 kB / 23.01 MB, free: 4.566 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.57/1.57, allocations: 230.6 MB / 256.8 MB, free: 8 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.219/3.219, allocations: 0.49 GB / 0.7958 GB, free: 33.46 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.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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.002028/0.002028, allocations: 76.75 kB / 1.155 GB, free: 25.47 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4228/0.4249, allocations: 176.1 MB / 1.327 GB, free: 1.434 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005457/0.4303, allocations: 3.103 MB / 1.33 GB, free: 14.32 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003862/0.4342, allocations: 2.199 MB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002701/0.4344, allocations: 4 kB / 1.332 GB, free: 12.11 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001695/0.4361, allocations: 0.522 MB / 1.333 GB, free: 11.58 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003167/0.4365, allocations: 146.8 kB / 1.333 GB, free: 11.44 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001622/0.4366, allocations: 63.94 kB / 1.333 GB, free: 11.38 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005778/0.4372, allocations: 439.7 kB / 1.333 GB, free: 10.95 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002515/0.4374, allocations: 103.9 kB / 1.334 GB, free: 10.84 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003382/0.4378, allocations: 175.2 kB / 1.334 GB, free: 10.67 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00028/0.4381, allocations: 179.2 kB / 1.334 GB, free: 10.49 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.007e-05/0.4381, allocations: 32 kB / 1.334 GB, free: 10.46 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 6.442e-05/0.4382, allocations: 36 kB / 1.334 GB, free: 10.43 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001392/0.4383, allocations: 99.61 kB / 1.334 GB, free: 10.33 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0002319/0.4386, allocations: 214.9 kB / 1.334 GB, free: 10.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006792/0.4392, allocations: 0.5447 MB / 1.335 GB, free: 9.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 9.138e-06/0.4392, allocations: 4 kB / 1.335 GB, free: 9.566 MB / 1.029 GB Notification: Performance of FrontEnd: time 4.698e-06/0.4392, allocations: 3.984 kB / 1.335 GB, free: 9.562 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.059e-05/0.4393, allocations: 0 / 1.335 GB, free: 9.562 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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001197/0.4405, allocations: 0.629 MB / 1.335 GB, free: 8.902 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 5.049e-05/0.4405, allocations: 16.03 kB / 1.335 GB, free: 8.887 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001047/0.4406, allocations: 52.55 kB / 1.336 GB, free: 8.836 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006291/0.4412, allocations: 312.6 kB / 1.336 GB, free: 8.504 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.162e-05/0.4413, allocations: 16.81 kB / 1.336 GB, free: 8.488 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.665e-05/0.4413, allocations: 20.38 kB / 1.336 GB, free: 8.469 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004457/0.4418, allocations: 207.6 kB / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.672e-05/0.4418, allocations: 0 / 1.336 GB, free: 8.262 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.128e-05/0.4418, allocations: 8 kB / 1.336 GB, free: 8.254 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.069e-05/0.4418, allocations: 8 kB / 1.336 GB, free: 8.246 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003929/0.4422, allocations: 165.6 kB / 1.336 GB, free: 8.082 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001343/0.4435, allocations: 0.8239 MB / 1.337 GB, free: 7.191 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000331/0.4439, allocations: 158.3 kB / 1.337 GB, free: 7.027 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002171/0.4441, allocations: 96.81 kB / 1.337 GB, free: 6.93 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 1.425e-05/0.4441, allocations: 4 kB / 1.337 GB, free: 6.926 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.429e-05/0.4441, allocations: 30.56 kB / 1.337 GB, free: 6.887 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 1.322e-06/0.4441, allocations: 4 kB / 1.337 GB, free: 6.883 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006734/0.4448, allocations: 263 kB / 1.338 GB, free: 6.621 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.806e-05/0.4449, allocations: 55.41 kB / 1.338 GB, free: 6.555 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000575/0.4454, allocations: 413.7 kB / 1.338 GB, free: 6.141 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.188e-05/0.4455, allocations: 29.7 kB / 1.338 GB, free: 6.105 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002006/0.4457, allocations: 200.5 kB / 1.338 GB, free: 5.906 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.691e-05/0.4458, allocations: 67.42 kB / 1.338 GB, free: 5.84 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.115e-05/0.4458, allocations: 37.72 kB / 1.338 GB, free: 5.797 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002184/0.446, allocations: 350.7 kB / 1.339 GB, free: 5.445 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001511/0.4462, allocations: 55.97 kB / 1.339 GB, free: 5.391 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001436/0.4463, allocations: 59.97 kB / 1.339 GB, free: 5.332 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003291/0.4467, allocations: 135.7 kB / 1.339 GB, free: 5.199 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.4467, allocations: 8 kB / 1.339 GB, free: 5.191 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004109/0.4471, allocations: 201.4 kB / 1.339 GB, free: 4.988 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.63e-05/0.4471, allocations: 8 kB / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.786e-06/0.4471, allocations: 0 / 1.339 GB, free: 4.98 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.258e-05/0.4471, allocations: 3.938 kB / 1.339 GB, free: 4.977 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002923/0.4474, allocations: 59.89 kB / 1.339 GB, free: 4.918 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.291e-05/0.4474, allocations: 4 kB / 1.339 GB, free: 4.914 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001365/0.4476, allocations: 15.89 kB / 1.339 GB, free: 4.898 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.506e-05/0.4476, allocations: 8 kB / 1.339 GB, free: 4.891 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 (20): * Single equations (assignments): 20 * 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.0002239/0.4478, allocations: 166.3 kB / 1.339 GB, free: 4.719 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.657e-05/0.4479, allocations: 35.77 kB / 1.339 GB, free: 4.684 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001036/0.448, allocations: 47.45 kB / 1.339 GB, free: 4.633 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.25e-06/0.448, allocations: 4 kB / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.448, allocations: 0 / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.003e-06/0.448, allocations: 0 / 1.339 GB, free: 4.629 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005154/0.4485, allocations: 344.4 kB / 1.34 GB, free: 4.25 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4485, allocations: 4 kB / 1.34 GB, free: 4.246 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002576/0.4488, allocations: 55.95 kB / 1.34 GB, free: 4.191 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.395e-06/0.4488, allocations: 3.938 kB / 1.34 GB, free: 4.188 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.358e-05/0.4488, allocations: 7.938 kB / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.4488, allocations: 0 / 1.34 GB, free: 4.18 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.127e-06/0.4488, allocations: 4 kB / 1.34 GB, free: 4.176 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006892/0.4495, allocations: 378.2 kB / 1.34 GB, free: 3.793 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.063e-05/0.4496, allocations: 43.72 kB / 1.34 GB, free: 3.75 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.662e-05/0.4496, allocations: 11.94 kB / 1.34 GB, free: 3.738 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001489/0.4498, allocations: 7.984 kB / 1.34 GB, free: 3.73 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.514e-05/0.4498, allocations: 19.91 kB / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.182e-06/0.4498, allocations: 0 / 1.34 GB, free: 3.711 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.0003581/0.4502, allocations: 303.2 kB / 1.341 GB, free: 3.418 MB / 1.029 GB Notification: Performance of sort global known variables: time 7e-08/0.4502, allocations: 0 / 1.341 GB, free: 3.418 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003141/0.4505, allocations: 71.89 kB / 1.341 GB, free: 3.348 MB / 1.029 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * 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 (18): * Single equations (assignments): 18 * 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.0001855/0.4507, allocations: 107.3 kB / 1.341 GB, free: 3.234 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003816/0.4511, allocations: 135.9 kB / 1.341 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/0.4511, allocations: 0 / 1.341 GB, free: 3.102 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.4512, allocations: 73.31 kB / 1.341 GB, free: 3.031 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005863/0.4518, allocations: 110.4 kB / 1.341 GB, free: 2.93 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001527/0.4534, allocations: 0.7927 MB / 1.342 GB, free: 2.105 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005804/0.4539, allocations: 0.799 MB / 1.343 GB, free: 1.277 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.055e-05/0.454, allocations: 23.44 kB / 1.343 GB, free: 1.254 MB / 1.029 GB Notification: Performance of SimCode: time 4.11e-07/0.454, allocations: 0 / 1.343 GB, free: 1.254 MB / 1.029 GB Notification: Performance of Templates: time 0.00808/0.4621, allocations: 4.4 MB / 1.347 GB, free: 12.89 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.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: 12.591997570998501]