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.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,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=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007322/0.007322, allocations: 98.61 kB / 15.73 MB, free: 6.07 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001819/0.001819, allocations: 195.3 kB / 16.67 MB, free: 5.977 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.541/2.541, allocations: 469.8 MB / 0.7425 GB, free: 3.328 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001243/0.001243, allocations: 63.91 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7395/0.7407, allocations: 159.1 MB / 1.221 GB, free: 2.09 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002224/0.7429, allocations: 1.444 MB / 1.222 GB, free: 0.6367 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004072/0.747, allocations: 2.9 MB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.52e-05/0.747, allocations: 4 kB / 1.225 GB, free: 13.72 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.158e-05/0.7471, allocations: 7.922 kB / 1.225 GB, free: 13.71 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.622e-05/0.7471, allocations: 15.86 kB / 1.225 GB, free: 13.7 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.003595/0.7507, allocations: 1.59 MB / 1.227 GB, free: 12.12 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.429e-05/0.7508, allocations: 43.73 kB / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.376e-05/0.7509, allocations: 0 / 1.227 GB, free: 12.08 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 3.064e-05/0.7509, allocations: 19.92 kB / 1.227 GB, free: 12.06 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 2.568e-05/0.7509, allocations: 15.88 kB / 1.227 GB, free: 12.05 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.049e-05/0.7509, allocations: 8 kB / 1.227 GB, free: 12.04 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002025/0.753, allocations: 1.533 MB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 1.441e-05/0.753, allocations: 7.984 kB / 1.228 GB, free: 10.5 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 2.742e-05/0.753, allocations: 15.88 kB / 1.228 GB, free: 10.48 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001344/0.7544, allocations: 1.123 MB / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.7544, allocations: 0 / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.163e-06/0.7544, allocations: 0 / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.62e-06/0.7544, allocations: 0 / 1.229 GB, free: 9.359 MB / 0.9512 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.0006/0.755, allocations: 0.5324 MB / 1.23 GB, free: 8.777 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.755, allocations: 8.031 kB / 1.23 GB, free: 8.77 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.828e-05/0.7551, allocations: 84.17 kB / 1.23 GB, free: 8.688 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001313/0.7552, allocations: 247.6 kB / 1.23 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.4e-05/0.7552, allocations: 150.9 kB / 1.23 GB, free: 8.258 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.098e-05/0.7553, allocations: 158.9 kB / 1.23 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.722e-05/0.7553, allocations: 113.1 kB / 1.23 GB, free: 7.984 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.377e-05/0.7554, allocations: 75.28 kB / 1.231 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.223e-05/0.7554, allocations: 150.6 kB / 1.231 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.334e-05/0.7554, allocations: 150.6 kB / 1.231 GB, free: 7.613 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.587e-05/0.7555, allocations: 150.6 kB / 1.231 GB, free: 7.465 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002656/0.7558, allocations: 469.9 kB / 1.231 GB, free: 6.957 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.124e-05/0.7558, allocations: 169.1 kB / 1.232 GB, free: 6.781 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.112e-05/0.7559, allocations: 80.14 kB / 1.232 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.303e-05/0.7559, allocations: 79.28 kB / 1.232 GB, free: 6.621 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.485e-05/0.7559, allocations: 113.8 kB / 1.232 GB, free: 6.5 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 9.02e-07/0.7559, allocations: 4 kB / 1.232 GB, free: 6.496 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 7.006e-05/0.756, allocations: 37.62 kB / 1.232 GB, free: 6.453 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.003e-05/0.7561, allocations: 126.7 kB / 1.232 GB, free: 6.316 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.7562, allocations: 143.7 kB / 1.232 GB, free: 6.168 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.242e-05/0.7562, allocations: 25.7 kB / 1.232 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.725e-05/0.7562, allocations: 88.16 kB / 1.232 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.256e-06/0.7562, allocations: 4 kB / 1.232 GB, free: 6.043 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.456e-05/0.7563, allocations: 21.7 kB / 1.232 GB, free: 6.016 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.7564, allocations: 318.8 kB / 1.233 GB, free: 5.695 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.283e-05/0.7564, allocations: 4 kB / 1.233 GB, free: 5.691 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.583e-05/0.7564, allocations: 4 kB / 1.233 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.821e-05/0.7564, allocations: 20.84 kB / 1.233 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.7564, allocations: 0 / 1.233 GB, free: 5.664 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001232/0.7566, allocations: 65.53 kB / 1.233 GB, free: 5.594 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.12e-05/0.7566, allocations: 4 kB / 1.233 GB, free: 5.59 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.978e-05/0.7566, allocations: 11.92 kB / 1.233 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.7566, allocations: 0 / 1.233 GB, free: 5.578 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.7566, allocations: 4.062 kB / 1.233 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.727e-06/0.7566, allocations: 0 / 1.233 GB, free: 5.574 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.358e-05/0.7566, allocations: 3.984 kB / 1.233 GB, free: 5.57 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.526e-06/0.7566, allocations: 4 kB / 1.233 GB, free: 5.566 MB / 0.9512 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 8.685e-05/0.7567, allocations: 184 kB / 1.233 GB, free: 5.379 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.988e-05/0.7568, allocations: 116.9 kB / 1.233 GB, free: 5.258 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.463e-05/0.7568, allocations: 112.8 kB / 1.233 GB, free: 5.137 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.563e-05/0.7569, allocations: 188.2 kB / 1.233 GB, free: 4.945 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.698e-05/0.757, allocations: 180.2 kB / 1.233 GB, free: 4.762 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-05/0.757, allocations: 176.3 kB / 1.234 GB, free: 4.582 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002114/0.7572, allocations: 413.2 kB / 1.234 GB, free: 4.121 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.202e-05/0.7573, allocations: 108.9 kB / 1.234 GB, free: 4.008 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.374e-05/0.7573, allocations: 105 kB / 1.234 GB, free: 3.898 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.788e-05/0.7573, allocations: 184.2 kB / 1.234 GB, free: 3.711 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.344e-05/0.7574, allocations: 180.3 kB / 1.235 GB, free: 3.527 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.231e-05/0.7574, allocations: 180.3 kB / 1.235 GB, free: 3.344 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.231e-05/0.7575, allocations: 180.2 kB / 1.235 GB, free: 3.16 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001283/0.7576, allocations: 315.7 kB / 1.235 GB, free: 2.828 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 8.22e-05/0.7577, allocations: 190 kB / 1.235 GB, free: 2.617 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.115e-05/0.7578, allocations: 176.3 kB / 1.236 GB, free: 2.438 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.7e-05/0.7579, allocations: 112.9 kB / 1.236 GB, free: 2.32 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.765e-05/0.7579, allocations: 180.3 kB / 1.236 GB, free: 2.137 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.046e-05/0.7579, allocations: 108.9 kB / 1.236 GB, free: 2.023 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.074e-05/0.758, allocations: 101.1 kB / 1.236 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.01e-07/0.758, allocations: 0 / 1.236 GB, free: 1.926 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0006887/0.7587, allocations: 287 kB / 1.236 GB, free: 1.645 MB / 0.9512 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.001005/0.7597, allocations: 0.5457 MB / 1.237 GB, free: 1.09 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 9.829e-05/0.7598, allocations: 41.69 kB / 1.237 GB, free: 1.043 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.7598, allocations: 4 kB / 1.237 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 1.683e-06/0.7598, allocations: 0 / 1.237 GB, free: 1.039 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003668/0.7602, allocations: 463.6 kB / 1.237 GB, free: 0.582 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000303/0.7605, allocations: 244 kB / 1.238 GB, free: 324 kB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002167/0.7607, allocations: 0.6807 MB / 1.238 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.707e-05/0.7607, allocations: 4 kB / 1.238 GB, free: 15.61 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.829e-06/0.7607, allocations: 7.438 kB / 1.238 GB, free: 15.6 MB / 0.9669 GB Notification: Performance of SimCode: time 3.31e-07/0.7607, allocations: 3.938 kB / 1.238 GB, free: 15.59 MB / 0.9669 GB Notification: Performance of Templates: time 0.009112/0.7698, allocations: 5.636 MB / 1.244 GB, free: 10.01 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (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=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) 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/jenkins/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) "" 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