Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002278/0.002279, allocations: 108 kB / 15.61 MB, free: 148 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00252/0.002521, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.514/1.514, allocations: 222.9 MB / 240.2 MB, free: 4.387 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.89/2.89, allocations: 437 MB / 0.7104 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002703/0.002703, allocations: 67.89 kB / 0.8693 GB, free: 4.598 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7723/0.7751, allocations: 151.6 MB / 1.017 GB, free: 2.512 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003598/0.7787, allocations: 1.428 MB / 1.019 GB, free: 1.07 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.005324/0.7841, allocations: 2.864 MB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.229e-05/0.7842, allocations: 0 / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 2.896e-05/0.7843, allocations: 3.938 kB / 1.022 GB, free: 14.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.764e-05/0.7844, allocations: 19.84 kB / 1.022 GB, free: 14.17 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004657/0.7891, allocations: 1.561 MB / 1.023 GB, free: 12.63 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001042/0.7892, allocations: 43.72 kB / 1.023 GB, free: 12.59 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.163e-05/0.7892, allocations: 7.984 kB / 1.023 GB, free: 12.58 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.157e-05/0.7893, allocations: 11.94 kB / 1.023 GB, free: 12.57 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.7893, allocations: 27.86 kB / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.187e-05/0.7893, allocations: 0 / 1.023 GB, free: 12.54 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002405/0.7918, allocations: 1.42 MB / 1.025 GB, free: 11.12 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.78e-05/0.7918, allocations: 3.984 kB / 1.025 GB, free: 11.11 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.981e-05/0.7918, allocations: 23.86 kB / 1.025 GB, free: 11.09 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001703/0.7935, allocations: 1.072 MB / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.739e-06/0.7936, allocations: 0 / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.924e-06/0.7936, allocations: 0 / 1.026 GB, free: 10.02 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.951e-06/0.7936, allocations: 0 / 1.026 GB, free: 10.02 MB / 0.7794 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.0007143/0.7943, allocations: 0.5224 MB / 1.026 GB, free: 9.445 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.108e-05/0.7944, allocations: 8.031 kB / 1.026 GB, free: 9.438 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.398e-05/0.7944, allocations: 88.11 kB / 1.026 GB, free: 9.352 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001987/0.7946, allocations: 255.4 kB / 1.026 GB, free: 9.062 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.181e-05/0.7947, allocations: 150.9 kB / 1.027 GB, free: 8.914 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.585e-05/0.7948, allocations: 154.9 kB / 1.027 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.01e-05/0.7949, allocations: 109.1 kB / 1.027 GB, free: 8.648 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.499e-05/0.7949, allocations: 75.28 kB / 1.027 GB, free: 8.574 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.787e-05/0.795, allocations: 150.6 kB / 1.027 GB, free: 8.426 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.258e-05/0.7951, allocations: 158.6 kB / 1.027 GB, free: 8.27 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.69e-05/0.7951, allocations: 154.5 kB / 1.027 GB, free: 8.117 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003731/0.7955, allocations: 465.9 kB / 1.028 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001173/0.7956, allocations: 165.1 kB / 1.028 GB, free: 7.441 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.438e-05/0.7957, allocations: 80.14 kB / 1.028 GB, free: 7.359 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.307e-05/0.7957, allocations: 75.28 kB / 1.028 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.926e-05/0.7958, allocations: 117.7 kB / 1.028 GB, free: 7.16 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.72e-07/0.7958, allocations: 4 kB / 1.028 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.395e-05/0.7959, allocations: 37.55 kB / 1.028 GB, free: 7.113 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.301e-05/0.796, allocations: 130.6 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001658/0.7962, allocations: 131.4 kB / 1.029 GB, free: 6.836 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.028e-05/0.7962, allocations: 25.7 kB / 1.029 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 6.259e-05/0.7963, allocations: 92.14 kB / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.384e-06/0.7963, allocations: 0 / 1.029 GB, free: 6.711 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.739e-05/0.7963, allocations: 17.7 kB / 1.029 GB, free: 6.688 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.7965, allocations: 322.8 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.141e-05/0.7965, allocations: 0 / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.692e-05/0.7965, allocations: 4 kB / 1.029 GB, free: 6.359 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.733e-05/0.7966, allocations: 16.84 kB / 1.029 GB, free: 6.34 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.332e-06/0.7966, allocations: 4 kB / 1.029 GB, free: 6.336 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001466/0.7967, allocations: 53.48 kB / 1.029 GB, free: 6.277 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.567e-05/0.7968, allocations: 6.031 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.021e-05/0.7968, allocations: 4 kB / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.7968, allocations: 0 / 1.029 GB, free: 6.27 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.685e-06/0.7968, allocations: 8.047 kB / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.611e-06/0.7968, allocations: 0 / 1.029 GB, free: 6.262 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.398e-05/0.7968, allocations: 4 kB / 1.029 GB, free: 6.258 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.264e-06/0.7969, allocations: 4 kB / 1.029 GB, free: 6.254 MB / 0.7794 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.0001287/0.797, allocations: 181.1 kB / 1.029 GB, free: 6.066 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.673e-05/0.7971, allocations: 116.8 kB / 1.029 GB, free: 5.945 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.041e-05/0.7971, allocations: 104.9 kB / 1.029 GB, free: 5.836 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.101e-05/0.7972, allocations: 192.3 kB / 1.03 GB, free: 5.641 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.586e-05/0.7973, allocations: 184.2 kB / 1.03 GB, free: 5.453 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.661e-05/0.7974, allocations: 180.3 kB / 1.03 GB, free: 5.27 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002825/0.7977, allocations: 413.2 kB / 1.03 GB, free: 4.809 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.494e-05/0.7977, allocations: 104.9 kB / 1.03 GB, free: 4.699 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.833e-05/0.7978, allocations: 105 kB / 1.031 GB, free: 4.59 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.222e-05/0.7979, allocations: 192.2 kB / 1.031 GB, free: 4.395 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.239e-05/0.798, allocations: 176.3 kB / 1.031 GB, free: 4.215 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.9e-05/0.798, allocations: 184.2 kB / 1.031 GB, free: 4.027 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.187e-05/0.7981, allocations: 176.3 kB / 1.031 GB, free: 3.848 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001781/0.7983, allocations: 319.7 kB / 1.032 GB, free: 3.512 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.936e-05/0.7984, allocations: 186 kB / 1.032 GB, free: 3.305 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.078e-05/0.7985, allocations: 180.2 kB / 1.032 GB, free: 3.121 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.099e-05/0.7986, allocations: 109 kB / 1.032 GB, free: 3.008 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.284e-05/0.7987, allocations: 180.3 kB / 1.032 GB, free: 2.824 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.385e-05/0.7988, allocations: 112.9 kB / 1.032 GB, free: 2.707 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.505e-05/0.7988, allocations: 95.27 kB / 1.032 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1e-07/0.7988, allocations: 0 / 1.032 GB, free: 2.613 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008222/0.7997, allocations: 279.8 kB / 1.033 GB, free: 2.34 MB / 0.7794 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.001139/0.8008, allocations: 0.5172 MB / 1.033 GB, free: 1.812 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001134/0.8009, allocations: 41.64 kB / 1.033 GB, free: 1.766 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.8009, allocations: 4.062 kB / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.713e-06/0.8009, allocations: 0 / 1.033 GB, free: 1.762 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004576/0.8014, allocations: 480.3 kB / 1.034 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003769/0.8018, allocations: 228.1 kB / 1.034 GB, free: 1.039 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.8021, allocations: 0.6807 MB / 1.035 GB, free: 340 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.537e-05/0.8022, allocations: 4 kB / 1.035 GB, free: 336 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.377e-05/0.8022, allocations: 11.42 kB / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.8022, allocations: 0 / 1.035 GB, free: 324 kB / 0.7794 GB Notification: Performance of Templates: time 0.01081/0.813, allocations: 5.475 MB / 1.04 GB, free: 10.89 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) "" Variables in the reference:time,Rgb,Rgg,RCondGro,x Variables in the result:RCondGro,Rb,Rgb,Rgg,cpMed,eTub,hSeg,kFil,kMed,kSoi,kTub,m_flow_nominal,muMed,rBor,rTub,sha,time,x