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.InternalResistancesTwoUTubeNegative.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.001956/0.001956, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.002286/0.002286, allocations: 154.8 kB / 23.01 MB, free: 4.949 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.517/1.517, allocations: 177.2 MB / 203.4 MB, free: 8.949 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 3.125/3.125, allocations: 359.1 MB / 0.6044 GB, free: 14.86 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.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,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.InternalResistancesTwoUTubeNegative") [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.002157/0.002157, allocations: 72.17 kB / 0.9516 GB, free: 12.71 MB / 0.9044 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3906/0.3928, allocations: 169.9 MB / 1.118 GB, free: 2.469 MB / 1.061 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.003038/0.3958, allocations: 1.441 MB / 1.119 GB, free: 1.02 MB / 1.061 GB Notification: Performance of NFInst.instExpressions: time 0.004887/0.4007, allocations: 2.681 MB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.592e-05/0.4008, allocations: 0 / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 3.669e-05/0.4008, allocations: 7.922 kB / 1.122 GB, free: 14.32 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.541e-05/0.4009, allocations: 11.86 kB / 1.122 GB, free: 14.3 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004701/0.4056, allocations: 1.641 MB / 1.123 GB, free: 12.68 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.000118/0.4057, allocations: 47.66 kB / 1.123 GB, free: 12.63 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.42e-05/0.4057, allocations: 4 kB / 1.123 GB, free: 12.62 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.024e-05/0.4058, allocations: 19.92 kB / 1.123 GB, free: 12.61 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.732e-05/0.4058, allocations: 15.88 kB / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.225e-05/0.4058, allocations: 0 / 1.123 GB, free: 12.59 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002928/0.4087, allocations: 1.486 MB / 1.125 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.911e-05/0.4088, allocations: 0 / 1.125 GB, free: 11.1 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 5.72e-05/0.4088, allocations: 23.86 kB / 1.125 GB, free: 11.08 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.002061/0.4109, allocations: 1.095 MB / 1.126 GB, free: 9.98 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 1.284e-05/0.4109, allocations: 8 kB / 1.126 GB, free: 9.973 MB / 1.076 GB Notification: Performance of FrontEnd: time 2.525e-06/0.4109, allocations: 0 / 1.126 GB, free: 9.973 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.725e-06/0.4109, allocations: 4 kB / 1.126 GB, free: 9.969 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.0008441/0.4118, allocations: 472 kB / 1.126 GB, free: 9.477 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/0.4118, allocations: 11.97 kB / 1.126 GB, free: 9.465 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.983e-05/0.4119, allocations: 84.17 kB / 1.126 GB, free: 9.383 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000191/0.4121, allocations: 185.8 kB / 1.127 GB, free: 9.176 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.569e-05/0.4122, allocations: 154.9 kB / 1.127 GB, free: 9.023 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.296e-05/0.4123, allocations: 150.9 kB / 1.127 GB, free: 8.875 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001654/0.4124, allocations: 113.1 kB / 1.127 GB, free: 8.758 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.126e-05/0.4125, allocations: 75.28 kB / 1.127 GB, free: 8.684 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001283/0.4126, allocations: 154.6 kB / 1.127 GB, free: 8.531 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.628e-05/0.4127, allocations: 154.6 kB / 1.127 GB, free: 8.379 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000119/0.4128, allocations: 158.5 kB / 1.127 GB, free: 8.223 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.4132, allocations: 413.5 kB / 1.128 GB, free: 7.789 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001923/0.4134, allocations: 169.1 kB / 1.128 GB, free: 7.613 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.53e-05/0.4135, allocations: 80.14 kB / 1.128 GB, free: 7.531 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 4.536e-05/0.4135, allocations: 79.22 kB / 1.128 GB, free: 7.453 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001607/0.4137, allocations: 109.8 kB / 1.128 GB, free: 7.336 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.473e-06/0.4137, allocations: 4 kB / 1.128 GB, free: 7.332 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 9.987e-05/0.4138, allocations: 37.53 kB / 1.128 GB, free: 7.289 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.508e-05/0.4139, allocations: 126.7 kB / 1.128 GB, free: 7.152 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001927/0.4141, allocations: 137.7 kB / 1.129 GB, free: 7.008 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.4141, allocations: 29.7 kB / 1.129 GB, free: 6.973 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 8.482e-05/0.4142, allocations: 96.09 kB / 1.129 GB, free: 6.875 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 3.827e-06/0.4142, allocations: 0 / 1.129 GB, free: 6.875 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.48e-05/0.4142, allocations: 17.7 kB / 1.129 GB, free: 6.852 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 0.0001979/0.4144, allocations: 318.8 kB / 1.129 GB, free: 6.531 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.566e-05/0.4145, allocations: 0 / 1.129 GB, free: 6.531 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.151e-05/0.4145, allocations: 11.98 kB / 1.129 GB, free: 6.52 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.076e-05/0.4145, allocations: 16.8 kB / 1.129 GB, free: 6.5 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.4145, allocations: 3.938 kB / 1.129 GB, free: 6.496 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001669/0.4147, allocations: 49.7 kB / 1.129 GB, free: 6.441 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 2.375e-05/0.4147, allocations: 12 kB / 1.129 GB, free: 6.43 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.685e-05/0.4147, allocations: 4 kB / 1.129 GB, free: 6.426 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.764e-05/0.4148, allocations: 0 / 1.129 GB, free: 6.426 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.727e-06/0.4148, allocations: 3.984 kB / 1.129 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.612e-06/0.4148, allocations: 0 / 1.129 GB, free: 6.422 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.651e-05/0.4148, allocations: 4.016 kB / 1.129 GB, free: 6.418 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.637e-05/0.4148, allocations: 8 kB / 1.129 GB, free: 6.41 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.0001599/0.415, allocations: 181.1 kB / 1.129 GB, free: 6.223 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001009/0.4151, allocations: 116.8 kB / 1.129 GB, free: 6.102 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.705e-05/0.4152, allocations: 108.8 kB / 1.129 GB, free: 5.984 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001196/0.4153, allocations: 184.2 kB / 1.13 GB, free: 5.797 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001114/0.4154, allocations: 184.2 kB / 1.13 GB, free: 5.609 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001108/0.4155, allocations: 180.3 kB / 1.13 GB, free: 5.426 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003338/0.4159, allocations: 364.8 kB / 1.13 GB, free: 5.031 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.102e-05/0.4159, allocations: 101 kB / 1.13 GB, free: 4.926 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.043e-05/0.416, allocations: 109 kB / 1.131 GB, free: 4.812 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001152/0.4161, allocations: 184.2 kB / 1.131 GB, free: 4.625 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001103/0.4162, allocations: 184.2 kB / 1.131 GB, free: 4.438 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001105/0.4163, allocations: 180.2 kB / 1.131 GB, free: 4.254 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001083/0.4164, allocations: 180.3 kB / 1.131 GB, free: 4.07 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002443/0.4167, allocations: 311.7 kB / 1.132 GB, free: 3.742 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 7.514e-05/0.4168, allocations: 116.9 kB / 1.132 GB, free: 3.621 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001256/0.4169, allocations: 184.1 kB / 1.132 GB, free: 3.434 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001133/0.417, allocations: 105 kB / 1.132 GB, free: 3.324 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/0.4171, allocations: 188.2 kB / 1.132 GB, free: 3.133 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.578e-05/0.4172, allocations: 101.3 kB / 1.132 GB, free: 3.027 MB / 1.076 GB Notification: Performance of sorting global known variables: time 8.185e-05/0.4173, allocations: 101.6 kB / 1.132 GB, free: 2.93 MB / 1.076 GB Notification: Performance of sort global known variables: time 7e-08/0.4173, allocations: 0 / 1.132 GB, free: 2.93 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.001102/0.4184, allocations: 291 kB / 1.133 GB, free: 2.645 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.001291/0.4197, allocations: 0.569 MB / 1.133 GB, free: 2.066 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001317/0.4198, allocations: 37.7 kB / 1.133 GB, free: 2.023 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.4198, allocations: 0 / 1.133 GB, free: 2.023 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 4.238e-06/0.4198, allocations: 3.938 kB / 1.133 GB, free: 2.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004818/0.4203, allocations: 471.2 kB / 1.134 GB, free: 1.559 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004122/0.4207, allocations: 240.6 kB / 1.134 GB, free: 1.297 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.776e-05/0.4208, allocations: 67.34 kB / 1.134 GB, free: 1.211 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.436e-05/0.4208, allocations: 0 / 1.134 GB, free: 1.211 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.017e-05/0.4208, allocations: 24.36 kB / 1.134 GB, free: 1.188 MB / 1.076 GB Notification: Performance of SimCode: time 4.11e-07/0.4208, allocations: 0 / 1.134 GB, free: 1.188 MB / 1.076 GB Notification: Performance of Templates: time 0.6678/1.089, allocations: 5.848 MB / 1.14 GB, free: 58.13 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] "" Variables in the reference:time,Rgb,Rgg1,Rgg2,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg1,Rgg2,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x [Calling sys.exit(0), Time elapsed: 9.68830220901873]