Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001524/0.001524, allocations: 110.7 kB / 16.42 MB, free: 6.5 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.001605/0.001605, allocations: 185.4 kB / 17.35 MB, free: 5.738 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.423/1.423, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.501/2.501, allocations: 437.1 MB / 0.7112 GB, free: 4.367 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.00141/0.00141, allocations: 63.91 kB / 1.019 GB, free: 9.316 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8702/0.8716, allocations: 151.6 MB / 1.167 GB, free: 3.809 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002481/0.8741, allocations: 1.445 MB / 1.169 GB, free: 2.359 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.004307/0.8785, allocations: 2.903 MB / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.306e-05/0.8785, allocations: 0 / 1.172 GB, free: 15.44 MB / 0.9044 GB Notification: Performance of NFTyping.typeComponents: time 2.609e-05/0.8786, allocations: 3.938 kB / 1.172 GB, free: 15.43 MB / 0.9044 GB Notification: Performance of NFTyping.typeBindings: time 6.244e-05/0.8787, allocations: 15.84 kB / 1.172 GB, free: 15.42 MB / 0.9044 GB Notification: Performance of NFTyping.typeClassSections: time 0.003812/0.8825, allocations: 1.587 MB / 1.173 GB, free: 13.86 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 8.801e-05/0.8826, allocations: 43.73 kB / 1.173 GB, free: 13.81 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.8826, allocations: 7.984 kB / 1.173 GB, free: 13.8 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 2.778e-05/0.8827, allocations: 15.92 kB / 1.173 GB, free: 13.79 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 2.967e-05/0.8827, allocations: 19.88 kB / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.066e-05/0.8827, allocations: 0 / 1.173 GB, free: 13.77 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002246/0.885, allocations: 1.529 MB / 1.175 GB, free: 12.24 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 1.879e-05/0.885, allocations: 11.97 kB / 1.175 GB, free: 12.23 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 4.212e-05/0.8851, allocations: 19.88 kB / 1.175 GB, free: 12.21 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001494/0.8866, allocations: 1.121 MB / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.109e-06/0.8866, allocations: 0 / 1.176 GB, free: 11.09 MB / 0.9044 GB Notification: Performance of FrontEnd: time 1.884e-06/0.8866, allocations: 3.938 kB / 1.176 GB, free: 11.08 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.112e-06/0.8866, allocations: 0 / 1.176 GB, free: 11.08 MB / 0.9044 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.0006487/0.8873, allocations: 0.5089 MB / 1.176 GB, free: 10.53 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.969e-05/0.8873, allocations: 12.62 kB / 1.176 GB, free: 10.52 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.673e-05/0.8874, allocations: 80.16 kB / 1.176 GB, free: 10.44 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001651/0.8876, allocations: 259.5 kB / 1.177 GB, free: 10.14 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.635e-05/0.8876, allocations: 154.9 kB / 1.177 GB, free: 9.992 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.145e-05/0.8877, allocations: 150.9 kB / 1.177 GB, free: 9.844 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.114e-05/0.8878, allocations: 105.1 kB / 1.177 GB, free: 9.734 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.996e-05/0.8878, allocations: 79.28 kB / 1.177 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.812e-05/0.8879, allocations: 154.5 kB / 1.177 GB, free: 9.504 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.357e-05/0.8879, allocations: 154.6 kB / 1.178 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.991e-05/0.888, allocations: 150.6 kB / 1.178 GB, free: 9.203 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003099/0.8883, allocations: 465.8 kB / 1.178 GB, free: 8.699 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 7.88e-05/0.8884, allocations: 169.1 kB / 1.178 GB, free: 8.523 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.146e-05/0.8884, allocations: 88.08 kB / 1.178 GB, free: 8.434 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.63e-05/0.8885, allocations: 75.28 kB / 1.178 GB, free: 8.359 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.171e-05/0.8885, allocations: 113.8 kB / 1.179 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=0): time 1.062e-06/0.8885, allocations: 0 / 1.179 GB, free: 8.238 MB / 0.9044 GB Notification: Performance of matching and sorting (n=0): time 8.32e-05/0.8886, allocations: 37.69 kB / 1.179 GB, free: 8.195 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.49e-05/0.8886, allocations: 51.41 kB / 1.179 GB, free: 8.133 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001279/0.8888, allocations: 136.1 kB / 1.179 GB, free: 7.992 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.8888, allocations: 25.7 kB / 1.179 GB, free: 7.961 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 5.376e-05/0.8888, allocations: 96.16 kB / 1.179 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 2.515e-06/0.8889, allocations: 0 / 1.179 GB, free: 7.863 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-05/0.8889, allocations: 17.7 kB / 1.179 GB, free: 7.84 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001112/0.889, allocations: 318.8 kB / 1.179 GB, free: 7.52 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.618e-05/0.889, allocations: 8 kB / 1.179 GB, free: 7.512 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.113e-05/0.8891, allocations: 11.92 kB / 1.179 GB, free: 7.5 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.8891, allocations: 12.89 kB / 1.179 GB, free: 7.484 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.623e-06/0.8891, allocations: 4 kB / 1.179 GB, free: 7.48 MB / 0.9044 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001234/0.8893, allocations: 53.55 kB / 1.179 GB, free: 7.422 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.398e-05/0.8893, allocations: 4 kB / 1.179 GB, free: 7.418 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.065e-05/0.8893, allocations: 4 kB / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.755e-05/0.8893, allocations: 0 / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.8893, allocations: 0 / 1.179 GB, free: 7.414 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.253e-06/0.8894, allocations: 3.984 kB / 1.179 GB, free: 7.41 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.449e-05/0.8894, allocations: 7.938 kB / 1.179 GB, free: 7.402 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-06/0.8894, allocations: 0 / 1.179 GB, free: 7.402 MB / 0.9044 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.0001019/0.8895, allocations: 185.2 kB / 1.179 GB, free: 7.211 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.973e-05/0.8896, allocations: 120.7 kB / 1.18 GB, free: 7.086 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.719e-05/0.8896, allocations: 112.9 kB / 1.18 GB, free: 6.961 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.22e-05/0.8897, allocations: 192.1 kB / 1.18 GB, free: 6.766 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.165e-05/0.8897, allocations: 101 kB / 1.18 GB, free: 6.66 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 8.201e-05/0.8898, allocations: 182.1 kB / 1.18 GB, free: 6.457 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.82e-05/0.8899, allocations: 184.2 kB / 1.18 GB, free: 6.27 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.673e-05/0.89, allocations: 101 kB / 1.18 GB, free: 6.164 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.619e-05/0.8901, allocations: 188.2 kB / 1.181 GB, free: 5.973 MB / 0.9044 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 9.503e-05/0.8902, allocations: 259.5 kB / 1.181 GB, free: 5.711 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0001736/0.8904, allocations: 390.9 kB / 1.181 GB, free: 5.305 MB / 0.9044 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 4.537e-05/0.8904, allocations: 105 kB / 1.181 GB, free: 5.195 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 5.374e-05/0.8905, allocations: 99.27 kB / 1.181 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of Backend: time 4.5e-07/0.8905, allocations: 0 / 1.181 GB, free: 5.098 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.001531/0.892, allocations: 0.5218 MB / 1.182 GB, free: 4.566 MB / 0.9044 GB Notification: Performance of SimCode: time 0.0006415/0.8927, allocations: 0.9102 MB / 1.183 GB, free: 3.605 MB / 0.9044 GB Notification: Performance of Templates: time 0.01013/0.9028, allocations: 6.392 MB / 1.189 GB, free: 13.26 MB / 0.92 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTubeNegative.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_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