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.001489/0.001489, allocations: 99.64 kB / 18.95 MB, free: 2.668 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.001565/0.001565, allocations: 210.5 kB / 22.24 MB, free: 5.262 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.573/1.573, allocations: 230.6 MB / 256 MB, free: 7.777 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.471/3.471, allocations: 0.4892 GB / 0.7943 GB, free: 35.62 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.002162/0.002162, allocations: 66.5 kB / 1.154 GB, free: 25.5 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4272/0.4294, allocations: 176.1 MB / 1.326 GB, free: 1.832 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube): time 0.005191/0.4346, allocations: 2.86 MB / 1.328 GB, free: 14.96 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.00339/0.438, allocations: 1.962 MB / 1.33 GB, free: 12.99 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002176/0.4382, allocations: 11.94 kB / 1.33 GB, free: 12.98 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001666/0.4399, allocations: 477.8 kB / 1.331 GB, free: 12.51 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0003498/0.4402, allocations: 142.9 kB / 1.331 GB, free: 12.37 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001448/0.4403, allocations: 59.95 kB / 1.331 GB, free: 12.31 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0005511/0.4409, allocations: 438 kB / 1.331 GB, free: 11.88 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002566/0.4412, allocations: 99.84 kB / 1.331 GB, free: 11.78 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0003207/0.4415, allocations: 175.2 kB / 1.332 GB, free: 11.61 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002515/0.4417, allocations: 155.2 kB / 1.332 GB, free: 11.45 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 5.467e-05/0.4418, allocations: 32 kB / 1.332 GB, free: 11.42 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 7.26e-05/0.4419, allocations: 36 kB / 1.332 GB, free: 11.39 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001449/0.442, allocations: 99.61 kB / 1.332 GB, free: 11.29 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0001909/0.4422, allocations: 171.2 kB / 1.332 GB, free: 11.12 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.0006523/0.4428, allocations: 0.5486 MB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4428, allocations: 0 / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.853e-06/0.4429, allocations: 4 kB / 1.333 GB, free: 10.57 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.989e-06/0.4429, allocations: 4 kB / 1.333 GB, free: 10.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: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.001184/0.444, allocations: 0.6251 MB / 1.333 GB, free: 9.906 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.327e-05/0.4441, allocations: 12.03 kB / 1.333 GB, free: 9.895 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.914e-05/0.4442, allocations: 48.61 kB / 1.333 GB, free: 9.848 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006224/0.4448, allocations: 328.5 kB / 1.334 GB, free: 9.504 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.685e-05/0.4448, allocations: 12.81 kB / 1.334 GB, free: 9.492 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.124e-05/0.4449, allocations: 20.38 kB / 1.334 GB, free: 9.473 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004602/0.4453, allocations: 203.6 kB / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.221e-05/0.4454, allocations: 0 / 1.334 GB, free: 9.27 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.413e-05/0.4454, allocations: 11.98 kB / 1.334 GB, free: 9.258 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.296e-06/0.4454, allocations: 4 kB / 1.334 GB, free: 9.254 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004007/0.4458, allocations: 169.6 kB / 1.334 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001228/0.447, allocations: 0.6399 MB / 1.335 GB, free: 8.41 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003517/0.4474, allocations: 138.6 kB / 1.335 GB, free: 8.266 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002266/0.4476, allocations: 104.3 kB / 1.335 GB, free: 8.164 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.611e-05/0.4476, allocations: 8 kB / 1.335 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.634e-05/0.4477, allocations: 30.56 kB / 1.335 GB, free: 8.117 MB / 1.029 GB Notification: Performance of pre-optimization done (n=18): time 3.477e-06/0.4477, allocations: 3.984 kB / 1.335 GB, free: 8.113 MB / 1.029 GB Notification: Performance of matching and sorting (n=18): time 0.0006689/0.4483, allocations: 255 kB / 1.335 GB, free: 7.859 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.443e-05/0.4484, allocations: 59.33 kB / 1.335 GB, free: 7.789 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005861/0.449, allocations: 393.7 kB / 1.336 GB, free: 7.391 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 2.712e-05/0.449, allocations: 25.7 kB / 1.336 GB, free: 7.359 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.000212/0.4492, allocations: 208.4 kB / 1.336 GB, free: 7.152 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 8.549e-05/0.4493, allocations: 67.44 kB / 1.336 GB, free: 7.086 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.723e-05/0.4494, allocations: 37.7 kB / 1.336 GB, free: 7.043 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0002042/0.4496, allocations: 346.8 kB / 1.336 GB, free: 6.695 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001522/0.4497, allocations: 55.91 kB / 1.336 GB, free: 6.641 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001413/0.4499, allocations: 57 kB / 1.336 GB, free: 6.586 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003099/0.4502, allocations: 138.7 kB / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.4502, allocations: 0 / 1.336 GB, free: 6.449 MB / 1.029 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0004214/0.4506, allocations: 207 kB / 1.337 GB, free: 6.242 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/0.4506, allocations: 4 kB / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.4506, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.803e-05/0.4506, allocations: 0 / 1.337 GB, free: 6.238 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002653/0.4509, allocations: 59.84 kB / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.654e-06/0.4509, allocations: 0 / 1.337 GB, free: 6.18 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001355/0.4511, allocations: 15.94 kB / 1.337 GB, free: 6.164 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-06/0.4511, allocations: 4 kB / 1.337 GB, free: 6.16 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.000188/0.4512, allocations: 166.4 kB / 1.337 GB, free: 5.988 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.25e-05/0.4513, allocations: 39.69 kB / 1.337 GB, free: 5.949 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.589e-05/0.4514, allocations: 39.41 kB / 1.337 GB, free: 5.906 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.804e-06/0.4514, allocations: 7.938 kB / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.4514, allocations: 0 / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.4514, allocations: 0 / 1.337 GB, free: 5.898 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000377/0.4518, allocations: 273.1 kB / 1.337 GB, free: 5.602 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.283e-06/0.4518, allocations: 3.938 kB / 1.337 GB, free: 5.598 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002527/0.452, allocations: 47.97 kB / 1.337 GB, free: 5.551 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.661e-06/0.452, allocations: 4 kB / 1.337 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.992e-05/0.4521, allocations: 12 kB / 1.337 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.4521, allocations: 0 / 1.337 GB, free: 5.535 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.799e-06/0.4521, allocations: 7.922 kB / 1.337 GB, free: 5.527 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000673/0.4527, allocations: 380.8 kB / 1.338 GB, free: 5.141 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 8.31e-05/0.4528, allocations: 43.72 kB / 1.338 GB, free: 5.098 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.945e-05/0.4529, allocations: 4 kB / 1.338 GB, free: 5.094 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.453, allocations: 11.94 kB / 1.338 GB, free: 5.082 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.505e-05/0.4531, allocations: 19.97 kB / 1.338 GB, free: 5.062 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.077e-06/0.4531, allocations: 4 kB / 1.338 GB, free: 5.059 MB / 1.029 GB Notification: Performance of sorting global known variables: time 0.000389/0.4535, allocations: 291.2 kB / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of sort global known variables: time 1.01e-07/0.4535, allocations: 0 / 1.338 GB, free: 4.777 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0003162/0.4538, allocations: 71.89 kB / 1.338 GB, free: 4.707 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.0001583/0.454, allocations: 99.25 kB / 1.338 GB, free: 4.602 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0003794/0.4543, allocations: 137.9 kB / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.4543, allocations: 0 / 1.338 GB, free: 4.469 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 0.0001794/0.4545, allocations: 79.91 kB / 1.338 GB, free: 4.391 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005639/0.4551, allocations: 77.38 kB / 1.339 GB, free: 4.316 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00147/0.4566, allocations: 0.7741 MB / 1.339 GB, free: 3.52 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000259/0.4568, allocations: 190.2 kB / 1.339 GB, free: 3.312 MB / 1.029 GB Notification: Performance of simCode: alias equations: time 0.0001176/0.4569, allocations: 30.97 kB / 1.339 GB, free: 3.281 MB / 1.029 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.78e-05/0.457, allocations: 27.44 kB / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of SimCode: time 3.01e-07/0.457, allocations: 0 / 1.34 GB, free: 3.254 MB / 1.029 GB Notification: Performance of Templates: time 0.009783/0.4668, allocations: 4.164 MB / 1.344 GB, free: 15.22 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/jenkins/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: 9.750710755586624]