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.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 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.InternalResistancesTwoUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_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.001331/0.001331, allocations: 111.5 kB / 16.42 MB, free: 6.488 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.001475/0.001475, allocations: 186.5 kB / 17.35 MB, free: 5.762 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.41/1.41, allocations: 222.9 MB / 241.1 MB, free: 15.18 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.611/2.611, allocations: 469.4 MB / 0.7428 GB, free: 3.605 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001465/0.001465, allocations: 68.12 kB / 1.066 GB, free: 13.77 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8591/0.8606, allocations: 159.1 MB / 1.221 GB, free: 2.371 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.004217/0.8649, allocations: 1.447 MB / 1.222 GB, free: 0.9141 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.006462/0.8714, allocations: 2.9 MB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001112/0.8716, allocations: 0 / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 4.262e-05/0.8716, allocations: 3.938 kB / 1.225 GB, free: 14 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001225/0.8718, allocations: 19.84 kB / 1.225 GB, free: 13.98 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.005986/0.8778, allocations: 1.59 MB / 1.227 GB, free: 12.41 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 0.0001561/0.878, allocations: 43.73 kB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 5.911e-05/0.8781, allocations: 3.938 kB / 1.227 GB, free: 12.36 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 4.111e-05/0.8781, allocations: 15.94 kB / 1.227 GB, free: 12.34 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 4.763e-05/0.8782, allocations: 19.86 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.631e-05/0.8782, allocations: 4 kB / 1.227 GB, free: 12.32 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003693/0.8819, allocations: 1.533 MB / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 2.462e-05/0.8819, allocations: 0 / 1.228 GB, free: 10.79 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 5.593e-05/0.882, allocations: 19.88 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.003045/0.885, allocations: 1.117 MB / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 8.667e-06/0.8851, allocations: 0 / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of FrontEnd: time 3.065e-06/0.8851, allocations: 0 / 1.229 GB, free: 9.648 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 1.785e-05/0.8851, allocations: 4 kB / 1.229 GB, free: 9.645 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.0008994/0.886, allocations: 0.5185 MB / 1.23 GB, free: 9.078 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 6.119e-05/0.8861, allocations: 8.625 kB / 1.23 GB, free: 9.07 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.039e-05/0.8862, allocations: 88.12 kB / 1.23 GB, free: 8.984 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002473/0.8864, allocations: 247.5 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001023/0.8865, allocations: 150.9 kB / 1.23 GB, free: 8.555 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.595e-05/0.8867, allocations: 150.9 kB / 1.231 GB, free: 8.406 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.511e-05/0.8868, allocations: 113 kB / 1.231 GB, free: 8.289 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.141e-05/0.8868, allocations: 75.28 kB / 1.231 GB, free: 8.215 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.788e-05/0.8869, allocations: 154.6 kB / 1.231 GB, free: 8.062 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.49e-05/0.887, allocations: 150.6 kB / 1.231 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.845e-05/0.8871, allocations: 154.5 kB / 1.231 GB, free: 7.762 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003922/0.8875, allocations: 465.9 kB / 1.232 GB, free: 7.258 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.8876, allocations: 173.1 kB / 1.232 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 5e-05/0.8876, allocations: 80.14 kB / 1.232 GB, free: 6.996 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 4.565e-05/0.8877, allocations: 75.28 kB / 1.232 GB, free: 6.922 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.364e-05/0.8878, allocations: 117.8 kB / 1.232 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8878, allocations: 0 / 1.232 GB, free: 6.797 MB / 0.9512 GB Notification: Performance of matching and sorting (n=0): time 9.558e-05/0.8879, allocations: 29.61 kB / 1.232 GB, free: 6.762 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.548e-05/0.8879, allocations: 51.41 kB / 1.232 GB, free: 6.699 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001903/0.8881, allocations: 136 kB / 1.232 GB, free: 6.559 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 2.405e-05/0.8882, allocations: 25.7 kB / 1.232 GB, free: 6.527 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 7.824e-05/0.8882, allocations: 96.06 kB / 1.232 GB, free: 6.43 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 5.009e-06/0.8883, allocations: 8 kB / 1.232 GB, free: 6.422 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.939e-05/0.8883, allocations: 21.72 kB / 1.232 GB, free: 6.395 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001766/0.8885, allocations: 318.8 kB / 1.233 GB, free: 6.074 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.95e-05/0.8885, allocations: 4 kB / 1.233 GB, free: 6.07 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.986e-05/0.8885, allocations: 4 kB / 1.233 GB, free: 6.066 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.435e-05/0.8886, allocations: 12.86 kB / 1.233 GB, free: 6.051 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.8886, allocations: 4 kB / 1.233 GB, free: 6.047 MB / 0.9512 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001642/0.8888, allocations: 53.53 kB / 1.233 GB, free: 5.988 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.8888, allocations: 11.94 kB / 1.233 GB, free: 5.977 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.643e-05/0.8888, allocations: 8 kB / 1.233 GB, free: 5.969 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.095e-05/0.8889, allocations: 8.062 kB / 1.233 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.929e-06/0.8889, allocations: 0 / 1.233 GB, free: 5.961 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.8889, allocations: 3.938 kB / 1.233 GB, free: 5.957 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.601e-05/0.8889, allocations: 3.938 kB / 1.233 GB, free: 5.953 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.8889, allocations: 0 / 1.233 GB, free: 5.953 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.0001391/0.8891, allocations: 189.1 kB / 1.233 GB, free: 5.758 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.744e-05/0.8892, allocations: 108.8 kB / 1.233 GB, free: 5.645 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.201e-05/0.8893, allocations: 116.9 kB / 1.233 GB, free: 5.52 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.318e-05/0.8894, allocations: 184.2 kB / 1.233 GB, free: 5.332 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.437e-05/0.8894, allocations: 101 kB / 1.234 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.8895, allocations: 193.9 kB / 1.234 GB, free: 5.012 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001079/0.8897, allocations: 180.2 kB / 1.234 GB, free: 4.828 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001056/0.8898, allocations: 105 kB / 1.234 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000101/0.8899, allocations: 184.2 kB / 1.234 GB, free: 4.531 MB / 0.9512 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001371/0.89, allocations: 255.5 kB / 1.234 GB, free: 4.273 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.000208/0.8902, allocations: 383 kB / 1.235 GB, free: 3.875 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 6.64e-05/0.8903, allocations: 112.9 kB / 1.235 GB, free: 3.758 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.716e-05/0.8904, allocations: 109.5 kB / 1.235 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of Backend: time 6.91e-07/0.8904, allocations: 0 / 1.235 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.001981/0.8924, allocations: 0.5184 MB / 1.235 GB, free: 3.125 MB / 0.9512 GB Notification: Performance of SimCode: time 0.0008036/0.8932, allocations: 0.9091 MB / 1.236 GB, free: 2.164 MB / 0.9512 GB Notification: Performance of Templates: time 0.01152/0.9048, allocations: 6.407 MB / 1.243 GB, free: 11.8 MB / 0.9669 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_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