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.001859/0.001859, allocations: 108.6 kB / 16.45 MB, free: 6.508 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.002262/0.002262, allocations: 213.7 kB / 19.43 MB, free: 3.648 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.503/1.503, allocations: 230.6 MB / 252.8 MB, free: 9.086 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.223/3.223, allocations: 0.4899 GB / 0.7915 GB, free: 33.16 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.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.002097/0.002097, allocations: 73.67 kB / 1.149 GB, free: 26.16 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3175/0.3196, allocations: 176.1 MB / 1.321 GB, free: 2.758 MB / 1.014 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002826/0.3224, allocations: 1.473 MB / 1.323 GB, free: 1.273 MB / 1.014 GB Notification: Performance of NFInst.instExpressions: time 0.005102/0.3275, allocations: 2.965 MB / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.39e-05/0.3275, allocations: 0 / 1.326 GB, free: 14.29 MB / 1.029 GB Notification: Performance of NFTyping.typeComponents: time 2.703e-05/0.3276, allocations: 11.86 kB / 1.326 GB, free: 14.28 MB / 1.029 GB Notification: Performance of NFTyping.typeBindings: time 6.248e-05/0.3276, allocations: 15.86 kB / 1.326 GB, free: 14.27 MB / 1.029 GB Notification: Performance of NFTyping.typeClassSections: time 0.004424/0.332, allocations: 1.654 MB / 1.327 GB, free: 12.62 MB / 1.029 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.3322, allocations: 43.67 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFFlatten.resolveConnections: time 4.242e-05/0.3322, allocations: 4 kB / 1.327 GB, free: 12.58 MB / 1.029 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.3322, allocations: 15.94 kB / 1.327 GB, free: 12.56 MB / 1.029 GB Notification: Performance of NFSimplifyModel.simplify: time 3.122e-05/0.3323, allocations: 15.92 kB / 1.327 GB, free: 12.55 MB / 1.029 GB Notification: Performance of NFPackage.collectConstants: time 1.092e-05/0.3323, allocations: 3.938 kB / 1.327 GB, free: 12.54 MB / 1.029 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002813/0.3351, allocations: 1.607 MB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFScalarize.scalarize: time 1.682e-05/0.3351, allocations: 8 kB / 1.329 GB, free: 10.93 MB / 1.029 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.3351, allocations: 15.88 kB / 1.329 GB, free: 10.91 MB / 1.029 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.3371, allocations: 1.138 MB / 1.33 GB, free: 9.77 MB / 1.029 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.3371, allocations: 4 kB / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of FrontEnd: time 1.713e-06/0.3371, allocations: 0 / 1.33 GB, free: 9.766 MB / 1.029 GB Notification: Performance of Transformations before backend: time 1.049e-05/0.3371, allocations: 0 / 1.33 GB, free: 9.766 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000979/0.3381, allocations: 0.5362 MB / 1.331 GB, free: 9.18 MB / 1.029 GB Notification: Performance of prepare preOptimizeDAE: time 3.684e-05/0.3381, allocations: 8.031 kB / 1.331 GB, free: 9.172 MB / 1.029 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.89e-05/0.3382, allocations: 88.17 kB / 1.331 GB, free: 9.086 MB / 1.029 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002029/0.3384, allocations: 253.4 kB / 1.331 GB, free: 8.801 MB / 1.029 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.294e-05/0.3385, allocations: 150.9 kB / 1.331 GB, free: 8.652 MB / 1.029 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.683e-05/0.3385, allocations: 154.9 kB / 1.331 GB, free: 8.5 MB / 1.029 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.298e-05/0.3386, allocations: 109.1 kB / 1.331 GB, free: 8.387 MB / 1.029 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.735e-05/0.3387, allocations: 75.28 kB / 1.331 GB, free: 8.312 MB / 1.029 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.546e-05/0.3387, allocations: 158.6 kB / 1.332 GB, free: 8.156 MB / 1.029 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.558e-05/0.3388, allocations: 154.5 kB / 1.332 GB, free: 8.004 MB / 1.029 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000123/0.3389, allocations: 150.6 kB / 1.332 GB, free: 7.855 MB / 1.029 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003682/0.3393, allocations: 461.9 kB / 1.332 GB, free: 7.355 MB / 1.029 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001973/0.3395, allocations: 169.1 kB / 1.332 GB, free: 7.18 MB / 1.029 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.426e-05/0.3395, allocations: 80.14 kB / 1.333 GB, free: 7.098 MB / 1.029 GB Notification: Performance of preOpt evalFunc (simulation): time 3.84e-05/0.3396, allocations: 75.28 kB / 1.333 GB, free: 7.023 MB / 1.029 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.22e-05/0.3396, allocations: 121.7 kB / 1.333 GB, free: 6.895 MB / 1.029 GB Notification: Performance of pre-optimization done (n=0): time 1.032e-06/0.3396, allocations: 3.938 kB / 1.333 GB, free: 6.891 MB / 1.029 GB Notification: Performance of matching and sorting (n=0): time 9.559e-05/0.3397, allocations: 33.64 kB / 1.333 GB, free: 6.852 MB / 1.029 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.284e-05/0.3398, allocations: 130.7 kB / 1.333 GB, free: 6.711 MB / 1.029 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001631/0.34, allocations: 139.5 kB / 1.333 GB, free: 6.566 MB / 1.029 GB Notification: Performance of collectPreVariables (initialization): time 5.195e-05/0.34, allocations: 25.7 kB / 1.333 GB, free: 6.535 MB / 1.029 GB Notification: Performance of collectInitialEqns (initialization): time 5.836e-05/0.3401, allocations: 88.14 kB / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of collectInitialBindings (initialization): time 1.854e-06/0.3401, allocations: 0 / 1.333 GB, free: 6.445 MB / 1.029 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.123e-05/0.3401, allocations: 21.7 kB / 1.333 GB, free: 6.418 MB / 1.029 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.3403, allocations: 310.8 kB / 1.333 GB, free: 6.105 MB / 1.029 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.942e-05/0.3403, allocations: 8 kB / 1.333 GB, free: 6.098 MB / 1.029 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.821e-05/0.3403, allocations: 8 kB / 1.333 GB, free: 6.09 MB / 1.029 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.479e-05/0.3404, allocations: 24.78 kB / 1.333 GB, free: 6.062 MB / 1.029 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.654e-06/0.3404, allocations: 0 / 1.333 GB, free: 6.062 MB / 1.029 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001342/0.3405, allocations: 49.59 kB / 1.334 GB, free: 6.008 MB / 1.029 GB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.3405, allocations: 8 kB / 1.334 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.937e-05/0.3405, allocations: 0 / 1.334 GB, free: 6 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.3405, allocations: 7.984 kB / 1.334 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.61e-07/0.3405, allocations: 0 / 1.334 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.3405, allocations: 0 / 1.334 GB, free: 5.992 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.972e-05/0.3406, allocations: 12 kB / 1.334 GB, free: 5.98 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.184e-06/0.3406, allocations: 8 kB / 1.334 GB, free: 5.973 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 (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 0.0001139/0.3407, allocations: 185.1 kB / 1.334 GB, free: 5.781 MB / 1.029 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.674e-05/0.3408, allocations: 116.9 kB / 1.334 GB, free: 5.66 MB / 1.029 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.445e-05/0.3408, allocations: 104.9 kB / 1.334 GB, free: 5.547 MB / 1.029 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.71e-05/0.3409, allocations: 184.2 kB / 1.334 GB, free: 5.359 MB / 1.029 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.061e-05/0.341, allocations: 180.3 kB / 1.334 GB, free: 5.176 MB / 1.029 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.859e-05/0.3411, allocations: 180.3 kB / 1.334 GB, free: 4.992 MB / 1.029 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000288/0.3414, allocations: 417.2 kB / 1.335 GB, free: 4.527 MB / 1.029 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.525e-05/0.3414, allocations: 104.9 kB / 1.335 GB, free: 4.418 MB / 1.029 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.945e-05/0.3415, allocations: 108.9 kB / 1.335 GB, free: 4.305 MB / 1.029 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.811e-05/0.3415, allocations: 176.3 kB / 1.335 GB, free: 4.125 MB / 1.029 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.556e-05/0.3416, allocations: 188.3 kB / 1.335 GB, free: 3.934 MB / 1.029 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.966e-05/0.3417, allocations: 184.2 kB / 1.336 GB, free: 3.746 MB / 1.029 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.707e-05/0.3418, allocations: 176.3 kB / 1.336 GB, free: 3.566 MB / 1.029 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001726/0.3419, allocations: 307.7 kB / 1.336 GB, free: 3.242 MB / 1.029 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000109/0.3421, allocations: 194 kB / 1.336 GB, free: 3.027 MB / 1.029 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001921/0.3422, allocations: 184.2 kB / 1.336 GB, free: 2.84 MB / 1.029 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.022e-05/0.3423, allocations: 101 kB / 1.337 GB, free: 2.734 MB / 1.029 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000162/0.3425, allocations: 188.2 kB / 1.337 GB, free: 2.543 MB / 1.029 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.479e-05/0.3426, allocations: 101 kB / 1.337 GB, free: 2.438 MB / 1.029 GB Notification: Performance of sorting global known variables: time 7.202e-05/0.3426, allocations: 101.1 kB / 1.337 GB, free: 2.34 MB / 1.029 GB Notification: Performance of sort global known variables: time 8e-08/0.3426, allocations: 0 / 1.337 GB, free: 2.34 MB / 1.029 GB Notification: Performance of remove unused functions: time 0.0008903/0.3435, allocations: 302.9 kB / 1.337 GB, free: 2.043 MB / 1.029 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.001449/0.345, allocations: 0.5596 MB / 1.338 GB, free: 1.473 MB / 1.029 GB Notification: Performance of simCode: created initialization part: time 0.0001061/0.3451, allocations: 37.98 kB / 1.338 GB, free: 1.43 MB / 1.029 GB Notification: Performance of simCode: created event and clocks part: time 4.088e-06/0.3451, allocations: 4.062 kB / 1.338 GB, free: 1.426 MB / 1.029 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.3451, allocations: 0 / 1.338 GB, free: 1.426 MB / 1.029 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004496/0.3455, allocations: 467.6 kB / 1.338 GB, free: 0.9648 MB / 1.029 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003687/0.3459, allocations: 239.9 kB / 1.338 GB, free: 0.7031 MB / 1.029 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003351/0.3462, allocations: 0.6846 MB / 1.339 GB, free: 15.99 MB / 1.045 GB Notification: Performance of simCode: alias equations: time 1.574e-05/0.3462, allocations: 3.984 kB / 1.339 GB, free: 15.99 MB / 1.045 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.354e-05/0.3463, allocations: 7.438 kB / 1.339 GB, free: 15.98 MB / 1.045 GB Notification: Performance of SimCode: time 3.9e-07/0.3463, allocations: 0 / 1.339 GB, free: 15.98 MB / 1.045 GB Notification: Performance of Templates: time 0.01151/0.3578, allocations: 5.822 MB / 1.345 GB, free: 10.21 MB / 1.045 GB " [Timeout remaining time 300] 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 -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/jenkins/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.001752492971718]