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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,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.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001801/0.001801, allocations: 103.4 kB / 15.34 MB, free: 0.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.002628/0.002628, allocations: 195.4 kB / 16.25 MB, free: 6.633 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.408/1.408, allocations: 222.9 MB / 239.9 MB, free: 4.523 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.422/2.422, allocations: 390.2 MB / 0.6643 GB, free: 0.5586 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001613/0.001613, allocations: 63.91 kB / 0.8121 GB, free: 14.73 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8545/0.8562, allocations: 140.4 MB / 0.9492 GB, free: 9.195 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002348/0.8586, allocations: 1.497 MB / 0.9506 GB, free: 8.012 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003444/0.862, allocations: 2.875 MB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.114e-05/0.8621, allocations: 1.125 kB / 0.9534 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 3.756e-05/0.8621, allocations: 3.938 kB / 0.9534 GB, free: 5.738 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 6.54e-05/0.8622, allocations: 17.28 kB / 0.9534 GB, free: 5.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003146/0.8653, allocations: 1.47 MB / 0.9549 GB, free: 4.801 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 6.708e-05/0.8654, allocations: 42.67 kB / 0.9549 GB, free: 4.777 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.19e-05/0.8655, allocations: 7.641 kB / 0.9549 GB, free: 4.773 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.863e-05/0.8655, allocations: 23.11 kB / 0.955 GB, free: 4.758 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 2.701e-05/0.8655, allocations: 15.62 kB / 0.955 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.128e-05/0.8656, allocations: 1.188 kB / 0.955 GB, free: 4.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001724/0.8673, allocations: 1.461 MB / 0.9564 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.8673, allocations: 5.234 kB / 0.9564 GB, free: 3.914 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.8673, allocations: 20 kB / 0.9564 GB, free: 3.902 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001229/0.8686, allocations: 1.083 MB / 0.9575 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.219e-06/0.8686, allocations: 0 / 0.9575 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of FrontEnd: time 3.156e-06/0.8686, allocations: 0 / 0.9575 GB, free: 3.297 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.019e-06/0.8686, allocations: 9.188 kB / 0.9575 GB, free: 3.289 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.0005094/0.8691, allocations: 0.5168 MB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.312e-05/0.8692, allocations: 9.094 kB / 0.958 GB, free: 2.785 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.8692, allocations: 82.31 kB / 0.9581 GB, free: 2.707 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.474e-05/0.8693, allocations: 251.9 kB / 0.9583 GB, free: 2.426 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.779e-05/0.8694, allocations: 156 kB / 0.9585 GB, free: 2.273 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.593e-05/0.8694, allocations: 152.1 kB / 0.9586 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.387e-05/0.8694, allocations: 109.1 kB / 0.9587 GB, free: 2.012 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.291e-05/0.8694, allocations: 83.16 kB / 0.9588 GB, free: 1.93 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.194e-05/0.8695, allocations: 159.8 kB / 0.9589 GB, free: 1.773 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.832e-05/0.8695, allocations: 150.6 kB / 0.9591 GB, free: 1.625 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.279e-05/0.8695, allocations: 155.8 kB / 0.9592 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001829/0.8697, allocations: 465.6 kB / 0.9597 GB, free: 0.9766 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.466e-05/0.8698, allocations: 166.2 kB / 0.9598 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.8698, allocations: 84.08 kB / 0.9599 GB, free: 0.7188 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.274e-05/0.8698, allocations: 76.38 kB / 0.96 GB, free: 0.6445 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.36e-05/0.8698, allocations: 115.1 kB / 0.9601 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/0.8698, allocations: 0 / 0.9601 GB, free: 0.5234 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.838e-05/0.8699, allocations: 35.52 kB / 0.9601 GB, free: 496 kB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.135e-05/0.8699, allocations: 127.6 kB / 0.9603 GB, free: 356 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001079/0.8701, allocations: 132.6 kB / 0.9604 GB, free: 236 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.363e-06/0.8701, allocations: 26.45 kB / 0.9604 GB, free: 204 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 4.798e-05/0.8701, allocations: 94.75 kB / 0.9605 GB, free: 108 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.094e-06/0.8701, allocations: 3.938 kB / 0.9605 GB, free: 104 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.8702, allocations: 19.16 kB / 0.9605 GB, free: 84 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001219/0.8703, allocations: 321 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.677e-05/0.8703, allocations: 7.219 kB / 0.9608 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.554e-05/0.8703, allocations: 7.562 kB / 0.9608 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.419e-05/0.8704, allocations: 10.2 kB / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.894e-06/0.8704, allocations: 0 / 0.9609 GB, free: 15.75 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001378/0.8705, allocations: 60.53 kB / 0.9609 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.402e-05/0.8706, allocations: 4.875 kB / 0.9609 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.8706, allocations: 3.219 kB / 0.9609 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.8706, allocations: 5.094 kB / 0.9609 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.052e-06/0.8706, allocations: 0 / 0.9609 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.359e-06/0.8706, allocations: 0 / 0.9609 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.245e-05/0.8706, allocations: 5.719 kB / 0.9609 GB, free: 15.69 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.833e-06/0.8707, allocations: 1.062 kB / 0.9609 GB, free: 15.69 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 9.297e-05/0.8707, allocations: 187.3 kB / 0.9611 GB, free: 15.5 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.23e-05/0.8708, allocations: 114.7 kB / 0.9612 GB, free: 15.38 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.501e-05/0.8709, allocations: 111.1 kB / 0.9613 GB, free: 15.27 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.404e-05/0.8709, allocations: 185.1 kB / 0.9615 GB, free: 15.08 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.192e-05/0.871, allocations: 177.4 kB / 0.9617 GB, free: 14.9 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.198e-05/0.8711, allocations: 185.3 kB / 0.9618 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002192/0.8713, allocations: 416.4 kB / 0.9622 GB, free: 14.25 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.472e-05/0.8714, allocations: 109.9 kB / 0.9623 GB, free: 14.14 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.8714, allocations: 113.6 kB / 0.9625 GB, free: 14.02 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.644e-05/0.8715, allocations: 181.1 kB / 0.9626 GB, free: 13.84 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.4e-05/0.8715, allocations: 181 kB / 0.9628 GB, free: 13.66 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.999e-05/0.8716, allocations: 181.7 kB / 0.963 GB, free: 13.47 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.129e-05/0.8717, allocations: 177 kB / 0.9631 GB, free: 13.29 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001276/0.8718, allocations: 312.8 kB / 0.9634 GB, free: 12.97 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 7.484e-05/0.8719, allocations: 196 kB / 0.9636 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.212e-05/0.8719, allocations: 177.4 kB / 0.9638 GB, free: 12.57 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.576e-05/0.872, allocations: 102.1 kB / 0.9639 GB, free: 12.47 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.414e-05/0.8721, allocations: 189.3 kB / 0.9641 GB, free: 12.28 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.053e-05/0.8721, allocations: 102.1 kB / 0.9642 GB, free: 12.17 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 5.748e-05/0.8722, allocations: 102.2 kB / 0.9643 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of sort global known variables: time 9e-08/0.8722, allocations: 0 / 0.9643 GB, free: 12.09 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0007364/0.873, allocations: 277.8 kB / 0.9645 GB, free: 12.01 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.001085/0.874, allocations: 0.5326 MB / 0.9651 GB, free: 11.69 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001096/0.8742, allocations: 42.08 kB / 0.9651 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 1.834e-06/0.8742, allocations: 0.8438 kB / 0.9651 GB, free: 11.65 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 3.337e-06/0.8742, allocations: 7.938 kB / 0.9651 GB, free: 11.64 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003845/0.8746, allocations: 467.8 kB / 0.9656 GB, free: 11.18 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.8749, allocations: 248.2 kB / 0.9658 GB, free: 10.96 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002332/0.8752, allocations: 0.6889 MB / 0.9665 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.199e-05/0.8752, allocations: 4 kB / 0.9665 GB, free: 10.25 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.237e-05/0.8752, allocations: 9.688 kB / 0.9665 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of SimCode: time 2.71e-07/0.8752, allocations: 0 / 0.9665 GB, free: 10.24 MB / 0.7325 GB Notification: Performance of Templates: time 0.009863/0.8851, allocations: 5.641 MB / 0.972 GB, free: 7.363 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches