Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/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_latest_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_latest_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.001487/0.001494, allocations: 111.5 kB / 16.42 MB, free: 6.484 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.001598/0.001598, allocations: 186.6 kB / 17.35 MB, free: 5.75 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 / 241.1 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.684/2.684, allocations: 469.4 MB / 0.7428 GB, free: 3.566 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001466/0.001466, allocations: 71.88 kB / 1.066 GB, free: 13.71 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9208/0.9222, allocations: 159.1 MB / 1.221 GB, free: 2.352 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.003216/0.9255, allocations: 1.432 MB / 1.222 GB, free: 0.9102 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.004969/0.9305, allocations: 2.865 MB / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.619e-05/0.9306, allocations: 0 / 1.225 GB, free: 14.03 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 2.978e-05/0.9306, allocations: 7.922 kB / 1.225 GB, free: 14.02 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 6.747e-05/0.9307, allocations: 15.86 kB / 1.225 GB, free: 14.01 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.004455/0.9352, allocations: 1.555 MB / 1.227 GB, free: 12.47 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001067/0.9353, allocations: 43.67 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.682e-05/0.9354, allocations: 7.797 kB / 1.227 GB, free: 12.43 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 2.993e-05/0.9354, allocations: 11.94 kB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 3.906e-05/0.9355, allocations: 19.92 kB / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.9355, allocations: 0 / 1.227 GB, free: 12.39 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002501/0.938, allocations: 1.482 MB / 1.228 GB, free: 10.91 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.143e-05/0.938, allocations: 15.92 kB / 1.228 GB, free: 10.89 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 4.593e-05/0.9381, allocations: 15.88 kB / 1.228 GB, free: 10.88 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001954/0.94, allocations: 1.078 MB / 1.229 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 5.189e-06/0.9401, allocations: 0 / 1.229 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.392e-06/0.9401, allocations: 0 / 1.229 GB, free: 9.801 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.821e-06/0.9401, allocations: 0 / 1.229 GB, free: 9.801 MB / 0.9512 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.0007723/0.9408, allocations: 0.5145 MB / 1.23 GB, free: 9.238 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 4.572e-05/0.9409, allocations: 16.61 kB / 1.23 GB, free: 9.223 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.774e-05/0.941, allocations: 80.12 kB / 1.23 GB, free: 9.145 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.9411, allocations: 247.5 kB / 1.23 GB, free: 8.863 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.009e-05/0.9412, allocations: 158.9 kB / 1.23 GB, free: 8.707 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.929e-05/0.9413, allocations: 158.9 kB / 1.23 GB, free: 8.551 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.623e-05/0.9413, allocations: 105.1 kB / 1.231 GB, free: 8.441 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.855e-05/0.9414, allocations: 75.28 kB / 1.231 GB, free: 8.367 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.895e-05/0.9414, allocations: 150.6 kB / 1.231 GB, free: 8.219 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.703e-05/0.9415, allocations: 150.6 kB / 1.231 GB, free: 8.07 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.095e-05/0.9416, allocations: 162.5 kB / 1.231 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003089/0.9419, allocations: 465.9 kB / 1.232 GB, free: 7.406 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 7.625e-05/0.942, allocations: 165.1 kB / 1.232 GB, free: 7.234 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.447e-05/0.942, allocations: 84.14 kB / 1.232 GB, free: 7.148 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.408e-05/0.9421, allocations: 83.27 kB / 1.232 GB, free: 7.066 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.899e-05/0.9421, allocations: 109.8 kB / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 1.122e-06/0.9421, allocations: 0 / 1.232 GB, free: 6.949 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 8.576e-05/0.9422, allocations: 41.55 kB / 1.232 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.862e-05/0.9422, allocations: 51.41 kB / 1.232 GB, free: 6.84 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001449/0.9424, allocations: 128 kB / 1.232 GB, free: 6.707 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.54e-05/0.9424, allocations: 25.7 kB / 1.232 GB, free: 6.676 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 5.256e-05/0.9425, allocations: 96.14 kB / 1.232 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.937e-06/0.9425, allocations: 0 / 1.232 GB, free: 6.578 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.071e-05/0.9425, allocations: 21.64 kB / 1.232 GB, free: 6.551 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001066/0.9426, allocations: 314.8 kB / 1.233 GB, free: 6.234 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.483e-05/0.9427, allocations: 4 kB / 1.233 GB, free: 6.23 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.688e-05/0.9427, allocations: 4 kB / 1.233 GB, free: 6.227 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.994e-05/0.9427, allocations: 16.84 kB / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.814e-06/0.9428, allocations: 0 / 1.233 GB, free: 6.207 MB / 0.9512 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001278/0.9429, allocations: 61.52 kB / 1.233 GB, free: 6.141 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.469e-05/0.9429, allocations: 4 kB / 1.233 GB, free: 6.137 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.214e-05/0.9429, allocations: 7.984 kB / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.487e-05/0.943, allocations: 0 / 1.233 GB, free: 6.129 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.474e-06/0.943, allocations: 3.984 kB / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.127e-06/0.943, allocations: 0 / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.943, allocations: 0 / 1.233 GB, free: 6.125 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.54e-06/0.943, allocations: 0 / 1.233 GB, free: 6.125 MB / 0.9512 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.000101/0.9431, allocations: 185.1 kB / 1.233 GB, free: 5.934 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.061e-05/0.9432, allocations: 120.9 kB / 1.233 GB, free: 5.809 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.669e-05/0.9433, allocations: 112.8 kB / 1.233 GB, free: 5.688 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.861e-05/0.9433, allocations: 184.3 kB / 1.233 GB, free: 5.5 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.98e-05/0.9434, allocations: 109 kB / 1.233 GB, free: 5.387 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 7.466e-05/0.9435, allocations: 182 kB / 1.234 GB, free: 5.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.719e-05/0.9435, allocations: 176.3 kB / 1.234 GB, free: 5.004 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.091e-05/0.9436, allocations: 116.9 kB / 1.234 GB, free: 4.883 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.31e-05/0.9437, allocations: 176.3 kB / 1.234 GB, free: 4.703 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.318e-05/0.9438, allocations: 263.4 kB / 1.234 GB, free: 4.438 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001711/0.944, allocations: 375 kB / 1.235 GB, free: 4.047 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.895e-05/0.944, allocations: 120.9 kB / 1.235 GB, free: 3.922 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 6.26e-05/0.9441, allocations: 97.14 kB / 1.235 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of Backend: time 4.31e-07/0.9441, allocations: 0 / 1.235 GB, free: 3.828 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001825/0.9459, allocations: 0.5033 MB / 1.235 GB, free: 3.312 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0007043/0.9467, allocations: 0.9245 MB / 1.236 GB, free: 2.336 MB / 0.9512 GB Notification: Performance of Templates: time 0.01161/0.9583, allocations: 6.24 MB / 1.242 GB, free: 12.15 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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