Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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.0008906/0.0008906, allocations: 72.5 kB / 19.93 MB, free: 4.633 MB / 18.57 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.0008106/0.0008106, allocations: 178.2 kB / 23.22 MB, free: 1.348 MB / 18.57 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 0.8891/0.8891, allocations: 177.1 MB / 203.5 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.675/1.675, allocations: 359 MB / 0.6044 GB, free: 11.07 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.804e-06/1.804e-06, allocations: 0 / 0.9518 GB, free: 2.887 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.349e-05/2.53e-05, allocations: 6.281 kB / 0.9518 GB, free: 2.879 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001737/0.001762, allocations: 1.442 MB / 0.9532 GB, free: 1.422 MB / 0.9011 GB Notification: Performance of NFInst.instExpressions: time 0.002989/0.004751, allocations: 2.634 MB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.473e-05/0.004786, allocations: 0 / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeComponents: time 2.394e-05/0.00481, allocations: 7.922 kB / 0.9558 GB, free: 14.77 MB / 0.9167 GB Notification: Performance of NFTyping.typeBindings: time 5.256e-05/0.004862, allocations: 11.86 kB / 0.9558 GB, free: 14.75 MB / 0.9167 GB Notification: Performance of NFTyping.typeClassSections: time 0.002268/0.007131, allocations: 1.626 MB / 0.9574 GB, free: 13.14 MB / 0.9167 GB Notification: Performance of NFFlatten.flatten: time 6.879e-05/0.007199, allocations: 39.69 kB / 0.9575 GB, free: 13.1 MB / 0.9167 GB Notification: Performance of NFFlatten.resolveConnections: time 4.062e-05/0.00724, allocations: 11.97 kB / 0.9575 GB, free: 13.09 MB / 0.9167 GB Notification: Performance of NFEvalConstants.evaluate: time 3.812e-05/0.007278, allocations: 23.98 kB / 0.9575 GB, free: 13.07 MB / 0.9167 GB Notification: Performance of NFSimplifyModel.simplify: time 2.101e-05/0.007299, allocations: 7.938 kB / 0.9575 GB, free: 13.06 MB / 0.9167 GB Notification: Performance of NFPackage.collectConstants: time 1.109e-05/0.00731, allocations: 4 kB / 0.9575 GB, free: 13.05 MB / 0.9167 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001307/0.008617, allocations: 1.454 MB / 0.9589 GB, free: 11.6 MB / 0.9167 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.00863, allocations: 4 kB / 0.9589 GB, free: 11.59 MB / 0.9167 GB Notification: Performance of NFVerifyModel.verify: time 2.166e-05/0.008651, allocations: 11.94 kB / 0.9589 GB, free: 11.58 MB / 0.9167 GB Notification: Performance of NFConvertDAE.convert: time 0.00103/0.009681, allocations: 1.243 MB / 0.9601 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of FrontEnd - DAE generated: time 2.274e-06/0.009684, allocations: 0 / 0.9601 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of FrontEnd: time 1.213e-06/0.009685, allocations: 0 / 0.9601 GB, free: 10.34 MB / 0.9167 GB Notification: Performance of Transformations before backend: time 4.308e-06/0.009689, allocations: 0 / 0.9601 GB, free: 10.34 MB / 0.9167 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.0003972/0.01009, allocations: 468.1 kB / 0.9606 GB, free: 9.848 MB / 0.9167 GB Notification: Performance of prepare preOptimizeDAE: time 4.013e-05/0.01013, allocations: 8.031 kB / 0.9606 GB, free: 9.84 MB / 0.9167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.108e-05/0.01018, allocations: 84.17 kB / 0.9607 GB, free: 9.758 MB / 0.9167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.991e-05/0.01028, allocations: 193 kB / 0.9609 GB, free: 9.543 MB / 0.9167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.74e-05/0.01031, allocations: 150.9 kB / 0.961 GB, free: 9.395 MB / 0.9167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.925e-05/0.01035, allocations: 158.9 kB / 0.9612 GB, free: 9.238 MB / 0.9167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.145e-05/0.01041, allocations: 105.5 kB / 0.9613 GB, free: 9.129 MB / 0.9167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.887e-05/0.01043, allocations: 79.41 kB / 0.9613 GB, free: 9.051 MB / 0.9167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.855e-05/0.01047, allocations: 154.7 kB / 0.9615 GB, free: 8.898 MB / 0.9167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.224e-05/0.01051, allocations: 150.6 kB / 0.9616 GB, free: 8.75 MB / 0.9167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.908e-05/0.01054, allocations: 158.6 kB / 0.9618 GB, free: 8.594 MB / 0.9167 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001967/0.01074, allocations: 417.5 kB / 0.9622 GB, free: 8.156 MB / 0.9167 GB Notification: Performance of preOpt comSubExp (simulation): time 6.546e-05/0.01081, allocations: 173.1 kB / 0.9623 GB, free: 7.977 MB / 0.9167 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.428e-05/0.01083, allocations: 80.14 kB / 0.9624 GB, free: 7.895 MB / 0.9167 GB Notification: Performance of preOpt evalFunc (simulation): time 2.051e-05/0.01085, allocations: 79.28 kB / 0.9625 GB, free: 7.816 MB / 0.9167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.221e-05/0.01088, allocations: 105.8 kB / 0.9626 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of pre-optimization done (n=0): time 1.082e-06/0.01088, allocations: 0 / 0.9626 GB, free: 7.703 MB / 0.9167 GB Notification: Performance of matching and sorting (n=0): time 5.828e-05/0.01094, allocations: 37.66 kB / 0.9626 GB, free: 7.66 MB / 0.9167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.454e-05/0.01099, allocations: 134.6 kB / 0.9628 GB, free: 7.516 MB / 0.9167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001688/0.01116, allocations: 132 kB / 0.9629 GB, free: 7.379 MB / 0.9167 GB Notification: Performance of collectPreVariables (initialization): time 9.107e-06/0.01117, allocations: 25.7 kB / 0.9629 GB, free: 7.348 MB / 0.9167 GB Notification: Performance of collectInitialEqns (initialization): time 4.003e-05/0.01121, allocations: 100.1 kB / 0.963 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of collectInitialBindings (initialization): time 2.885e-06/0.01121, allocations: 0 / 0.963 GB, free: 7.246 MB / 0.9167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.469e-05/0.01123, allocations: 13.72 kB / 0.963 GB, free: 7.227 MB / 0.9167 GB Notification: Performance of setup shared object (initialization): time 7.654e-05/0.01131, allocations: 322.8 kB / 0.9633 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.943e-05/0.01133, allocations: 0 / 0.9633 GB, free: 6.902 MB / 0.9167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.254e-05/0.01134, allocations: 4 kB / 0.9633 GB, free: 6.898 MB / 0.9167 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.01138, allocations: 16.86 kB / 0.9633 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.01138, allocations: 0 / 0.9633 GB, free: 6.879 MB / 0.9167 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001046/0.01148, allocations: 53.58 kB / 0.9634 GB, free: 6.82 MB / 0.9167 GB Notification: Performance of prepare postOptimizeDAE: time 1.171e-05/0.0115, allocations: 4 kB / 0.9634 GB, free: 6.816 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.79e-05/0.01151, allocations: 8.062 kB / 0.9634 GB, free: 6.809 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.227e-05/0.01153, allocations: 3.938 kB / 0.9634 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.42e-07/0.01153, allocations: 0 / 0.9634 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.01153, allocations: 0 / 0.9634 GB, free: 6.805 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.512e-05/0.01155, allocations: 8 kB / 0.9634 GB, free: 6.797 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.01155, allocations: 3.984 kB / 0.9634 GB, free: 6.793 MB / 0.9167 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.361e-05/0.01162, allocations: 181.1 kB / 0.9636 GB, free: 6.605 MB / 0.9167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.12e-05/0.01165, allocations: 105 kB / 0.9637 GB, free: 6.496 MB / 0.9167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.401e-05/0.01168, allocations: 120.7 kB / 0.9638 GB, free: 6.371 MB / 0.9167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-05/0.01172, allocations: 180.2 kB / 0.964 GB, free: 6.188 MB / 0.9167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.033e-05/0.01176, allocations: 188.3 kB / 0.9642 GB, free: 5.996 MB / 0.9167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.765e-05/0.0118, allocations: 180.2 kB / 0.9643 GB, free: 5.812 MB / 0.9167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000121/0.01192, allocations: 364.8 kB / 0.9647 GB, free: 5.418 MB / 0.9167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.383e-05/0.01194, allocations: 108.9 kB / 0.9648 GB, free: 5.305 MB / 0.9167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.186e-05/0.01196, allocations: 105 kB / 0.9649 GB, free: 5.195 MB / 0.9167 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.225e-05/0.01201, allocations: 180.3 kB / 0.9651 GB, free: 5.012 MB / 0.9167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.01205, allocations: 180.2 kB / 0.9652 GB, free: 4.828 MB / 0.9167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.738e-05/0.01208, allocations: 176.3 kB / 0.9654 GB, free: 4.648 MB / 0.9167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.157e-05/0.01212, allocations: 196.2 kB / 0.9656 GB, free: 4.449 MB / 0.9167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.722e-05/0.01221, allocations: 303.8 kB / 0.9659 GB, free: 4.129 MB / 0.9167 GB Notification: Performance of postOpt removeConstants (simulation): time 3.062e-05/0.01224, allocations: 112.9 kB / 0.966 GB, free: 4.012 MB / 0.9167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.848e-05/0.01229, allocations: 184.2 kB / 0.9662 GB, free: 3.824 MB / 0.9167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.006e-05/0.01234, allocations: 113.2 kB / 0.9663 GB, free: 3.707 MB / 0.9167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.264e-05/0.01238, allocations: 180.2 kB / 0.9664 GB, free: 3.523 MB / 0.9167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.139e-05/0.0124, allocations: 101 kB / 0.9665 GB, free: 3.418 MB / 0.9167 GB Notification: Performance of sorting global known variables: time 4.296e-05/0.01245, allocations: 107.2 kB / 0.9666 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of sort global known variables: time 5e-08/0.01245, allocations: 0 / 0.9666 GB, free: 3.312 MB / 0.9167 GB Notification: Performance of remove unused functions: time 0.000417/0.01286, allocations: 287 kB / 0.9669 GB, free: 3.027 MB / 0.9167 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.0006971/0.01356, allocations: 0.5814 MB / 0.9675 GB, free: 2.438 MB / 0.9167 GB Notification: Performance of simCode: created initialization part: time 8.305e-05/0.01364, allocations: 37.7 kB / 0.9675 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.01365, allocations: 0 / 0.9675 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of simCode: created simulation system equations: time 1.032e-06/0.01365, allocations: 0 / 0.9675 GB, free: 2.395 MB / 0.9167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01392, allocations: 470.5 kB / 0.968 GB, free: 1.934 MB / 0.9167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002505/0.01417, allocations: 237.8 kB / 0.9682 GB, free: 1.668 MB / 0.9167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.161e-05/0.01421, allocations: 67.41 kB / 0.9683 GB, free: 1.582 MB / 0.9167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.349e-05/0.01422, allocations: 12.5 kB / 0.9683 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of SimCode: time 3.81e-07/0.01422, allocations: 0 / 0.9683 GB, free: 1.57 MB / 0.9167 GB Notification: Performance of Templates: time 0.004961/0.01918, allocations: 4.877 MB / 0.973 GB, free: 12.7 MB / 0.9323 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.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: 7.329397902823985]