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.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 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_11_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_11_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.006036/0.006036, allocations: 99.55 kB / 15.73 MB, free: 6 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.001276/0.001276, allocations: 193 kB / 16.68 MB, free: 5.922 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.378/1.378, allocations: 222.9 MB / 240.4 MB, free: 4.117 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.x/package.mo): time 2.766/2.766, allocations: 469.8 MB / 0.7425 GB, free: 7.355 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001343/0.001343, allocations: 67.89 kB / 1.065 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2701/0.2714, allocations: 159.1 MB / 1.221 GB, free: 13.73 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002569/0.274, allocations: 1.449 MB / 1.222 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.004266/0.2783, allocations: 2.876 MB / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.533e-05/0.2783, allocations: 0 / 1.225 GB, free: 9.387 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 2.737e-05/0.2783, allocations: 3.938 kB / 1.225 GB, free: 9.383 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 6.708e-05/0.2784, allocations: 11.86 kB / 1.225 GB, free: 9.371 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.003853/0.2822, allocations: 1.559 MB / 1.226 GB, free: 7.828 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 8.16e-05/0.2823, allocations: 39.73 kB / 1.226 GB, free: 7.789 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 3.455e-05/0.2824, allocations: 4 kB / 1.226 GB, free: 7.785 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 2.96e-05/0.2824, allocations: 11.92 kB / 1.226 GB, free: 7.773 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 2.781e-05/0.2824, allocations: 23.86 kB / 1.227 GB, free: 7.75 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.112e-05/0.2824, allocations: 4 kB / 1.227 GB, free: 7.746 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002133/0.2846, allocations: 1.482 MB / 1.228 GB, free: 6.262 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 1.461e-05/0.2846, allocations: 4 kB / 1.228 GB, free: 6.258 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 3.034e-05/0.2846, allocations: 15.88 kB / 1.228 GB, free: 6.242 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001624/0.2862, allocations: 1.095 MB / 1.229 GB, free: 5.145 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.286e-06/0.2862, allocations: 4 kB / 1.229 GB, free: 5.141 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.173e-06/0.2862, allocations: 3.938 kB / 1.229 GB, free: 5.137 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 7.945e-06/0.2862, allocations: 0 / 1.229 GB, free: 5.137 MB / 0.9825 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.0006443/0.2869, allocations: 0.5184 MB / 1.23 GB, free: 4.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.366e-05/0.2869, allocations: 15.97 kB / 1.23 GB, free: 4.555 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.393e-05/0.287, allocations: 80.17 kB / 1.23 GB, free: 4.477 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001291/0.2871, allocations: 255.5 kB / 1.23 GB, free: 4.188 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.428e-05/0.2872, allocations: 154.9 kB / 1.23 GB, free: 4.035 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.739e-05/0.2872, allocations: 154.9 kB / 1.23 GB, free: 3.883 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.419e-05/0.2873, allocations: 109 kB / 1.23 GB, free: 3.77 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.265e-05/0.2873, allocations: 75.28 kB / 1.23 GB, free: 3.695 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.768e-05/0.2873, allocations: 158.6 kB / 1.231 GB, free: 3.539 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.517e-05/0.2874, allocations: 150.6 kB / 1.231 GB, free: 3.391 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.654e-05/0.2874, allocations: 158.5 kB / 1.231 GB, free: 3.234 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002791/0.2877, allocations: 469.9 kB / 1.231 GB, free: 2.727 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.263e-05/0.2878, allocations: 165.1 kB / 1.231 GB, free: 2.555 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.819e-05/0.2878, allocations: 84.14 kB / 1.232 GB, free: 2.469 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.661e-05/0.2878, allocations: 79.28 kB / 1.232 GB, free: 2.391 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.735e-05/0.2879, allocations: 109.8 kB / 1.232 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 1.051e-06/0.2879, allocations: 0 / 1.232 GB, free: 2.273 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.314e-05/0.2879, allocations: 37.59 kB / 1.232 GB, free: 2.23 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.955e-05/0.288, allocations: 130.7 kB / 1.232 GB, free: 2.09 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000128/0.2881, allocations: 131.7 kB / 1.232 GB, free: 1.953 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.08e-05/0.2881, allocations: 25.7 kB / 1.232 GB, free: 1.922 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.407e-05/0.2882, allocations: 96.14 kB / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-06/0.2882, allocations: 0 / 1.232 GB, free: 1.824 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.085e-05/0.2882, allocations: 13.72 kB / 1.232 GB, free: 1.805 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 9.97e-05/0.2883, allocations: 318.8 kB / 1.232 GB, free: 1.484 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.422e-05/0.2883, allocations: 4 kB / 1.232 GB, free: 1.48 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.519e-05/0.2883, allocations: 4 kB / 1.232 GB, free: 1.477 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.81e-05/0.2884, allocations: 12.86 kB / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.2884, allocations: 0 / 1.232 GB, free: 1.461 MB / 0.9825 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001191/0.2885, allocations: 65.55 kB / 1.232 GB, free: 1.391 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.2885, allocations: 4 kB / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.691e-05/0.2885, allocations: 0 / 1.232 GB, free: 1.387 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.228e-05/0.2885, allocations: 4 kB / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.042e-06/0.2885, allocations: 0 / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.468e-06/0.2886, allocations: 0 / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.143e-05/0.2886, allocations: 0 / 1.232 GB, free: 1.383 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.231e-06/0.2886, allocations: 0 / 1.232 GB, free: 1.383 MB / 0.9825 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.976e-05/0.2887, allocations: 185.1 kB / 1.233 GB, free: 1.191 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.585e-05/0.2887, allocations: 116.9 kB / 1.233 GB, free: 1.07 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.559e-05/0.2888, allocations: 112.8 kB / 1.233 GB, free: 0.9531 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.427e-05/0.2888, allocations: 180.3 kB / 1.233 GB, free: 0.7695 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-05/0.2889, allocations: 184.2 kB / 1.233 GB, free: 0.582 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.669e-05/0.2889, allocations: 184.2 kB / 1.233 GB, free: 404 kB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.2892, allocations: 413.2 kB / 1.234 GB, free: 15.93 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.589e-05/0.2892, allocations: 112.9 kB / 1.234 GB, free: 15.82 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.234e-05/0.2893, allocations: 105 kB / 1.234 GB, free: 15.71 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.498e-05/0.2893, allocations: 180.2 kB / 1.234 GB, free: 15.52 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.271e-05/0.2894, allocations: 180.2 kB / 1.234 GB, free: 15.34 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.575e-05/0.2894, allocations: 184.2 kB / 1.235 GB, free: 15.15 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.385e-05/0.2895, allocations: 184.3 kB / 1.235 GB, free: 14.96 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001249/0.2896, allocations: 307.7 kB / 1.235 GB, free: 14.64 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 7.105e-05/0.2897, allocations: 194 kB / 1.235 GB, free: 14.43 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.046e-05/0.2897, allocations: 180.2 kB / 1.235 GB, free: 14.24 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.942e-05/0.2898, allocations: 109 kB / 1.235 GB, free: 14.13 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.2899, allocations: 180.3 kB / 1.236 GB, free: 13.95 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.677e-05/0.2899, allocations: 112.9 kB / 1.236 GB, free: 13.83 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 5.394e-05/0.29, allocations: 97.45 kB / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of sort global known variables: time 7e-08/0.29, allocations: 0 / 1.236 GB, free: 13.73 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0007724/0.2907, allocations: 287 kB / 1.236 GB, free: 13.45 MB / 0.9981 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.001145/0.2919, allocations: 0.521 MB / 1.237 GB, free: 12.92 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 9.137e-05/0.292, allocations: 41.69 kB / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.292, allocations: 0 / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 1.964e-06/0.292, allocations: 0 / 1.237 GB, free: 12.88 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003841/0.2924, allocations: 471.6 kB / 1.237 GB, free: 12.41 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003083/0.2927, allocations: 244 kB / 1.237 GB, free: 12.14 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.2929, allocations: 0.6807 MB / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 1.866e-05/0.2929, allocations: 0 / 1.238 GB, free: 11.44 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.522e-05/0.2929, allocations: 7.438 kB / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of SimCode: time 5.21e-07/0.2929, allocations: 0 / 1.238 GB, free: 11.43 MB / 0.9981 GB Notification: Performance of Templates: time 0.009389/0.3023, allocations: 5.474 MB / 1.243 GB, free: 6.008 MB / 0.9981 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_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