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.007695/0.007696, allocations: 101.6 kB / 15.73 MB, free: 5.98 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.001391/0.001391, allocations: 194.2 kB / 16.67 MB, free: 5.918 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.412/1.412, allocations: 222.9 MB / 240.4 MB, free: 4.34 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.518/2.518, allocations: 390.2 MB / 0.6648 GB, free: 208 kB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.001249, allocations: 63.7 kB / 0.9509 GB, free: 5.602 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3162/0.3174, allocations: 140.4 MB / 1.088 GB, free: 1.473 MB / 0.8419 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002535/0.32, allocations: 1.433 MB / 1.089 GB, free: 32 kB / 0.8419 GB Notification: Performance of NFInst.instExpressions: time 0.005334/0.3254, allocations: 2.904 MB / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.97e-05/0.3255, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 2.3e-05/0.3255, allocations: 0 / 1.092 GB, free: 13.11 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.373e-05/0.3256, allocations: 11.81 kB / 1.092 GB, free: 13.1 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.004448/0.3301, allocations: 1.593 MB / 1.094 GB, free: 11.52 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001133/0.3302, allocations: 43.73 kB / 1.094 GB, free: 11.48 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 4.927e-05/0.3303, allocations: 4 kB / 1.094 GB, free: 11.47 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.3303, allocations: 19.92 kB / 1.094 GB, free: 11.45 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001194/0.3304, allocations: 15.88 kB / 1.094 GB, free: 11.44 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.218e-05/0.3304, allocations: 4 kB / 1.094 GB, free: 11.43 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002292/0.3327, allocations: 1.533 MB / 1.095 GB, free: 9.898 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.767e-05/0.3328, allocations: 3.984 kB / 1.095 GB, free: 9.895 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.502e-05/0.3328, allocations: 23.81 kB / 1.095 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3343, allocations: 1.096 MB / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/0.3343, allocations: 0 / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.633e-06/0.3343, allocations: 0 / 1.096 GB, free: 8.773 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.64e-06/0.3343, allocations: 4 kB / 1.096 GB, free: 8.77 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.0006632/0.335, allocations: 0.5185 MB / 1.097 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.965e-05/0.335, allocations: 8.031 kB / 1.097 GB, free: 8.195 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.242e-05/0.3351, allocations: 88.06 kB / 1.097 GB, free: 8.109 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001625/0.3353, allocations: 247.6 kB / 1.097 GB, free: 7.828 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.569e-05/0.3353, allocations: 150.9 kB / 1.097 GB, free: 7.68 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.993e-05/0.3354, allocations: 154.9 kB / 1.098 GB, free: 7.527 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.533e-05/0.3355, allocations: 105.1 kB / 1.098 GB, free: 7.418 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.76e-05/0.3355, allocations: 79.28 kB / 1.098 GB, free: 7.34 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.28e-05/0.3356, allocations: 154.6 kB / 1.098 GB, free: 7.188 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.001e-05/0.3357, allocations: 150.6 kB / 1.098 GB, free: 7.039 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.153e-05/0.3357, allocations: 154.5 kB / 1.098 GB, free: 6.887 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003192/0.336, allocations: 469.9 kB / 1.099 GB, free: 6.379 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 9.515e-05/0.3361, allocations: 165.1 kB / 1.099 GB, free: 6.207 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.448e-05/0.3362, allocations: 80.14 kB / 1.099 GB, free: 6.125 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.3362, allocations: 75.28 kB / 1.099 GB, free: 6.051 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.317e-05/0.3363, allocations: 117.8 kB / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=0): time 9.71e-07/0.3363, allocations: 0 / 1.099 GB, free: 5.926 MB / 0.8575 GB Notification: Performance of matching and sorting (n=0): time 8.144e-05/0.3364, allocations: 37.53 kB / 1.099 GB, free: 5.883 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.036e-05/0.3365, allocations: 134.7 kB / 1.099 GB, free: 5.738 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001442/0.3366, allocations: 128.2 kB / 1.099 GB, free: 5.605 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.11e-05/0.3367, allocations: 25.7 kB / 1.099 GB, free: 5.574 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.706e-05/0.3368, allocations: 96.05 kB / 1.099 GB, free: 5.477 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 2.404e-06/0.3368, allocations: 4 kB / 1.1 GB, free: 5.473 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.24e-05/0.3368, allocations: 17.7 kB / 1.1 GB, free: 5.449 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.000153/0.337, allocations: 314.8 kB / 1.1 GB, free: 5.133 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.545e-05/0.337, allocations: 4 kB / 1.1 GB, free: 5.129 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.801e-05/0.337, allocations: 8 kB / 1.1 GB, free: 5.121 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.248e-05/0.3371, allocations: 24.89 kB / 1.1 GB, free: 5.094 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.407e-06/0.3371, allocations: 11.94 kB / 1.1 GB, free: 5.082 MB / 0.8575 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000149/0.3373, allocations: 49.58 kB / 1.1 GB, free: 5.027 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.833e-05/0.3373, allocations: 8 kB / 1.1 GB, free: 5.02 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.346e-05/0.3373, allocations: 4.062 kB / 1.1 GB, free: 5.016 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.3374, allocations: 4 kB / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.11e-07/0.3374, allocations: 0 / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.354e-06/0.3374, allocations: 0 / 1.1 GB, free: 5.012 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.606e-05/0.3374, allocations: 3.906 kB / 1.1 GB, free: 5.008 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.3374, allocations: 3.984 kB / 1.1 GB, free: 5.004 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.0001304/0.3376, allocations: 185.1 kB / 1.1 GB, free: 4.812 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.911e-05/0.3376, allocations: 112.8 kB / 1.1 GB, free: 4.695 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.169e-05/0.3377, allocations: 116.9 kB / 1.1 GB, free: 4.57 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001392/0.3379, allocations: 176.3 kB / 1.1 GB, free: 4.391 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.304e-05/0.338, allocations: 188.2 kB / 1.101 GB, free: 4.199 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.17e-05/0.338, allocations: 176.3 kB / 1.101 GB, free: 4.02 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003153/0.3384, allocations: 413.2 kB / 1.101 GB, free: 3.559 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.485e-05/0.3384, allocations: 112.9 kB / 1.101 GB, free: 3.441 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.819e-05/0.3385, allocations: 105 kB / 1.101 GB, free: 3.332 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.546e-05/0.3386, allocations: 180.2 kB / 1.102 GB, free: 3.148 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.788e-05/0.3387, allocations: 176.3 kB / 1.102 GB, free: 2.969 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.113e-05/0.3388, allocations: 184.2 kB / 1.102 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001045/0.3389, allocations: 176.3 kB / 1.102 GB, free: 2.602 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000172/0.339, allocations: 311.8 kB / 1.102 GB, free: 2.273 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001102/0.3392, allocations: 189.9 kB / 1.103 GB, free: 2.062 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001027/0.3393, allocations: 184.2 kB / 1.103 GB, free: 1.875 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.927e-05/0.3394, allocations: 105 kB / 1.103 GB, free: 1.766 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000102/0.3395, allocations: 188.2 kB / 1.103 GB, free: 1.574 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.085e-05/0.3395, allocations: 104.9 kB / 1.103 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 6.909e-05/0.3396, allocations: 95.27 kB / 1.103 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1e-07/0.3396, allocations: 0 / 1.103 GB, free: 1.371 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0009246/0.3406, allocations: 283.8 kB / 1.104 GB, free: 1.094 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.001282/0.3418, allocations: 0.5414 MB / 1.104 GB, free: 0.543 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.342, allocations: 37.7 kB / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.342, allocations: 0 / 1.104 GB, free: 0.5 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 3.276e-06/0.342, allocations: 3.938 kB / 1.104 GB, free: 0.4961 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.3425, allocations: 482.3 kB / 1.105 GB, free: 24 kB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000395/0.3429, allocations: 233.3 kB / 1.105 GB, free: 15.77 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3433, allocations: 0.6846 MB / 1.105 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.445e-05/0.3433, allocations: 0 / 1.105 GB, free: 15.06 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.346e-05/0.3433, allocations: 11.38 kB / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.3433, allocations: 0 / 1.105 GB, free: 15.05 MB / 0.8731 GB Notification: Performance of Templates: time 0.01055/0.3539, allocations: 5.621 MB / 1.111 GB, free: 9.48 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