Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.001683/0.001683, 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.002121/0.002121, allocations: 211.8 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.576/1.576, allocations: 230.6 MB / 256.8 MB, free: 7.773 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.448/3.448, allocations: 0.49 GB / 0.7959 GB, free: 35.52 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.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_12_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_12_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.0021/0.0021, allocations: 64.56 kB / 1.155 GB, free: 25.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4157/0.4178, allocations: 176.1 MB / 1.327 GB, free: 0.9531 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.00698/0.4247, allocations: 3.814 MB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.004388/0.4291, allocations: 2.23 MB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004847/0.4296, allocations: 8 kB / 1.333 GB, free: 10.88 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.002019/0.4316, allocations: 0.5101 MB / 1.334 GB, free: 10.36 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0007465/0.4324, allocations: 254 kB / 1.334 GB, free: 10.11 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002849/0.4327, allocations: 131.9 kB / 1.334 GB, free: 9.984 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0009636/0.4336, allocations: 0.8109 MB / 1.335 GB, free: 9.168 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004347/0.4341, allocations: 231 kB / 1.335 GB, free: 8.938 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005344/0.4346, allocations: 306.9 kB / 1.335 GB, free: 8.637 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0004325/0.435, allocations: 334.6 kB / 1.336 GB, free: 8.309 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 9.38e-05/0.4351, allocations: 72 kB / 1.336 GB, free: 8.238 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001248/0.4352, allocations: 80 kB / 1.336 GB, free: 8.16 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001912/0.4354, allocations: 167.4 kB / 1.336 GB, free: 7.996 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003371/0.4358, allocations: 314.7 kB / 1.336 GB, free: 7.688 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001101/0.4369, allocations: 0.9924 MB / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.919e-06/0.4369, allocations: 0 / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.553e-06/0.4369, allocations: 0 / 1.337 GB, free: 6.691 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.257e-05/0.4369, allocations: 0 / 1.337 GB, free: 6.691 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: 122 * Number of variables: 122 Notification: Performance of Generate backend data structure: time 0.001664/0.4386, allocations: 0.8938 MB / 1.338 GB, free: 5.766 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 4.584e-05/0.4386, allocations: 8.031 kB / 1.338 GB, free: 5.758 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001306/0.4387, allocations: 84.45 kB / 1.338 GB, free: 5.676 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007407/0.4395, allocations: 408.1 kB / 1.338 GB, free: 5.25 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.518e-05/0.4395, allocations: 33.38 kB / 1.338 GB, free: 5.219 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.526e-05/0.4396, allocations: 52.31 kB / 1.339 GB, free: 5.168 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008373/0.4404, allocations: 426.8 kB / 1.339 GB, free: 4.746 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.263e-05/0.4405, allocations: 3.938 kB / 1.339 GB, free: 4.742 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.406e-05/0.4405, allocations: 20 kB / 1.339 GB, free: 4.723 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.91e-05/0.4405, allocations: 12 kB / 1.339 GB, free: 4.711 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007778/0.4413, allocations: 371.8 kB / 1.339 GB, free: 4.348 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002086/0.4434, allocations: 1.172 MB / 1.34 GB, free: 3.141 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005603/0.4439, allocations: 315.2 kB / 1.341 GB, free: 2.816 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005013/0.4444, allocations: 281.2 kB / 1.341 GB, free: 2.539 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.364e-05/0.4445, allocations: 4.688 kB / 1.341 GB, free: 2.535 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.556e-05/0.4445, allocations: 38.56 kB / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 2.454e-06/0.4445, allocations: 0 / 1.341 GB, free: 2.488 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001057/0.4456, allocations: 0.4928 MB / 1.342 GB, free: 1.988 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.118e-05/0.4456, allocations: 59.19 kB / 1.342 GB, free: 1.918 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005817/0.4462, allocations: 442 kB / 1.342 GB, free: 1.477 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.575e-05/0.4462, allocations: 29.7 kB / 1.342 GB, free: 1.441 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002228/0.4465, allocations: 272.6 kB / 1.342 GB, free: 1.168 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4466, allocations: 158.6 kB / 1.342 GB, free: 1.012 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000121/0.4467, allocations: 62.08 kB / 1.343 GB, free: 0.9414 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001899/0.4469, allocations: 354.8 kB / 1.343 GB, free: 0.5859 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002557/0.4472, allocations: 124.7 kB / 1.343 GB, free: 476 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002437/0.4474, allocations: 133.2 kB / 1.343 GB, free: 344 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005252/0.448, allocations: 290.4 kB / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.448, allocations: 0 / 1.343 GB, free: 52 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007348/0.4487, allocations: 392.5 kB / 1.344 GB, free: 15.66 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 2.713e-05/0.4487, allocations: 9.656 kB / 1.344 GB, free: 15.65 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.078e-05/0.4487, allocations: 8.75 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.254e-05/0.4488, allocations: 4 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005283/0.4493, allocations: 123.9 kB / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.276e-06/0.4493, allocations: 0 / 1.344 GB, free: 15.52 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002229/0.4495, allocations: 35.77 kB / 1.344 GB, free: 15.48 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.672e-05/0.4495, allocations: 12 kB / 1.344 GB, free: 15.47 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 (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.0002727/0.4498, allocations: 194.3 kB / 1.344 GB, free: 15.27 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.19e-05/0.4499, allocations: 55.59 kB / 1.344 GB, free: 15.22 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001239/0.45, allocations: 60.81 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.741e-06/0.45, allocations: 4 kB / 1.344 GB, free: 15.16 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.095e-05/0.45, allocations: 4 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.533e-06/0.45, allocations: 3.984 kB / 1.344 GB, free: 15.15 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005846/0.4506, allocations: 412.9 kB / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.4506, allocations: 0 / 1.345 GB, free: 14.71 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005405/0.4512, allocations: 123.9 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.682e-06/0.4512, allocations: 3.984 kB / 1.345 GB, free: 14.59 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.003e-05/0.4512, allocations: 15.94 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.084e-06/0.4512, allocations: 0 / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/0.4512, allocations: 3.938 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001101/0.4523, allocations: 0.6443 MB / 1.345 GB, free: 13.91 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001328/0.4524, allocations: 59.62 kB / 1.345 GB, free: 13.85 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.906e-05/0.4525, allocations: 7.938 kB / 1.345 GB, free: 13.84 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002132/0.4527, allocations: 19.98 kB / 1.346 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.04e-05/0.4528, allocations: 23.95 kB / 1.346 GB, free: 13.8 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.903e-05/0.4528, allocations: 12 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0004034/0.4532, allocations: 319.1 kB / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of sort global known variables: time 9e-08/0.4532, allocations: 0 / 1.346 GB, free: 13.48 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004915/0.4537, allocations: 155.6 kB / 1.346 GB, free: 13.33 MB / 1.045 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.0001784/0.4539, allocations: 107.2 kB / 1.346 GB, free: 13.21 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006531/0.4545, allocations: 303.9 kB / 1.346 GB, free: 12.92 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.4545, allocations: 4 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0002965/0.4548, allocations: 171.6 kB / 1.347 GB, free: 12.75 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006304/0.4555, allocations: 102.6 kB / 1.347 GB, free: 12.65 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002261/0.4577, allocations: 1.197 MB / 1.348 GB, free: 11.42 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003044/0.458, allocations: 275 kB / 1.348 GB, free: 11.12 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001964/0.4582, allocations: 43.39 kB / 1.348 GB, free: 11.08 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001141/0.4584, allocations: 35.38 kB / 1.348 GB, free: 11.05 MB / 1.045 GB Notification: Performance of SimCode: time 8.42e-07/0.4584, allocations: 4 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of Templates: time 0.013/0.4714, allocations: 5.946 MB / 1.354 GB, free: 5.238 MB / 1.045 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s cvode -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.928994865011191]