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.001518/0.001518, allocations: 109.8 kB / 16.42 MB, free: 6.504 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.001514/0.001515, allocations: 187.9 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.446/1.446, allocations: 222.9 MB / 241.1 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.748/2.748, allocations: 461.9 MB / 0.7355 GB, free: 11.08 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001581/0.001581, allocations: 63.91 kB / 1.055 GB, free: 7.625 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.274/1.276, allocations: 157.4 MB / 1.209 GB, free: 13.79 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.004332/1.28, allocations: 1.44 MB / 1.21 GB, free: 12.35 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.008674/1.289, allocations: 2.856 MB / 1.213 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 9.226e-05/1.289, allocations: 0 / 1.213 GB, free: 9.477 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 4.84e-05/1.289, allocations: 7.922 kB / 1.213 GB, free: 9.469 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001254/1.289, allocations: 11.86 kB / 1.213 GB, free: 9.457 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.008128/1.297, allocations: 1.549 MB / 1.214 GB, free: 7.926 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001863/1.298, allocations: 47.67 kB / 1.214 GB, free: 7.879 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 6.74e-05/1.298, allocations: 5.828 kB / 1.214 GB, free: 7.875 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 5.866e-05/1.298, allocations: 11.94 kB / 1.214 GB, free: 7.863 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 4.808e-05/1.298, allocations: 15.92 kB / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.763e-05/1.298, allocations: 0 / 1.214 GB, free: 7.848 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004652/1.303, allocations: 1.486 MB / 1.216 GB, free: 6.359 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 2.482e-05/1.303, allocations: 3.938 kB / 1.216 GB, free: 6.355 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 7.658e-05/1.303, allocations: 27.88 kB / 1.216 GB, free: 6.328 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.00302/1.306, allocations: 1.076 MB / 1.217 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 8.065e-06/1.306, allocations: 0 / 1.217 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.725e-06/1.306, allocations: 0 / 1.217 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.306, allocations: 0 / 1.217 GB, free: 5.25 MB / 0.9356 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.001229/1.307, allocations: 0.5262 MB / 1.217 GB, free: 4.676 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 8.065e-05/1.307, allocations: 8.031 kB / 1.217 GB, free: 4.668 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001185/1.307, allocations: 80.22 kB / 1.217 GB, free: 4.59 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002807/1.308, allocations: 253.5 kB / 1.218 GB, free: 4.305 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/1.308, allocations: 154.9 kB / 1.218 GB, free: 4.152 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001174/1.308, allocations: 150.9 kB / 1.218 GB, free: 4.004 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001264/1.308, allocations: 109 kB / 1.218 GB, free: 3.891 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.087e-05/1.308, allocations: 79.22 kB / 1.218 GB, free: 3.812 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.698e-05/1.308, allocations: 150.6 kB / 1.218 GB, free: 3.664 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.763e-05/1.308, allocations: 158.5 kB / 1.218 GB, free: 3.508 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.905e-05/1.308, allocations: 158.6 kB / 1.219 GB, free: 3.352 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000515/1.309, allocations: 457.8 kB / 1.219 GB, free: 2.855 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/1.309, allocations: 177.1 kB / 1.219 GB, free: 2.672 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.029e-05/1.309, allocations: 84.14 kB / 1.219 GB, free: 2.586 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 4.38e-05/1.309, allocations: 75.28 kB / 1.219 GB, free: 2.512 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.731e-05/1.309, allocations: 109.8 kB / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=0): time 4.549e-06/1.309, allocations: 0 / 1.219 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of matching and sorting (n=0): time 0.0001347/1.309, allocations: 29.7 kB / 1.219 GB, free: 2.359 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.692e-05/1.309, allocations: 51.41 kB / 1.22 GB, free: 2.297 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002263/1.31, allocations: 135.5 kB / 1.22 GB, free: 2.156 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 2.258e-05/1.31, allocations: 33.64 kB / 1.22 GB, free: 2.117 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.68e-05/1.31, allocations: 92.12 kB / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 5.68e-06/1.31, allocations: 0 / 1.22 GB, free: 2.023 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.317e-05/1.31, allocations: 17.72 kB / 1.22 GB, free: 2 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001904/1.31, allocations: 318.8 kB / 1.22 GB, free: 1.68 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.714e-05/1.31, allocations: 4 kB / 1.22 GB, free: 1.676 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.602e-05/1.31, allocations: 7.984 kB / 1.22 GB, free: 1.668 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.441e-05/1.31, allocations: 12.86 kB / 1.22 GB, free: 1.652 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/1.31, allocations: 4.031 kB / 1.22 GB, free: 1.648 MB / 0.9356 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002202/1.311, allocations: 45.64 kB / 1.22 GB, free: 1.598 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 2.66e-05/1.311, allocations: 7.984 kB / 1.22 GB, free: 1.59 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.999e-05/1.311, allocations: 4 kB / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/1.311, allocations: 0 / 1.22 GB, free: 1.586 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.873e-06/1.311, allocations: 3.938 kB / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.363e-06/1.311, allocations: 0 / 1.22 GB, free: 1.582 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.395e-05/1.311, allocations: 3.906 kB / 1.22 GB, free: 1.578 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.42e-05/1.311, allocations: 4 kB / 1.22 GB, free: 1.574 MB / 0.9356 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.0001686/1.311, allocations: 189.2 kB / 1.22 GB, free: 1.379 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001072/1.311, allocations: 113 kB / 1.22 GB, free: 1.262 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.888e-05/1.311, allocations: 108.9 kB / 1.221 GB, free: 1.145 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001003/1.311, allocations: 188.2 kB / 1.221 GB, free: 0.9531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.029e-05/1.311, allocations: 105 kB / 1.221 GB, free: 0.8438 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001462/1.312, allocations: 189.9 kB / 1.221 GB, free: 0.6328 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001331/1.312, allocations: 188.2 kB / 1.221 GB, free: 452 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001447/1.312, allocations: 101 kB / 1.221 GB, free: 344 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001219/1.312, allocations: 180.2 kB / 1.221 GB, free: 156 kB / 0.9356 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0001617/1.312, allocations: 255.5 kB / 1.222 GB, free: 15.89 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002935/1.312, allocations: 394.9 kB / 1.222 GB, free: 15.48 MB / 0.9512 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 7.397e-05/1.313, allocations: 104.9 kB / 1.222 GB, free: 15.38 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001022/1.313, allocations: 105.1 kB / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of Backend: time 4.81e-07/1.313, allocations: 0 / 1.222 GB, free: 15.27 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.002784/1.315, allocations: 0.4958 MB / 1.223 GB, free: 14.77 MB / 0.9512 GB Notification: Performance of SimCode: time 0.00114/1.317, allocations: 0.9221 MB / 1.224 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of Templates: time 0.02208/1.339, allocations: 6.235 MB / 1.23 GB, free: 7.617 MB / 0.9512 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