Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.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_9_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_9_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.008023/0.008023, allocations: 99.27 kB / 15.73 MB, free: 6.445 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.001771/0.001771, allocations: 194.4 kB / 16.67 MB, free: 6.348 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.477/1.477, allocations: 222.9 MB / 240.4 MB, free: 4.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.572/2.572, allocations: 390.2 MB / 0.6648 GB, free: 204 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001275/0.001275, allocations: 66.8 kB / 0.9509 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.315/0.3163, allocations: 140.4 MB / 1.088 GB, free: 1.461 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002528/0.3188, allocations: 1.435 MB / 1.089 GB, free: 20 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004247/0.3231, allocations: 2.85 MB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.438e-05/0.3232, allocations: 0 / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.99e-05/0.3233, allocations: 3.938 kB / 1.092 GB, free: 13.15 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.298e-05/0.3233, allocations: 11.86 kB / 1.092 GB, free: 13.14 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.00395/0.3273, allocations: 1.57 MB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.216e-05/0.3274, allocations: 39.73 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.28e-05/0.3274, allocations: 4 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.115e-05/0.3275, allocations: 11.94 kB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 2.933e-05/0.3275, allocations: 23.86 kB / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.011e-05/0.3275, allocations: 0 / 1.094 GB, free: 11.5 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002393/0.3299, allocations: 1.486 MB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.69e-05/0.33, allocations: 3.984 kB / 1.095 GB, free: 10.01 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.794e-05/0.33, allocations: 19.88 kB / 1.095 GB, free: 9.988 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001861/0.3319, allocations: 1.072 MB / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.3319, allocations: 0 / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.613e-06/0.3319, allocations: 0 / 1.096 GB, free: 8.914 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 6.703e-06/0.3319, allocations: 0 / 1.096 GB, free: 8.914 MB / 0.8575 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.0006383/0.3325, allocations: 0.5285 MB / 1.097 GB, free: 8.336 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.212e-05/0.3326, allocations: 12.03 kB / 1.097 GB, free: 8.324 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.116e-05/0.3327, allocations: 84.17 kB / 1.097 GB, free: 8.242 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000188/0.3329, allocations: 251.5 kB / 1.097 GB, free: 7.957 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.13e-05/0.3329, allocations: 150.9 kB / 1.097 GB, free: 7.809 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.721e-05/0.333, allocations: 154.9 kB / 1.097 GB, free: 7.656 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.119e-05/0.3331, allocations: 113 kB / 1.098 GB, free: 7.539 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.846e-05/0.3331, allocations: 79.27 kB / 1.098 GB, free: 7.461 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.606e-05/0.3332, allocations: 150.6 kB / 1.098 GB, free: 7.312 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.933e-05/0.3332, allocations: 154.5 kB / 1.098 GB, free: 7.16 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.327e-05/0.3333, allocations: 150.6 kB / 1.098 GB, free: 7.012 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.3336, allocations: 469.9 kB / 1.099 GB, free: 6.504 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.893e-05/0.3337, allocations: 173.1 kB / 1.099 GB, free: 6.324 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.551e-05/0.3338, allocations: 80.14 kB / 1.099 GB, free: 6.242 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.514e-05/0.3338, allocations: 79.28 kB / 1.099 GB, free: 6.164 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.894e-05/0.3339, allocations: 109.8 kB / 1.099 GB, free: 6.047 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.52e-07/0.3339, allocations: 4 kB / 1.099 GB, free: 6.043 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 7.96e-05/0.3339, allocations: 25.7 kB / 1.099 GB, free: 6.012 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.614e-05/0.334, allocations: 130.7 kB / 1.099 GB, free: 5.871 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001412/0.3342, allocations: 132 kB / 1.099 GB, free: 5.734 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.385e-05/0.3342, allocations: 29.64 kB / 1.099 GB, free: 5.699 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 6.339e-05/0.3343, allocations: 96.02 kB / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.3343, allocations: 0 / 1.099 GB, free: 5.602 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3343, allocations: 21.72 kB / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001207/0.3344, allocations: 318.8 kB / 1.1 GB, free: 5.254 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.744e-05/0.3345, allocations: 8 kB / 1.1 GB, free: 5.246 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.754e-05/0.3345, allocations: 4 kB / 1.1 GB, free: 5.242 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.783e-05/0.3345, allocations: 8.859 kB / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.424e-06/0.3345, allocations: 0 / 1.1 GB, free: 5.23 MB / 0.8575 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001464/0.3347, allocations: 49.62 kB / 1.1 GB, free: 5.176 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.74e-05/0.3347, allocations: 8 kB / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.022e-05/0.3347, allocations: 0 / 1.1 GB, free: 5.168 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.3348, allocations: 4 kB / 1.1 GB, free: 5.164 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.108e-06/0.3348, allocations: 12 kB / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.971e-06/0.3348, allocations: 0 / 1.1 GB, free: 5.152 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.235e-05/0.3348, allocations: 3.953 kB / 1.1 GB, free: 5.148 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.163e-06/0.3348, allocations: 0 / 1.1 GB, free: 5.148 MB / 0.8575 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.0001137/0.3349, allocations: 185.1 kB / 1.1 GB, free: 4.957 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.733e-05/0.335, allocations: 113 kB / 1.1 GB, free: 4.84 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.26e-05/0.3351, allocations: 112.8 kB / 1.1 GB, free: 4.719 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.673e-05/0.3352, allocations: 184.2 kB / 1.1 GB, free: 4.531 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.829e-05/0.3352, allocations: 180.2 kB / 1.101 GB, free: 4.348 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.114e-05/0.3353, allocations: 184.2 kB / 1.101 GB, free: 4.16 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002444/0.3356, allocations: 413.2 kB / 1.101 GB, free: 3.699 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.458e-05/0.3356, allocations: 104.9 kB / 1.101 GB, free: 3.59 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.392e-05/0.3357, allocations: 116.9 kB / 1.101 GB, free: 3.469 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.809e-05/0.3357, allocations: 176.3 kB / 1.101 GB, free: 3.289 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-05/0.3358, allocations: 180.2 kB / 1.102 GB, free: 3.105 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.57e-05/0.3359, allocations: 184.2 kB / 1.102 GB, free: 2.918 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.436e-05/0.336, allocations: 184.2 kB / 1.102 GB, free: 2.73 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001389/0.3361, allocations: 303.8 kB / 1.102 GB, free: 2.41 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 8.514e-05/0.3362, allocations: 193.9 kB / 1.102 GB, free: 2.195 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.234e-05/0.3363, allocations: 184.2 kB / 1.103 GB, free: 2.008 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.318e-05/0.3364, allocations: 108.9 kB / 1.103 GB, free: 1.895 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.143e-05/0.3365, allocations: 176.3 kB / 1.103 GB, free: 1.715 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.191e-05/0.3365, allocations: 109 kB / 1.103 GB, free: 1.602 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.463e-05/0.3366, allocations: 99.27 kB / 1.103 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3366, allocations: 0 / 1.103 GB, free: 1.504 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0007212/0.3373, allocations: 279 kB / 1.103 GB, free: 1.23 MB / 0.8575 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.001116/0.3384, allocations: 0.5289 MB / 1.104 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001114/0.3386, allocations: 41.7 kB / 1.104 GB, free: 0.6484 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.3386, allocations: 3.938 kB / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 1.883e-06/0.3386, allocations: 0 / 1.104 GB, free: 0.6445 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004069/0.339, allocations: 468.2 kB / 1.104 GB, free: 188 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003586/0.3394, allocations: 244 kB / 1.105 GB, free: 15.92 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003071/0.3397, allocations: 0.6846 MB / 1.105 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.407e-05/0.3397, allocations: 0 / 1.105 GB, free: 15.21 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.597e-05/0.3397, allocations: 7.438 kB / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of SimCode: time 2.01e-07/0.3397, allocations: 0 / 1.105 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of Templates: time 0.009906/0.3496, allocations: 5.455 MB / 1.111 GB, free: 9.797 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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