Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.002066/0.002066, allocations: 79.03 kB / 19.76 MB, free: 2.031 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.001693/0.001693, allocations: 157.2 kB / 23.01 MB, free: 4.945 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.491/1.491, allocations: 177.2 MB / 203.4 MB, free: 8.961 MB / 190.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 2.893/2.893, allocations: 377.9 MB / 0.6228 GB, free: 12.57 MB / 0.5919 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.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.002137/0.002137, allocations: 64.19 kB / 0.982 GB, free: 12.09 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.18/1.182, allocations: 176.1 MB / 1.154 GB, free: 33.32 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003201/1.185, allocations: 1.454 MB / 1.155 GB, free: 32.32 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.004308/1.189, allocations: 2.676 MB / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.371e-05/1.19, allocations: 0 / 1.158 GB, free: 30.62 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.867e-05/1.19, allocations: 11.27 kB / 1.158 GB, free: 30.61 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 6.575e-05/1.19, allocations: 14.55 kB / 1.158 GB, free: 30.6 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004769/1.194, allocations: 1.628 MB / 1.16 GB, free: 29.84 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001295/1.195, allocations: 43.36 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/1.195, allocations: 2.594 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.544e-05/1.195, allocations: 15.8 kB / 1.16 GB, free: 29.82 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.336e-05/1.195, allocations: 16.16 kB / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.423e-05/1.195, allocations: 2.75 kB / 1.16 GB, free: 29.81 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002723/1.197, allocations: 1.485 MB / 1.161 GB, free: 29.41 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 2.294e-05/1.197, allocations: 10.45 kB / 1.161 GB, free: 29.41 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/1.197, allocations: 24.61 kB / 1.161 GB, free: 29.39 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/1.2, allocations: 1.101 MB / 1.162 GB, free: 29.11 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/1.2, allocations: 6.688 kB / 1.162 GB, free: 29.11 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.623e-06/1.2, allocations: 0 / 1.162 GB, free: 29.11 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.222e-06/1.2, allocations: 0 / 1.162 GB, free: 29.11 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000836/1.2, allocations: 466.5 kB / 1.163 GB, free: 28.7 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.447e-05/1.2, allocations: 7.344 kB / 1.163 GB, free: 28.7 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.747e-05/1.2, allocations: 82.33 kB / 1.163 GB, free: 28.62 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001236/1.201, allocations: 205.3 kB / 1.163 GB, free: 28.41 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.808e-05/1.201, allocations: 152.6 kB / 1.163 GB, free: 28.26 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.884e-05/1.201, allocations: 150.9 kB / 1.163 GB, free: 28.11 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.742e-05/1.201, allocations: 106.1 kB / 1.163 GB, free: 28 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.907e-05/1.201, allocations: 78.19 kB / 1.163 GB, free: 27.93 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.15e-05/1.201, allocations: 150.6 kB / 1.164 GB, free: 27.78 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/1.201, allocations: 158.5 kB / 1.164 GB, free: 27.62 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.194e-05/1.201, allocations: 155.8 kB / 1.164 GB, free: 27.47 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002316/1.201, allocations: 419.6 kB / 1.164 GB, free: 27.05 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.817e-05/1.201, allocations: 169.1 kB / 1.164 GB, free: 26.87 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2e-05/1.201, allocations: 84.14 kB / 1.165 GB, free: 26.79 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.791e-05/1.201, allocations: 81.81 kB / 1.165 GB, free: 26.71 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.798e-05/1.201, allocations: 109.8 kB / 1.165 GB, free: 26.59 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.132e-06/1.201, allocations: 0 / 1.165 GB, free: 26.59 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.326e-05/1.201, allocations: 39.7 kB / 1.165 GB, free: 26.55 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.002e-05/1.201, allocations: 133.6 kB / 1.165 GB, free: 26.41 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001525/1.201, allocations: 130.1 kB / 1.165 GB, free: 26.3 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.042e-05/1.201, allocations: 25.7 kB / 1.165 GB, free: 26.27 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 5.493e-05/1.202, allocations: 98.19 kB / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-06/1.202, allocations: 0 / 1.165 GB, free: 26.18 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.701e-05/1.202, allocations: 15.41 kB / 1.165 GB, free: 26.16 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 6.038e-05/1.202, allocations: 322 kB / 1.165 GB, free: 25.84 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.587e-05/1.202, allocations: 5.656 kB / 1.165 GB, free: 25.84 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.745e-05/1.202, allocations: 6.75 kB / 1.165 GB, free: 25.84 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.389e-05/1.202, allocations: 17.64 kB / 1.165 GB, free: 25.82 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.025e-06/1.202, allocations: 0 / 1.165 GB, free: 25.82 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/1.202, allocations: 50.11 kB / 1.166 GB, free: 25.79 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.859e-05/1.202, allocations: 8.938 kB / 1.166 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.227e-05/1.202, allocations: 2.906 kB / 1.166 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.768e-05/1.202, allocations: 0 / 1.166 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/1.202, allocations: 0 / 1.166 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/1.202, allocations: 4.047 kB / 1.166 GB, free: 25.78 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.815e-05/1.202, allocations: 10.67 kB / 1.166 GB, free: 25.77 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.488e-06/1.202, allocations: 3.234 kB / 1.166 GB, free: 25.77 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 6.871e-05/1.202, allocations: 184.7 kB / 1.166 GB, free: 25.58 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.839e-05/1.202, allocations: 115.9 kB / 1.166 GB, free: 25.46 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.341e-05/1.202, allocations: 110.8 kB / 1.166 GB, free: 25.35 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.999e-05/1.202, allocations: 188.2 kB / 1.166 GB, free: 25.16 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.487e-05/1.202, allocations: 179 kB / 1.166 GB, free: 24.98 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.219e-05/1.202, allocations: 176.3 kB / 1.166 GB, free: 24.8 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001518/1.202, allocations: 367.9 kB / 1.167 GB, free: 24.41 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.735e-05/1.202, allocations: 103.7 kB / 1.167 GB, free: 24.31 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.163e-05/1.202, allocations: 112.9 kB / 1.167 GB, free: 24.19 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.284e-05/1.202, allocations: 179 kB / 1.167 GB, free: 24.01 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.448e-05/1.203, allocations: 184.3 kB / 1.167 GB, free: 23.82 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.492e-05/1.203, allocations: 186.7 kB / 1.168 GB, free: 23.64 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.226e-05/1.203, allocations: 176.3 kB / 1.168 GB, free: 23.46 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.929e-05/1.203, allocations: 305.6 kB / 1.168 GB, free: 23.14 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 3.274e-05/1.203, allocations: 111 kB / 1.168 GB, free: 23.04 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.879e-05/1.203, allocations: 187.3 kB / 1.168 GB, free: 22.85 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.253e-05/1.203, allocations: 101 kB / 1.168 GB, free: 22.74 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.562e-05/1.203, allocations: 190.8 kB / 1.169 GB, free: 22.55 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.437e-05/1.203, allocations: 112.4 kB / 1.169 GB, free: 22.44 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.916e-05/1.203, allocations: 103 kB / 1.169 GB, free: 22.36 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/1.203, allocations: 0 / 1.169 GB, free: 22.36 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009754/1.204, allocations: 296.3 kB / 1.169 GB, free: 22.28 MB / 1.076 GB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (0): * Single equations (assignments): 0 * 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.00136/1.205, allocations: 0.5471 MB / 1.17 GB, free: 22 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.000112/1.205, allocations: 51.8 kB / 1.17 GB, free: 21.96 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.494e-06/1.205, allocations: 0 / 1.17 GB, free: 21.96 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.284e-06/1.205, allocations: 0 / 1.17 GB, free: 21.96 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003588/1.206, allocations: 465.6 kB / 1.17 GB, free: 21.51 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003607/1.206, allocations: 244.2 kB / 1.17 GB, free: 21.29 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.313e-05/1.206, allocations: 66.55 kB / 1.17 GB, free: 21.22 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.686e-05/1.206, allocations: 7.062 kB / 1.17 GB, free: 21.22 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.74e-05/1.206, allocations: 8.5 kB / 1.17 GB, free: 21.21 MB / 1.076 GB Notification: Performance of SimCode: time 9.92e-07/1.206, allocations: 0 / 1.17 GB, free: 21.21 MB / 1.076 GB Notification: Performance of Templates: time 0.01285/1.219, allocations: 5.85 MB / 1.176 GB, free: 20.75 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.892428721068427]