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.00131/0.00131, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001792/0.001792, allocations: 192.7 kB / 16.25 MB, free: 6.625 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.474/1.474, allocations: 222.9 MB / 239.9 MB, free: 4.516 MB / 190.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.562/2.562, allocations: 390.2 MB / 0.6643 GB, free: 0.5352 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001524/0.001524, allocations: 59.91 kB / 0.8121 GB, free: 14.68 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8172/0.8187, allocations: 140.3 MB / 0.9491 GB, free: 9.133 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTubeNegative): time 0.002688/0.8214, allocations: 1.504 MB / 0.9506 GB, free: 7.945 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003791/0.8253, allocations: 2.887 MB / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.481e-05/0.8253, allocations: 0 / 0.9534 GB, free: 5.664 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.8254, allocations: 3.938 kB / 0.9534 GB, free: 5.66 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.764e-05/0.8255, allocations: 14.84 kB / 0.9535 GB, free: 5.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003833/0.8293, allocations: 1.464 MB / 0.9549 GB, free: 4.727 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.18e-05/0.8294, allocations: 46.36 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.216e-05/0.8295, allocations: 3.438 kB / 0.9549 GB, free: 4.699 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.435e-05/0.8295, allocations: 19.16 kB / 0.9549 GB, free: 4.688 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.914e-05/0.8295, allocations: 15.41 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.057e-05/0.8296, allocations: 1.219 kB / 0.955 GB, free: 4.68 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002079/0.8316, allocations: 1.461 MB / 0.9564 GB, free: 3.848 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.667e-05/0.8317, allocations: 9.078 kB / 0.9564 GB, free: 3.84 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.798e-05/0.8317, allocations: 19.62 kB / 0.9564 GB, free: 3.828 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.00138/0.8331, allocations: 1.083 MB / 0.9575 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.673e-06/0.8331, allocations: 1.375 kB / 0.9575 GB, free: 3.223 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.713e-06/0.8331, allocations: 3.938 kB / 0.9575 GB, free: 3.219 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.8331, allocations: 0 / 0.9575 GB, free: 3.219 MB / 0.7169 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.0005431/0.8337, allocations: 0.5173 MB / 0.958 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.779e-05/0.8337, allocations: 9.156 kB / 0.958 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.321e-05/0.8338, allocations: 86.91 kB / 0.9581 GB, free: 2.633 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000103/0.8339, allocations: 255.4 kB / 0.9583 GB, free: 2.348 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.027e-05/0.834, allocations: 156 kB / 0.9585 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.778e-05/0.834, allocations: 152 kB / 0.9586 GB, free: 2.047 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.478e-05/0.834, allocations: 113 kB / 0.9587 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.496e-05/0.8341, allocations: 76.53 kB / 0.9588 GB, free: 1.855 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.466e-05/0.8341, allocations: 158.5 kB / 0.9589 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.02e-05/0.8341, allocations: 154.6 kB / 0.9591 GB, free: 1.547 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.932e-05/0.8341, allocations: 155.9 kB / 0.9592 GB, free: 1.395 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002079/0.8344, allocations: 461.2 kB / 0.9597 GB, free: 0.9023 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.971e-05/0.8344, allocations: 170.3 kB / 0.9598 GB, free: 0.7266 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.73e-05/0.8344, allocations: 85.2 kB / 0.9599 GB, free: 0.6406 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.351e-05/0.8345, allocations: 75.28 kB / 0.96 GB, free: 0.5664 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.699e-05/0.8345, allocations: 110.6 kB / 0.9601 GB, free: 460 kB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.8345, allocations: 0 / 0.9601 GB, free: 460 kB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 7.461e-05/0.8346, allocations: 37.02 kB / 0.9601 GB, free: 420 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.621e-05/0.8346, allocations: 130.7 kB / 0.9603 GB, free: 276 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001205/0.8347, allocations: 133.1 kB / 0.9604 GB, free: 156 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 9.337e-06/0.8348, allocations: 26.8 kB / 0.9604 GB, free: 124 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.963e-05/0.8348, allocations: 98.31 kB / 0.9605 GB, free: 24 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.234e-06/0.8348, allocations: 0 / 0.9605 GB, free: 24 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.886e-05/0.8348, allocations: 14.53 kB / 0.9605 GB, free: 8 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001511/0.835, allocations: 321.2 kB / 0.9608 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.519e-05/0.835, allocations: 2.75 kB / 0.9608 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.85e-05/0.835, allocations: 8.406 kB / 0.9608 GB, free: 15.68 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.041e-05/0.8351, allocations: 18.33 kB / 0.9609 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.684e-06/0.8351, allocations: 0 / 0.9609 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001339/0.8352, allocations: 56.06 kB / 0.9609 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.468e-05/0.8353, allocations: 5.125 kB / 0.9609 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.125e-05/0.8353, allocations: 3.281 kB / 0.9609 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.25e-05/0.8353, allocations: 1.094 kB / 0.9609 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.887e-06/0.8353, allocations: 4.062 kB / 0.9609 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.24e-06/0.8353, allocations: 3.938 kB / 0.9609 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.372e-05/0.8354, allocations: 5.25 kB / 0.9609 GB, free: 15.61 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.945e-06/0.8354, allocations: 0.9688 kB / 0.9609 GB, free: 15.61 MB / 0.7325 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.000107/0.8355, allocations: 187.4 kB / 0.9611 GB, free: 15.41 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.8356, allocations: 115.7 kB / 0.9612 GB, free: 15.3 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.437e-05/0.8356, allocations: 111 kB / 0.9613 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001001/0.8357, allocations: 181.4 kB / 0.9615 GB, free: 15 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.632e-05/0.8358, allocations: 177.4 kB / 0.9617 GB, free: 14.82 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-05/0.8359, allocations: 189 kB / 0.9619 GB, free: 14.63 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002532/0.8361, allocations: 415.6 kB / 0.9622 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.808e-05/0.8362, allocations: 106 kB / 0.9624 GB, free: 14.06 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.544e-05/0.8362, allocations: 106 kB / 0.9625 GB, free: 13.95 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-05/0.8363, allocations: 185.3 kB / 0.9626 GB, free: 13.77 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-05/0.8364, allocations: 189.2 kB / 0.9628 GB, free: 13.57 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.644e-05/0.8364, allocations: 177.4 kB / 0.963 GB, free: 13.39 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.339e-05/0.8365, allocations: 181.3 kB / 0.9632 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001492/0.8367, allocations: 304.1 kB / 0.9634 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.528e-05/0.8368, allocations: 196.1 kB / 0.9636 GB, free: 12.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.398e-05/0.8369, allocations: 181.6 kB / 0.9638 GB, free: 12.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.319e-05/0.8369, allocations: 110.2 kB / 0.9639 GB, free: 12.38 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.938e-05/0.837, allocations: 177.6 kB / 0.9641 GB, free: 12.2 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.251e-05/0.8371, allocations: 101 kB / 0.9642 GB, free: 12.1 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.531e-05/0.8371, allocations: 102 kB / 0.9643 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.8371, allocations: 1.125 kB / 0.9643 GB, free: 12.01 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0009019/0.838, allocations: 277.5 kB / 0.9645 GB, free: 11.94 MB / 0.7325 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.001174/0.8392, allocations: 0.5375 MB / 0.9651 GB, free: 11.61 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001149/0.8394, allocations: 38.11 kB / 0.9651 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.485e-06/0.8394, allocations: 0 / 0.9651 GB, free: 11.58 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 2.445e-06/0.8394, allocations: 5.188 kB / 0.9651 GB, free: 11.57 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004016/0.8398, allocations: 463.8 kB / 0.9655 GB, free: 11.12 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003299/0.8401, allocations: 248 kB / 0.9658 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002571/0.8404, allocations: 0.6877 MB / 0.9665 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.379e-05/0.8404, allocations: 1.094 kB / 0.9665 GB, free: 10.19 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.482e-05/0.8404, allocations: 9.219 kB / 0.9665 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of SimCode: time 2.1e-07/0.8404, allocations: 0 / 0.9665 GB, free: 10.18 MB / 0.7325 GB Notification: Performance of Templates: time 0.01092/0.8514, allocations: 5.651 MB / 0.972 GB, free: 7.301 MB / 0.7325 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