Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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.001878/0.001878, allocations: 79.73 kB / 19.76 MB, free: 1.871 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.002316/0.002316, allocations: 160.9 kB / 23.01 MB, free: 4.602 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: 177.2 MB / 203.4 MB, free: 8.945 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.857/2.857, allocations: 359.1 MB / 0.6044 GB, free: 14.88 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|TWal.T|TPip1.T|TPip2.T|TPip3.T|TPip4.T|intRes2UTub.capFil1.T|intRes2UTub.capFil2.T|intRes2UTub.capFil3.T|intRes2UTub.capFil4.T",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube") [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.002686/0.002686, allocations: 71.88 kB / 0.9516 GB, free: 12.76 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4397/0.4424, allocations: 169.9 MB / 1.117 GB, free: 2.523 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005897/0.4483, allocations: 3.81 MB / 1.121 GB, free: 14.69 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003781/0.4521, allocations: 2.215 MB / 1.123 GB, free: 12.46 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0003107/0.4524, allocations: 15.94 kB / 1.123 GB, free: 12.45 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 0.001688/0.4541, allocations: 0.4936 MB / 1.124 GB, free: 11.95 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 0.0005885/0.4547, allocations: 257.9 kB / 1.124 GB, free: 11.7 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002745/0.4549, allocations: 139.8 kB / 1.124 GB, free: 11.56 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0009138/0.4558, allocations: 0.8112 MB / 1.125 GB, free: 10.75 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000391/0.4562, allocations: 215 kB / 1.125 GB, free: 10.54 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004454/0.4567, allocations: 306.9 kB / 1.126 GB, free: 10.23 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003902/0.4571, allocations: 282.6 kB / 1.126 GB, free: 9.957 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 9.009e-05/0.4572, allocations: 76 kB / 1.126 GB, free: 9.883 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001251/0.4573, allocations: 80 kB / 1.126 GB, free: 9.805 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 0.0001792/0.4575, allocations: 167.4 kB / 1.126 GB, free: 9.641 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 0.0003302/0.4578, allocations: 314.7 kB / 1.126 GB, free: 9.332 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.4588, allocations: 1.004 MB / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.859e-06/0.4588, allocations: 0 / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4588, allocations: 0 / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Performance of Transformations before backend: time 8.395e-06/0.4588, allocations: 0 / 1.127 GB, free: 8.324 MB / 1.076 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.0015/0.4603, allocations: 0.8938 MB / 1.128 GB, free: 7.398 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 3.598e-05/0.4604, allocations: 8.031 kB / 1.128 GB, free: 7.391 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001225/0.4605, allocations: 80.47 kB / 1.128 GB, free: 7.312 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007074/0.4612, allocations: 408.2 kB / 1.129 GB, free: 6.887 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.552e-05/0.4612, allocations: 37.38 kB / 1.129 GB, free: 6.852 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.468e-05/0.4613, allocations: 48.36 kB / 1.129 GB, free: 6.805 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007917/0.4621, allocations: 430.8 kB / 1.129 GB, free: 6.379 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.809e-05/0.4621, allocations: 0 / 1.129 GB, free: 6.379 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.858e-05/0.4622, allocations: 20 kB / 1.129 GB, free: 6.359 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.46e-05/0.4622, allocations: 12 kB / 1.129 GB, free: 6.348 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007248/0.4629, allocations: 371.7 kB / 1.13 GB, free: 5.984 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001938/0.4648, allocations: 1.168 MB / 1.131 GB, free: 4.785 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005448/0.4654, allocations: 300.2 kB / 1.131 GB, free: 4.48 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005465/0.4659, allocations: 292.7 kB / 1.131 GB, free: 4.191 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 2.443e-05/0.466, allocations: 4 kB / 1.131 GB, free: 4.188 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.196e-05/0.466, allocations: 38.5 kB / 1.131 GB, free: 4.141 MB / 1.076 GB Notification: Performance of pre-optimization done (n=42): time 1.613e-06/0.466, allocations: 0 / 1.131 GB, free: 4.141 MB / 1.076 GB Notification: Performance of matching and sorting (n=42): time 0.0009978/0.467, allocations: 0.4946 MB / 1.132 GB, free: 3.641 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.289e-05/0.467, allocations: 55.41 kB / 1.132 GB, free: 3.574 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005366/0.4676, allocations: 442 kB / 1.132 GB, free: 3.133 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 3.022e-05/0.4676, allocations: 29.7 kB / 1.132 GB, free: 3.098 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002151/0.4678, allocations: 284.5 kB / 1.133 GB, free: 2.816 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001377/0.4679, allocations: 150.7 kB / 1.133 GB, free: 2.668 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001009/0.468, allocations: 58.08 kB / 1.133 GB, free: 2.602 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0002264/0.4683, allocations: 354.8 kB / 1.133 GB, free: 2.246 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002663/0.4685, allocations: 128.7 kB / 1.133 GB, free: 2.121 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002532/0.4688, allocations: 133.1 kB / 1.133 GB, free: 1.992 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005423/0.4693, allocations: 290.2 kB / 1.134 GB, free: 1.707 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.776e-06/0.4693, allocations: 4 kB / 1.134 GB, free: 1.703 MB / 1.076 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.00074/0.4701, allocations: 392.5 kB / 1.134 GB, free: 1.312 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.4701, allocations: 7.938 kB / 1.134 GB, free: 1.305 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.4701, allocations: 4 kB / 1.134 GB, free: 1.301 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.839e-05/0.4701, allocations: 4.766 kB / 1.134 GB, free: 1.297 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005162/0.4706, allocations: 127.8 kB / 1.134 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.663e-06/0.4706, allocations: 0 / 1.134 GB, free: 1.172 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002053/0.4709, allocations: 27.83 kB / 1.134 GB, free: 1.145 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.302e-05/0.4709, allocations: 12 kB / 1.134 GB, free: 1.133 MB / 1.076 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 (46): * Single equations (assignments): 46 * 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.0002382/0.4711, allocations: 201.7 kB / 1.134 GB, free: 0.9258 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.217e-05/0.4712, allocations: 51.61 kB / 1.134 GB, free: 0.875 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001107/0.4713, allocations: 64.81 kB / 1.135 GB, free: 0.8086 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.352e-06/0.4713, allocations: 4 kB / 1.135 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.621e-06/0.4713, allocations: 0 / 1.135 GB, free: 0.8047 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.873e-06/0.4713, allocations: 3.984 kB / 1.135 GB, free: 0.8008 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005866/0.4719, allocations: 412.9 kB / 1.135 GB, free: 376 kB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.894e-06/0.4719, allocations: 0 / 1.135 GB, free: 376 kB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005326/0.4724, allocations: 131.8 kB / 1.135 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.4724, allocations: 0 / 1.135 GB, free: 244 kB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.733e-05/0.4725, allocations: 11.94 kB / 1.135 GB, free: 232 kB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4725, allocations: 4 kB / 1.135 GB, free: 228 kB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.864e-06/0.4725, allocations: 0 / 1.135 GB, free: 228 kB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.5859/1.058, allocations: 0.6464 MB / 1.136 GB, free: 58.31 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001211/1.059, allocations: 53.17 kB / 1.136 GB, free: 58.31 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.815e-05/1.059, allocations: 14.59 kB / 1.136 GB, free: 58.31 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002402/1.059, allocations: 12.41 kB / 1.136 GB, free: 58.31 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.915e-05/1.059, allocations: 24.56 kB / 1.136 GB, free: 58.31 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.02e-05/1.059, allocations: 10.78 kB / 1.136 GB, free: 58.31 MB / 1.076 GB Notification: Performance of sorting global known variables: time 0.0003282/1.059, allocations: 318.3 kB / 1.136 GB, free: 58.23 MB / 1.076 GB Notification: Performance of sort global known variables: time 8e-08/1.059, allocations: 0 / 1.136 GB, free: 58.23 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.00044/1.06, allocations: 155.2 kB / 1.136 GB, free: 58.22 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 4 (intRes2UTub.capFil1.T,intRes2UTub.capFil2.T,intRes2UTub.capFil3.T,intRes2UTub.capFil4.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 (42): * Single equations (assignments): 42 * 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.0001208/1.06, allocations: 117.8 kB / 1.136 GB, free: 58.13 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0005805/1.06, allocations: 311.1 kB / 1.137 GB, free: 58.13 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.355e-06/1.06, allocations: 0 / 1.137 GB, free: 58.13 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 0.0002405/1.061, allocations: 161.8 kB / 1.137 GB, free: 58.12 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005448/1.061, allocations: 99.33 kB / 1.137 GB, free: 58.12 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001646/1.063, allocations: 1.21 MB / 1.138 GB, free: 57.59 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000207/1.063, allocations: 278 kB / 1.138 GB, free: 57.49 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 0.0001632/1.063, allocations: 42.39 kB / 1.138 GB, free: 57.49 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.707e-05/1.063, allocations: 31.62 kB / 1.138 GB, free: 57.48 MB / 1.076 GB Notification: Performance of SimCode: time 7.51e-07/1.063, allocations: 0 / 1.138 GB, free: 57.48 MB / 1.076 GB Notification: Performance of Templates: time 0.009431/1.073, allocations: 4.989 MB / 1.143 GB, free: 56.93 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.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: 9.151981708942913]