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.01034/0.01034, allocations: 102.3 kB / 15.73 MB, free: 5.578 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.002428/0.002428, allocations: 196.1 kB / 16.67 MB, free: 5.52 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.425/1.425, allocations: 222.9 MB / 240.4 MB, free: 15.17 MB / 206.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.37/2.37, allocations: 390.2 MB / 0.6648 GB, free: 0.6719 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001233/0.001234, allocations: 67.89 kB / 0.9509 GB, free: 7.605 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9567/0.9579, allocations: 140.4 MB / 1.088 GB, free: 5.789 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002623/0.9606, allocations: 1.447 MB / 1.089 GB, free: 4.773 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.004745/0.9654, allocations: 2.884 MB / 1.092 GB, free: 2.785 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.482e-05/0.9655, allocations: 4.656 kB / 1.092 GB, free: 2.781 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 3.869e-05/0.9656, allocations: 5.391 kB / 1.092 GB, free: 2.777 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 8.133e-05/0.9657, allocations: 15.88 kB / 1.092 GB, free: 2.766 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.005252/0.9709, allocations: 1.577 MB / 1.094 GB, free: 1.988 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001333/0.9711, allocations: 44.88 kB / 1.094 GB, free: 1.965 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.559e-05/0.9711, allocations: 10.03 kB / 1.094 GB, free: 1.961 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 3.92e-05/0.9712, allocations: 13.23 kB / 1.094 GB, free: 1.957 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 3.352e-05/0.9712, allocations: 17.97 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.166e-05/0.9712, allocations: 0.875 kB / 1.094 GB, free: 1.949 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003376/0.9746, allocations: 1.529 MB / 1.095 GB, free: 1.465 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 2.336e-05/0.9747, allocations: 6.641 kB / 1.095 GB, free: 1.461 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.897e-05/0.9747, allocations: 20.64 kB / 1.095 GB, free: 1.449 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.002386/0.9771, allocations: 1.102 MB / 1.096 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 6.743e-06/0.9771, allocations: 5.125 kB / 1.096 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of FrontEnd: time 2.264e-06/0.9771, allocations: 4 kB / 1.096 GB, free: 1.148 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.166e-06/0.9772, allocations: 0 / 1.096 GB, free: 1.148 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.0007655/0.9779, allocations: 0.5112 MB / 1.097 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.978, allocations: 9.656 kB / 1.097 GB, free: 0.668 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.252e-05/0.978, allocations: 82.88 kB / 1.097 GB, free: 0.5898 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001322/0.9782, allocations: 252 kB / 1.097 GB, free: 320 kB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.573e-05/0.9782, allocations: 152.7 kB / 1.097 GB, free: 168 kB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.969e-05/0.9783, allocations: 154.9 kB / 1.098 GB, free: 12 kB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.103e-05/0.9784, allocations: 110.7 kB / 1.098 GB, free: 15.9 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.913e-05/0.9784, allocations: 75.28 kB / 1.098 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.039e-05/0.9784, allocations: 155.6 kB / 1.098 GB, free: 15.67 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.545e-05/0.9785, allocations: 151.1 kB / 1.098 GB, free: 15.52 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.811e-05/0.9786, allocations: 155.6 kB / 1.098 GB, free: 15.37 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003217/0.9789, allocations: 462.3 kB / 1.099 GB, free: 14.89 MB / 0.8731 GB Notification: Performance of preOpt comSubExp (simulation): time 8.15e-05/0.979, allocations: 170.1 kB / 1.099 GB, free: 14.71 MB / 0.8731 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.945e-05/0.979, allocations: 80.14 kB / 1.099 GB, free: 14.63 MB / 0.8731 GB Notification: Performance of preOpt evalFunc (simulation): time 3.093e-05/0.9791, allocations: 85.14 kB / 1.099 GB, free: 14.55 MB / 0.8731 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.96e-05/0.9791, allocations: 109.8 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.9791, allocations: 1.062 kB / 1.099 GB, free: 14.43 MB / 0.8731 GB Notification: Performance of matching and sorting (n=0): time 9.597e-05/0.9792, allocations: 36.48 kB / 1.099 GB, free: 14.39 MB / 0.8731 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.943e-05/0.9793, allocations: 132 kB / 1.099 GB, free: 14.25 MB / 0.8731 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001628/0.9795, allocations: 127.9 kB / 1.099 GB, free: 14.14 MB / 0.8731 GB Notification: Performance of collectPreVariables (initialization): time 1.348e-05/0.9795, allocations: 26.67 kB / 1.099 GB, free: 14.11 MB / 0.8731 GB Notification: Performance of collectInitialEqns (initialization): time 6.445e-05/0.9795, allocations: 108.1 kB / 1.099 GB, free: 14.01 MB / 0.8731 GB Notification: Performance of collectInitialBindings (initialization): time 2.084e-06/0.9795, allocations: 3.938 kB / 1.099 GB, free: 14 MB / 0.8731 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.827e-05/0.9796, allocations: 16.17 kB / 1.1 GB, free: 13.99 MB / 0.8731 GB Notification: Performance of setup shared object (initialization): time 0.0001253/0.9797, allocations: 319.4 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.86e-05/0.9798, allocations: 7.062 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.918e-05/0.9798, allocations: 3.938 kB / 1.1 GB, free: 13.67 MB / 0.8731 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.053e-05/0.9798, allocations: 15.84 kB / 1.1 GB, free: 13.66 MB / 0.8731 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.9798, allocations: 3.938 kB / 1.1 GB, free: 13.65 MB / 0.8731 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001451/0.98, allocations: 50.45 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of prepare postOptimizeDAE: time 1.813e-05/0.98, allocations: 9.578 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.58e-05/0.9801, allocations: 7.312 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.99e-05/0.9801, allocations: 1.688 kB / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.613e-06/0.9801, allocations: 0 / 1.1 GB, free: 13.61 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.9801, allocations: 4.547 kB / 1.1 GB, free: 13.6 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.674e-05/0.9801, allocations: 8.938 kB / 1.1 GB, free: 13.59 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.785e-06/0.9801, allocations: 1.062 kB / 1.1 GB, free: 13.59 MB / 0.8731 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.0001375/0.9803, allocations: 183.8 kB / 1.1 GB, free: 13.41 MB / 0.8731 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.001e-05/0.9804, allocations: 116.6 kB / 1.1 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.401e-05/0.9804, allocations: 113.3 kB / 1.1 GB, free: 13.17 MB / 0.8731 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.788e-05/0.9805, allocations: 184.8 kB / 1.1 GB, free: 12.98 MB / 0.8731 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001194/0.9806, allocations: 178.1 kB / 1.101 GB, free: 12.8 MB / 0.8731 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.556e-05/0.9807, allocations: 181.9 kB / 1.101 GB, free: 12.62 MB / 0.8731 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000251/0.981, allocations: 418.2 kB / 1.101 GB, free: 12.17 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.643e-05/0.981, allocations: 105.7 kB / 1.101 GB, free: 12.06 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.934e-05/0.9811, allocations: 106.9 kB / 1.101 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.952e-05/0.9811, allocations: 178.3 kB / 1.102 GB, free: 11.77 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.874e-05/0.9812, allocations: 181.8 kB / 1.102 GB, free: 11.59 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.969e-05/0.9813, allocations: 178.2 kB / 1.102 GB, free: 11.41 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.861e-05/0.9814, allocations: 186 kB / 1.102 GB, free: 11.22 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001333/0.9815, allocations: 302.2 kB / 1.102 GB, free: 10.91 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.9816, allocations: 193.2 kB / 1.103 GB, free: 10.7 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.378e-05/0.9817, allocations: 178.8 kB / 1.103 GB, free: 10.52 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.807e-05/0.9818, allocations: 106.8 kB / 1.103 GB, free: 10.41 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.241e-05/0.9818, allocations: 190.3 kB / 1.103 GB, free: 10.21 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.603e-05/0.9819, allocations: 105.7 kB / 1.103 GB, free: 10.11 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 6.972e-05/0.982, allocations: 100.3 kB / 1.103 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.982, allocations: 0 / 1.103 GB, free: 10.03 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.001231/0.9832, allocations: 278 kB / 1.104 GB, free: 9.965 MB / 0.8731 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.001419/0.9846, allocations: 0.5308 MB / 1.104 GB, free: 9.703 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001288/0.9848, allocations: 44.39 kB / 1.104 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.9848, allocations: 0 / 1.104 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 4.709e-06/0.9848, allocations: 0.7812 kB / 1.104 GB, free: 9.664 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004393/0.9852, allocations: 470.1 kB / 1.105 GB, free: 9.207 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003702/0.9856, allocations: 233.5 kB / 1.105 GB, free: 9 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002435/0.9859, allocations: 0.6824 MB / 1.105 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.571e-05/0.9859, allocations: 1.781 kB / 1.105 GB, free: 8.305 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.375e-05/0.9859, allocations: 17.72 kB / 1.105 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of SimCode: time 2.2e-07/0.9859, allocations: 0 / 1.105 GB, free: 8.289 MB / 0.8731 GB Notification: Performance of Templates: time 0.01448/1, allocations: 5.628 MB / 1.111 GB, free: 7.863 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