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.001602/0.001602, allocations: 96.42 kB / 19.7 MB, free: 2.133 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.001994/0.001994, allocations: 207 kB / 22.99 MB, free: 4.957 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.463/1.463, allocations: 230.6 MB / 256.8 MB, free: 7.805 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.142/3.142, allocations: 0.49 GB / 0.7959 GB, free: 35.48 MB / 0.6231 GB " [Timeout remaining time 177] 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.002041/0.002041, allocations: 76.27 kB / 1.155 GB, free: 25.17 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3169/0.3189, allocations: 176.1 MB / 1.327 GB, free: 0.9258 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesTwoUTube): time 0.005517/0.3244, allocations: 3.796 MB / 1.331 GB, free: 13.12 MB / 1.029 GB Notification: Performance of NFInst.instExpressions: time 0.003638/0.3281, allocations: 2.234 MB / 1.333 GB, free: 10.87 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002305/0.3283, allocations: 12 kB / 1.333 GB, free: 10.86 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 0.001551/0.3299, allocations: 0.5092 MB / 1.334 GB, free: 10.35 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 0.0004752/0.3303, allocations: 250 kB / 1.334 GB, free: 10.1 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002312/0.3306, allocations: 143.8 kB / 1.334 GB, free: 9.961 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0008078/0.3314, allocations: 0.7981 MB / 1.335 GB, free: 9.156 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000378/0.3318, allocations: 235 kB / 1.335 GB, free: 8.922 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004105/0.3322, allocations: 314.9 kB / 1.335 GB, free: 8.613 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0003782/0.3325, allocations: 318.6 kB / 1.336 GB, free: 8.301 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 8.983e-05/0.3326, allocations: 76 kB / 1.336 GB, free: 8.227 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001247/0.3328, allocations: 75.94 kB / 1.336 GB, free: 8.152 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 0.0001756/0.3329, allocations: 179.4 kB / 1.336 GB, free: 7.977 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 0.0003131/0.3333, allocations: 310.7 kB / 1.336 GB, free: 7.672 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001022/0.3343, allocations: 1 MB / 1.337 GB, free: 6.668 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.3343, allocations: 4 kB / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.863e-06/0.3343, allocations: 0 / 1.337 GB, free: 6.664 MB / 1.029 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.3343, allocations: 0 / 1.337 GB, free: 6.664 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.001517/0.3358, allocations: 0.886 MB / 1.338 GB, free: 5.746 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.3358, allocations: 15.97 kB / 1.338 GB, free: 5.73 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001269/0.336, allocations: 76.47 kB / 1.338 GB, free: 5.656 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006875/0.3367, allocations: 404.2 kB / 1.338 GB, free: 5.234 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.894e-05/0.3367, allocations: 37.38 kB / 1.338 GB, free: 5.199 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.887e-05/0.3368, allocations: 48.38 kB / 1.339 GB, free: 5.152 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008165/0.3376, allocations: 430.8 kB / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.969e-05/0.3376, allocations: 0 / 1.339 GB, free: 4.727 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.317e-05/0.3377, allocations: 20 kB / 1.339 GB, free: 4.707 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.242e-05/0.3377, allocations: 12 kB / 1.339 GB, free: 4.695 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007506/0.3384, allocations: 371.7 kB / 1.339 GB, free: 4.332 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001954/0.3404, allocations: 1.164 MB / 1.34 GB, free: 3.133 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005546/0.3409, allocations: 319.9 kB / 1.341 GB, free: 2.805 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004883/0.3414, allocations: 289.1 kB / 1.341 GB, free: 2.52 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 2.28e-05/0.3414, allocations: 8.625 kB / 1.341 GB, free: 2.512 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.352e-05/0.3415, allocations: 30.56 kB / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of pre-optimization done (n=42): time 1.874e-06/0.3415, allocations: 0 / 1.341 GB, free: 2.473 MB / 1.029 GB Notification: Performance of matching and sorting (n=42): time 0.001028/0.3425, allocations: 0.4929 MB / 1.342 GB, free: 1.973 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5e-05/0.3426, allocations: 59.19 kB / 1.342 GB, free: 1.902 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005307/0.3431, allocations: 438 kB / 1.342 GB, free: 1.465 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 3.34e-05/0.3431, allocations: 33.7 kB / 1.342 GB, free: 1.426 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002168/0.3433, allocations: 276.6 kB / 1.342 GB, free: 1.148 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001413/0.3435, allocations: 154.6 kB / 1.342 GB, free: 0.9961 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001102/0.3436, allocations: 62.08 kB / 1.343 GB, free: 0.9258 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001791/0.3438, allocations: 358.8 kB / 1.343 GB, free: 0.5664 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002631/0.344, allocations: 128.6 kB / 1.343 GB, free: 452 kB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002485/0.3443, allocations: 125.2 kB / 1.343 GB, free: 328 kB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005359/0.3448, allocations: 290.4 kB / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.445e-06/0.3448, allocations: 0 / 1.343 GB, free: 36 kB / 1.029 GB Notification: Performance of matching and sorting (n=46) (initialization): time 0.0007104/0.3455, allocations: 396.5 kB / 1.344 GB, free: 15.64 MB / 1.045 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3455, allocations: 7.938 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.3455, allocations: 0 / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.422e-05/0.3456, allocations: 4 kB / 1.344 GB, free: 15.63 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005687/0.3461, allocations: 127.9 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.3461, allocations: 7.938 kB / 1.344 GB, free: 15.5 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002088/0.3464, allocations: 31.78 kB / 1.344 GB, free: 15.46 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.455e-05/0.3464, allocations: 11.98 kB / 1.344 GB, free: 15.45 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.0002297/0.3466, allocations: 194.3 kB / 1.344 GB, free: 15.25 MB / 1.045 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.995e-05/0.3467, allocations: 51.59 kB / 1.344 GB, free: 15.2 MB / 1.045 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001144/0.3468, allocations: 64.8 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.562e-06/0.3468, allocations: 4 kB / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.2e-06/0.3468, allocations: 0 / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.3468, allocations: 0 / 1.344 GB, free: 15.14 MB / 1.045 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005672/0.3474, allocations: 420.8 kB / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.793e-06/0.3474, allocations: 0 / 1.345 GB, free: 14.7 MB / 1.045 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00056/0.3479, allocations: 123.9 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.51e-06/0.348, allocations: 4 kB / 1.345 GB, free: 14.57 MB / 1.045 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.7e-05/0.348, allocations: 11.94 kB / 1.345 GB, free: 14.56 MB / 1.045 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.118e-06/0.348, allocations: 8 kB / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.92e-07/0.348, allocations: 0 / 1.345 GB, free: 14.55 MB / 1.045 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00106/0.349, allocations: 0.6482 MB / 1.345 GB, free: 13.89 MB / 1.045 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001023/0.3491, allocations: 55.62 kB / 1.345 GB, free: 13.83 MB / 1.045 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.014e-05/0.3492, allocations: 11.94 kB / 1.346 GB, free: 13.82 MB / 1.045 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002096/0.3494, allocations: 11.98 kB / 1.346 GB, free: 13.81 MB / 1.045 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.118e-05/0.3495, allocations: 23.95 kB / 1.346 GB, free: 13.79 MB / 1.045 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.115e-05/0.3495, allocations: 12 kB / 1.346 GB, free: 13.77 MB / 1.045 GB Notification: Performance of sorting global known variables: time 0.0003789/0.3499, allocations: 319.1 kB / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of sort global known variables: time 8.1e-08/0.3499, allocations: 0 / 1.346 GB, free: 13.46 MB / 1.045 GB Notification: Performance of remove unused functions: time 0.0004479/0.3503, allocations: 151.6 kB / 1.346 GB, free: 13.32 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.0001533/0.3505, allocations: 119.2 kB / 1.346 GB, free: 13.19 MB / 1.045 GB Notification: Performance of simCode: created initialization part: time 0.0006129/0.3511, allocations: 292 kB / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.3511, allocations: 0 / 1.346 GB, free: 12.91 MB / 1.045 GB Notification: Performance of simCode: created simulation system equations: time 0.0003117/0.3514, allocations: 171.6 kB / 1.347 GB, free: 12.74 MB / 1.045 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005968/0.352, allocations: 109.4 kB / 1.347 GB, free: 12.64 MB / 1.045 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002007/0.354, allocations: 1.197 MB / 1.348 GB, free: 11.41 MB / 1.045 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002906/0.3543, allocations: 275 kB / 1.348 GB, free: 11.11 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 0.0001639/0.3545, allocations: 39.39 kB / 1.348 GB, free: 11.07 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001029/0.3546, allocations: 35.44 kB / 1.348 GB, free: 11.04 MB / 1.045 GB Notification: Performance of SimCode: time 6.71e-07/0.3546, allocations: 3.938 kB / 1.348 GB, free: 11.03 MB / 1.045 GB Notification: Performance of Templates: time 0.01223/0.3668, allocations: 5.94 MB / 1.354 GB, free: 5.23 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 gbode -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: 8.67902020800102]