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.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.001991/0.001991, allocations: 84.91 kB / 19.76 MB, free: 2.023 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.002511/0.002511, allocations: 156.9 kB / 23.01 MB, free: 4.961 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.75/1.75, allocations: 177.2 MB / 203.4 MB, free: 8.957 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-maint.11.x/package.mo): time 2.745/2.745, allocations: 359.1 MB / 0.6044 GB, free: 14.84 MB / 0.5762 GB " [Timeout remaining time 176] Using package Buildings with version 11.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.1-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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_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_11_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.002325/0.002325, allocations: 66.23 kB / 0.9516 GB, free: 12.7 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3786/0.381, allocations: 169.9 MB / 1.118 GB, free: 2.453 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003392/0.3844, allocations: 1.441 MB / 1.119 GB, free: 1.004 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.005171/0.3895, allocations: 2.673 MB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.184e-05/0.3896, allocations: 0 / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.078e-05/0.3896, allocations: 7.922 kB / 1.122 GB, free: 14.31 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.305e-05/0.3897, allocations: 11.86 kB / 1.122 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.00499/0.3947, allocations: 1.648 MB / 1.123 GB, free: 12.66 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001369/0.3948, allocations: 43.67 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.96e-05/0.3949, allocations: 7.984 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 4.158e-05/0.3949, allocations: 11.94 kB / 1.123 GB, free: 12.6 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.93e-05/0.3949, allocations: 15.88 kB / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.395, allocations: 0 / 1.123 GB, free: 12.58 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002955/0.3979, allocations: 1.486 MB / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.3979, allocations: 0 / 1.125 GB, free: 11.09 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.86e-05/0.398, allocations: 15.88 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002184/0.4001, allocations: 1.107 MB / 1.126 GB, free: 9.969 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.4002, allocations: 0 / 1.126 GB, free: 9.969 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4002, allocations: 4 kB / 1.126 GB, free: 9.965 MB / 1.076 GB Notification: Performance of Transformations before backend: time 6.082e-06/0.4002, allocations: 0 / 1.126 GB, free: 9.965 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.0008413/0.401, allocations: 472 kB / 1.126 GB, free: 9.473 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.401, allocations: 8.031 kB / 1.126 GB, free: 9.465 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.604e-05/0.4011, allocations: 88.17 kB / 1.126 GB, free: 9.379 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001691/0.4013, allocations: 185.8 kB / 1.127 GB, free: 9.172 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.174e-05/0.4014, allocations: 154.9 kB / 1.127 GB, free: 9.02 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.526e-05/0.4015, allocations: 150.9 kB / 1.127 GB, free: 8.871 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.673e-05/0.4016, allocations: 117.1 kB / 1.127 GB, free: 8.75 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.589e-05/0.4016, allocations: 79.28 kB / 1.127 GB, free: 8.672 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.52e-05/0.4017, allocations: 154.5 kB / 1.127 GB, free: 8.52 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.08e-05/0.4017, allocations: 154.6 kB / 1.127 GB, free: 8.367 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.945e-05/0.4018, allocations: 154.6 kB / 1.127 GB, free: 8.215 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003386/0.4022, allocations: 409.5 kB / 1.128 GB, free: 7.785 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001161/0.4023, allocations: 177.1 kB / 1.128 GB, free: 7.602 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.506e-05/0.4023, allocations: 80.14 kB / 1.128 GB, free: 7.52 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.667e-05/0.4024, allocations: 79.22 kB / 1.128 GB, free: 7.441 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.44e-05/0.4024, allocations: 109.8 kB / 1.128 GB, free: 7.324 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 7.31e-07/0.4024, allocations: 4 kB / 1.128 GB, free: 7.32 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 8.767e-05/0.4025, allocations: 37.59 kB / 1.128 GB, free: 7.277 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.347e-05/0.4026, allocations: 126.7 kB / 1.128 GB, free: 7.141 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000175/0.4028, allocations: 140.5 kB / 1.129 GB, free: 6.996 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.79e-05/0.4028, allocations: 25.7 kB / 1.129 GB, free: 6.965 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 6.787e-05/0.4029, allocations: 100.1 kB / 1.129 GB, free: 6.863 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.4029, allocations: 0 / 1.129 GB, free: 6.863 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4029, allocations: 17.7 kB / 1.129 GB, free: 6.84 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001749/0.4031, allocations: 318.8 kB / 1.129 GB, free: 6.52 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.708e-05/0.4031, allocations: 0 / 1.129 GB, free: 6.52 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.426e-05/0.4031, allocations: 15.92 kB / 1.129 GB, free: 6.504 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.566e-05/0.4032, allocations: 16.89 kB / 1.129 GB, free: 6.484 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.4032, allocations: 0 / 1.129 GB, free: 6.484 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001406/0.4033, allocations: 49.64 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.743e-05/0.4033, allocations: 7.938 kB / 1.129 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.249e-05/0.4034, allocations: 4 kB / 1.129 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.959e-05/0.4034, allocations: 3.984 kB / 1.129 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.182e-06/0.4034, allocations: 0 / 1.129 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.659e-06/0.4034, allocations: 0 / 1.129 GB, free: 6.414 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.985e-05/0.4034, allocations: 7.953 kB / 1.129 GB, free: 6.406 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.937e-06/0.4034, allocations: 4 kB / 1.129 GB, free: 6.402 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 0.0001347/0.4036, allocations: 185.2 kB / 1.129 GB, free: 6.211 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.802e-05/0.4036, allocations: 116.8 kB / 1.129 GB, free: 6.09 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.329e-05/0.4037, allocations: 108.8 kB / 1.129 GB, free: 5.973 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.381e-05/0.4038, allocations: 184.2 kB / 1.13 GB, free: 5.785 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.112e-05/0.4039, allocations: 180.3 kB / 1.13 GB, free: 5.602 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.432e-05/0.404, allocations: 180.3 kB / 1.13 GB, free: 5.418 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002674/0.4043, allocations: 364.8 kB / 1.13 GB, free: 5.023 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.732e-05/0.4043, allocations: 101 kB / 1.13 GB, free: 4.918 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.464e-05/0.4044, allocations: 113 kB / 1.131 GB, free: 4.801 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.269e-05/0.4045, allocations: 188.3 kB / 1.131 GB, free: 4.609 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-05/0.4046, allocations: 184.2 kB / 1.131 GB, free: 4.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.636e-05/0.4047, allocations: 188.1 kB / 1.131 GB, free: 4.23 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.738e-05/0.4048, allocations: 180.3 kB / 1.131 GB, free: 4.047 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002057/0.405, allocations: 307.8 kB / 1.132 GB, free: 3.723 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.683e-05/0.4051, allocations: 112.9 kB / 1.132 GB, free: 3.605 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.4052, allocations: 180.2 kB / 1.132 GB, free: 3.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001132/0.4053, allocations: 109 kB / 1.132 GB, free: 3.309 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/0.4054, allocations: 184.2 kB / 1.132 GB, free: 3.121 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.213e-05/0.4054, allocations: 101.3 kB / 1.132 GB, free: 3.016 MB / 1.076 GB Notification: Performance of sorting global known variables: time 7.997e-05/0.4055, allocations: 101.1 kB / 1.132 GB, free: 2.918 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4055, allocations: 0 / 1.132 GB, free: 2.918 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.0009717/0.4065, allocations: 291 kB / 1.133 GB, free: 2.633 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.001437/0.4079, allocations: 0.5594 MB / 1.133 GB, free: 2.062 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001215/0.408, allocations: 45.64 kB / 1.133 GB, free: 2.012 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.344e-06/0.408, allocations: 0 / 1.133 GB, free: 2.012 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.434e-06/0.408, allocations: 0 / 1.133 GB, free: 2.012 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005087/0.4086, allocations: 471.7 kB / 1.134 GB, free: 1.547 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003933/0.409, allocations: 242.9 kB / 1.134 GB, free: 1.285 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.021e-05/0.409, allocations: 71.33 kB / 1.134 GB, free: 1.195 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.676e-05/0.4091, allocations: 0 / 1.134 GB, free: 1.195 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.995e-05/0.4091, allocations: 8.5 kB / 1.134 GB, free: 1.188 MB / 1.076 GB Notification: Performance of SimCode: time 5.11e-07/0.4091, allocations: 3.938 kB / 1.134 GB, free: 1.184 MB / 1.076 GB Notification: Performance of Templates: time 0.6504/1.059, allocations: 5.849 MB / 1.14 GB, free: 58.11 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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.723840818973258]