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.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 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.006228/0.006228, allocations: 101.5 kB / 15.73 MB, free: 5.953 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.001208/0.001209, allocations: 192.2 kB / 16.67 MB, free: 5.883 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.458/1.458, allocations: 222.9 MB / 240.4 MB, free: 4.168 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.682/2.682, allocations: 390.2 MB / 0.6648 GB, free: 168 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 58.94 kB / 0.9509 GB, free: 5.73 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3106/0.3118, allocations: 140.4 MB / 1.088 GB, free: 1.57 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.00311/0.315, allocations: 1.438 MB / 1.089 GB, free: 124 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.004961/0.32, allocations: 2.885 MB / 1.092 GB, free: 13.22 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.019e-05/0.3201, allocations: 4 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.906e-05/0.3202, allocations: 7.922 kB / 1.092 GB, free: 13.21 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.984e-05/0.3202, allocations: 15.86 kB / 1.092 GB, free: 13.19 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004604/0.3248, allocations: 1.591 MB / 1.094 GB, free: 11.62 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001261/0.325, allocations: 39.73 kB / 1.094 GB, free: 11.58 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.944e-05/0.325, allocations: 4 kB / 1.094 GB, free: 11.57 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.815e-05/0.3251, allocations: 11.94 kB / 1.094 GB, free: 11.56 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.399e-05/0.3251, allocations: 27.86 kB / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.104e-05/0.3251, allocations: 0 / 1.094 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003152/0.3283, allocations: 1.533 MB / 1.095 GB, free: 10 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.159e-05/0.3284, allocations: 4 kB / 1.095 GB, free: 9.996 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.443e-05/0.3284, allocations: 23.8 kB / 1.095 GB, free: 9.973 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.3304, allocations: 1.096 MB / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.481e-05/0.3305, allocations: 0 / 1.096 GB, free: 8.875 MB / 0.8575 GB Notification: Performance of FrontEnd: time 3.727e-06/0.3305, allocations: 3.984 kB / 1.096 GB, free: 8.871 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.39e-06/0.3305, allocations: 4 kB / 1.096 GB, free: 8.867 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.0007052/0.3312, allocations: 0.5185 MB / 1.097 GB, free: 8.301 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.3312, allocations: 12.03 kB / 1.097 GB, free: 8.289 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.11e-05/0.3313, allocations: 80.12 kB / 1.097 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001621/0.3315, allocations: 243.6 kB / 1.097 GB, free: 7.934 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.742e-05/0.3316, allocations: 154.9 kB / 1.097 GB, free: 7.781 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.848e-05/0.3316, allocations: 154.9 kB / 1.098 GB, free: 7.629 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.581e-05/0.3317, allocations: 113.1 kB / 1.098 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.807e-05/0.3318, allocations: 75.28 kB / 1.098 GB, free: 7.438 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.42e-05/0.3318, allocations: 154.5 kB / 1.098 GB, free: 7.285 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.702e-05/0.3319, allocations: 154.6 kB / 1.098 GB, free: 7.133 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.657e-05/0.332, allocations: 150.6 kB / 1.098 GB, free: 6.984 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003419/0.3323, allocations: 469.9 kB / 1.099 GB, free: 6.477 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 8.414e-05/0.3324, allocations: 169.1 kB / 1.099 GB, free: 6.301 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.829e-05/0.3325, allocations: 84.08 kB / 1.099 GB, free: 6.215 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.096e-05/0.3325, allocations: 75.28 kB / 1.099 GB, free: 6.141 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.958e-05/0.3326, allocations: 113.8 kB / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 1.483e-06/0.3326, allocations: 0 / 1.099 GB, free: 6.02 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 9.333e-05/0.3327, allocations: 33.61 kB / 1.099 GB, free: 5.98 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.659e-05/0.3328, allocations: 130.7 kB / 1.099 GB, free: 5.84 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001537/0.3329, allocations: 131.8 kB / 1.099 GB, free: 5.703 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 1.611e-05/0.3329, allocations: 25.7 kB / 1.099 GB, free: 5.672 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 4.972e-05/0.333, allocations: 96.05 kB / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.644e-06/0.333, allocations: 0 / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.354e-05/0.3331, allocations: 13.72 kB / 1.1 GB, free: 5.555 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.3332, allocations: 326.8 kB / 1.1 GB, free: 5.227 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.792e-05/0.3332, allocations: 4 kB / 1.1 GB, free: 5.223 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.743e-05/0.3332, allocations: 11.88 kB / 1.1 GB, free: 5.211 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.978e-05/0.3333, allocations: 24.97 kB / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.3333, allocations: 0 / 1.1 GB, free: 5.184 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001294/0.3334, allocations: 57.56 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.3334, allocations: 4 kB / 1.1 GB, free: 5.117 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.114e-05/0.3335, allocations: 4 kB / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/0.3335, allocations: 64 / 1.1 GB, free: 5.113 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.3335, allocations: 4 kB / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.009e-06/0.3335, allocations: 0 / 1.1 GB, free: 5.109 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.755e-05/0.3335, allocations: 3.906 kB / 1.1 GB, free: 5.105 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.809e-06/0.3336, allocations: 4 kB / 1.1 GB, free: 5.102 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 9.681e-05/0.3337, allocations: 185.1 kB / 1.1 GB, free: 4.91 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.666e-05/0.3337, allocations: 116.8 kB / 1.1 GB, free: 4.789 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.598e-05/0.3338, allocations: 108.9 kB / 1.1 GB, free: 4.672 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.967e-05/0.3338, allocations: 188.2 kB / 1.101 GB, free: 4.48 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.813e-05/0.3339, allocations: 176.3 kB / 1.101 GB, free: 4.301 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.158e-05/0.334, allocations: 180.2 kB / 1.101 GB, free: 4.117 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3342, allocations: 417.2 kB / 1.101 GB, free: 3.652 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.124e-05/0.3342, allocations: 104.9 kB / 1.101 GB, free: 3.543 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.922e-05/0.3343, allocations: 108.9 kB / 1.101 GB, free: 3.43 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.435e-05/0.3344, allocations: 180.3 kB / 1.102 GB, free: 3.246 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.114e-05/0.3344, allocations: 184.2 kB / 1.102 GB, free: 3.059 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.884e-05/0.3345, allocations: 176.3 kB / 1.102 GB, free: 2.879 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.981e-05/0.3346, allocations: 176.3 kB / 1.102 GB, free: 2.699 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/0.3347, allocations: 315.8 kB / 1.102 GB, free: 2.367 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 7.762e-05/0.3348, allocations: 189.9 kB / 1.103 GB, free: 2.156 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.811e-05/0.3349, allocations: 180.3 kB / 1.103 GB, free: 1.973 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.646e-05/0.335, allocations: 109 kB / 1.103 GB, free: 1.859 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.089e-05/0.335, allocations: 180.2 kB / 1.103 GB, free: 1.676 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.327e-05/0.3351, allocations: 109 kB / 1.103 GB, free: 1.562 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 7.103e-05/0.3352, allocations: 97.14 kB / 1.103 GB, free: 1.469 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3352, allocations: 4 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.000804/0.336, allocations: 279.8 kB / 1.104 GB, free: 1.191 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.001199/0.3372, allocations: 0.5431 MB / 1.104 GB, free: 0.6406 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001028/0.3373, allocations: 41.64 kB / 1.104 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.3373, allocations: 0 / 1.104 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 2.655e-06/0.3373, allocations: 0 / 1.104 GB, free: 0.5938 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004073/0.3377, allocations: 476.2 kB / 1.105 GB, free: 128 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003684/0.3381, allocations: 236.2 kB / 1.105 GB, free: 15.87 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.3384, allocations: 0.6884 MB / 1.105 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.55e-05/0.3384, allocations: 0 / 1.105 GB, free: 15.15 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.531e-05/0.3384, allocations: 11.44 kB / 1.105 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.3384, allocations: 0 / 1.105 GB, free: 15.14 MB / 0.8731 GB Notification: Performance of Templates: time 0.00995/0.3484, allocations: 5.618 MB / 1.111 GB, free: 9.574 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_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