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.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.00139/0.00139, 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.001656/0.001656, allocations: 158.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.499/1.499, 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 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.898/2.898, allocations: 377.9 MB / 0.6228 GB, free: 12.64 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.InternalResistancesTwoUTubeNegative,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.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_12_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.002183/0.002183, allocations: 63.91 kB / 0.982 GB, free: 12.16 MB / 0.9356 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.167/1.169, allocations: 176.1 MB / 1.154 GB, free: 33.37 MB / 1.076 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00239/1.172, allocations: 1.44 MB / 1.155 GB, free: 32.39 MB / 1.076 GB Notification: Performance of NFInst.instExpressions: time 0.003849/1.176, allocations: 2.678 MB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.369e-05/1.176, allocations: 3.938 kB / 1.158 GB, free: 30.68 MB / 1.076 GB Notification: Performance of NFTyping.typeComponents: time 2.823e-05/1.176, allocations: 3.938 kB / 1.158 GB, free: 30.67 MB / 1.076 GB Notification: Performance of NFTyping.typeBindings: time 7.618e-05/1.176, allocations: 18.03 kB / 1.158 GB, free: 30.66 MB / 1.076 GB Notification: Performance of NFTyping.typeClassSections: time 0.004216/1.18, allocations: 1.632 MB / 1.16 GB, free: 29.89 MB / 1.076 GB Notification: Performance of NFFlatten.flatten: time 0.0001154/1.18, allocations: 43.2 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of NFFlatten.resolveConnections: time 4.862e-05/1.18, allocations: 2.875 kB / 1.16 GB, free: 29.88 MB / 1.076 GB Notification: Performance of NFEvalConstants.evaluate: time 3.076e-05/1.18, allocations: 20.33 kB / 1.16 GB, free: 29.87 MB / 1.076 GB Notification: Performance of NFSimplifyModel.simplify: time 3.146e-05/1.18, allocations: 13.62 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of NFPackage.collectConstants: time 1.118e-05/1.18, allocations: 6.688 kB / 1.16 GB, free: 29.86 MB / 1.076 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/1.183, allocations: 1.48 MB / 1.161 GB, free: 29.47 MB / 1.076 GB Notification: Performance of NFScalarize.scalarize: time 1.896e-05/1.183, allocations: 10.69 kB / 1.161 GB, free: 29.46 MB / 1.076 GB Notification: Performance of NFVerifyModel.verify: time 3.126e-05/1.183, allocations: 20.42 kB / 1.161 GB, free: 29.45 MB / 1.076 GB Notification: Performance of NFConvertDAE.convert: time 0.001434/1.184, allocations: 1.111 MB / 1.162 GB, free: 29.16 MB / 1.076 GB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/1.184, allocations: 0 / 1.162 GB, free: 29.16 MB / 1.076 GB Notification: Performance of FrontEnd: time 1.834e-06/1.184, allocations: 0 / 1.162 GB, free: 29.16 MB / 1.076 GB Notification: Performance of Transformations before backend: time 7.063e-06/1.184, allocations: 0 / 1.162 GB, free: 29.16 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.0005503/1.185, allocations: 466.5 kB / 1.163 GB, free: 28.75 MB / 1.076 GB Notification: Performance of prepare preOptimizeDAE: time 4.047e-05/1.185, allocations: 11.44 kB / 1.163 GB, free: 28.75 MB / 1.076 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.175e-05/1.185, allocations: 80.17 kB / 1.163 GB, free: 28.67 MB / 1.076 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001168/1.185, allocations: 198.7 kB / 1.163 GB, free: 28.46 MB / 1.076 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.361e-05/1.185, allocations: 157.8 kB / 1.163 GB, free: 28.31 MB / 1.076 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.576e-05/1.185, allocations: 150.9 kB / 1.163 GB, free: 28.16 MB / 1.076 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.281e-05/1.185, allocations: 112 kB / 1.163 GB, free: 28.05 MB / 1.076 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.726e-05/1.185, allocations: 75.28 kB / 1.163 GB, free: 27.97 MB / 1.076 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.657e-05/1.185, allocations: 150.6 kB / 1.164 GB, free: 27.82 MB / 1.076 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.327e-05/1.185, allocations: 150.6 kB / 1.164 GB, free: 27.68 MB / 1.076 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.635e-05/1.185, allocations: 157.1 kB / 1.164 GB, free: 27.52 MB / 1.076 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002072/1.185, allocations: 412.8 kB / 1.164 GB, free: 27.11 MB / 1.076 GB Notification: Performance of preOpt comSubExp (simulation): time 5.946e-05/1.185, allocations: 172.1 kB / 1.164 GB, free: 26.93 MB / 1.076 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.003e-05/1.185, allocations: 84.14 kB / 1.165 GB, free: 26.84 MB / 1.076 GB Notification: Performance of preOpt evalFunc (simulation): time 1.843e-05/1.185, allocations: 79.28 kB / 1.165 GB, free: 26.77 MB / 1.076 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.759e-05/1.185, allocations: 116.6 kB / 1.165 GB, free: 26.64 MB / 1.076 GB Notification: Performance of pre-optimization done (n=0): time 1.563e-06/1.185, allocations: 4 kB / 1.165 GB, free: 26.64 MB / 1.076 GB Notification: Performance of matching and sorting (n=0): time 7.578e-05/1.185, allocations: 36.25 kB / 1.165 GB, free: 26.6 MB / 1.076 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.478e-05/1.185, allocations: 126.7 kB / 1.165 GB, free: 26.46 MB / 1.076 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001311/1.186, allocations: 135.7 kB / 1.165 GB, free: 26.36 MB / 1.076 GB Notification: Performance of collectPreVariables (initialization): time 1.077e-05/1.186, allocations: 28.36 kB / 1.165 GB, free: 26.32 MB / 1.076 GB Notification: Performance of collectInitialEqns (initialization): time 3.645e-05/1.186, allocations: 94.36 kB / 1.165 GB, free: 26.23 MB / 1.076 GB Notification: Performance of collectInitialBindings (initialization): time 2.265e-06/1.186, allocations: 0 / 1.165 GB, free: 26.23 MB / 1.076 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.342e-05/1.186, allocations: 19.38 kB / 1.165 GB, free: 26.21 MB / 1.076 GB Notification: Performance of setup shared object (initialization): time 5.336e-05/1.186, allocations: 314.3 kB / 1.165 GB, free: 25.9 MB / 1.076 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.401e-05/1.186, allocations: 6.781 kB / 1.165 GB, free: 25.9 MB / 1.076 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/1.186, allocations: 5.281 kB / 1.165 GB, free: 25.9 MB / 1.076 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.927e-05/1.186, allocations: 22.2 kB / 1.165 GB, free: 25.88 MB / 1.076 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.186, allocations: 0 / 1.165 GB, free: 25.88 MB / 1.076 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001206/1.186, allocations: 48.88 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/1.186, allocations: 8.406 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.433e-05/1.186, allocations: 8.156 kB / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.842e-05/1.186, allocations: 0 / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.52e-07/1.186, allocations: 0 / 1.166 GB, free: 25.84 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.833e-06/1.186, allocations: 3.984 kB / 1.166 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.503e-05/1.186, allocations: 6.203 kB / 1.166 GB, free: 25.83 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.035e-06/1.186, allocations: 0 / 1.166 GB, free: 25.83 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 7.322e-05/1.186, allocations: 190.9 kB / 1.166 GB, free: 25.64 MB / 1.076 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.404e-05/1.186, allocations: 124.4 kB / 1.166 GB, free: 25.52 MB / 1.076 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.89e-05/1.186, allocations: 107 kB / 1.166 GB, free: 25.4 MB / 1.076 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.647e-05/1.186, allocations: 184.2 kB / 1.166 GB, free: 25.21 MB / 1.076 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.851e-05/1.186, allocations: 181.8 kB / 1.166 GB, free: 25.03 MB / 1.076 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.749e-05/1.186, allocations: 178.5 kB / 1.166 GB, free: 24.85 MB / 1.076 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001317/1.186, allocations: 366.7 kB / 1.167 GB, free: 24.46 MB / 1.076 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.602e-05/1.186, allocations: 106.6 kB / 1.167 GB, free: 24.36 MB / 1.076 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.861e-05/1.186, allocations: 104.9 kB / 1.167 GB, free: 24.25 MB / 1.076 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.135e-05/1.186, allocations: 178.5 kB / 1.167 GB, free: 24.07 MB / 1.076 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.283e-05/1.186, allocations: 180.2 kB / 1.167 GB, free: 23.89 MB / 1.076 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.758e-05/1.186, allocations: 194.5 kB / 1.168 GB, free: 23.69 MB / 1.076 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.729e-05/1.187, allocations: 182.2 kB / 1.168 GB, free: 23.51 MB / 1.076 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.807e-05/1.187, allocations: 300.2 kB / 1.168 GB, free: 23.2 MB / 1.076 GB Notification: Performance of postOpt removeConstants (simulation): time 2.441e-05/1.187, allocations: 116.6 kB / 1.168 GB, free: 23.09 MB / 1.076 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.729e-05/1.187, allocations: 186.4 kB / 1.168 GB, free: 22.9 MB / 1.076 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.679e-05/1.187, allocations: 101 kB / 1.168 GB, free: 22.79 MB / 1.076 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.353e-05/1.187, allocations: 186.4 kB / 1.169 GB, free: 22.61 MB / 1.076 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.571e-05/1.187, allocations: 105 kB / 1.169 GB, free: 22.5 MB / 1.076 GB Notification: Performance of sorting global known variables: time 4.435e-05/1.187, allocations: 104.5 kB / 1.169 GB, free: 22.41 MB / 1.076 GB Notification: Performance of sort global known variables: time 9e-08/1.187, allocations: 3.938 kB / 1.169 GB, free: 22.41 MB / 1.076 GB Notification: Performance of remove unused functions: time 0.000829/1.188, allocations: 299 kB / 1.169 GB, free: 22.33 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.00103/1.189, allocations: 0.5536 MB / 1.17 GB, free: 22.05 MB / 1.076 GB Notification: Performance of simCode: created initialization part: time 0.0001205/1.189, allocations: 41.7 kB / 1.17 GB, free: 22.02 MB / 1.076 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/1.189, allocations: 0 / 1.17 GB, free: 22.02 MB / 1.076 GB Notification: Performance of simCode: created simulation system equations: time 2.104e-06/1.189, allocations: 0 / 1.17 GB, free: 22.02 MB / 1.076 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000339/1.189, allocations: 468.8 kB / 1.17 GB, free: 21.57 MB / 1.076 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003005/1.189, allocations: 244.5 kB / 1.17 GB, free: 21.35 MB / 1.076 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.494e-05/1.189, allocations: 69.16 kB / 1.17 GB, free: 21.28 MB / 1.076 GB Notification: Performance of simCode: alias equations: time 1.384e-05/1.189, allocations: 0 / 1.17 GB, free: 21.28 MB / 1.076 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.297e-05/1.189, allocations: 8.5 kB / 1.17 GB, free: 21.27 MB / 1.076 GB Notification: Performance of SimCode: time 3.4e-07/1.189, allocations: 2.812 kB / 1.17 GB, free: 21.27 MB / 1.076 GB Notification: Performance of Templates: time 0.01184/1.201, allocations: 5.854 MB / 1.176 GB, free: 20.8 MB / 1.076 GB " [Timeout remaining time 299] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=400 -s ida -emit_protected -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) [Timeout 400] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_12.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_12_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.890634953044355]