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.MultipoleThermalResistances_TwoUTube.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006802/0.006802, allocations: 97.88 kB / 15.73 MB, free: 6.004 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.001612/0.001612, allocations: 192.4 kB / 16.67 MB, free: 5.934 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.32/1.32, allocations: 222.9 MB / 240.4 MB, free: 4.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.667/2.667, allocations: 472.6 MB / 0.7452 GB, free: 4.562 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 59.91 kB / 1.07 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.328/0.3292, allocations: 159.9 MB / 1.226 GB, free: 9.121 MB / 0.9825 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002479/0.3318, allocations: 1.378 MB / 1.227 GB, free: 7.734 MB / 0.9825 GB Notification: Performance of NFInst.instExpressions: time 0.002782/0.3346, allocations: 1.797 MB / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.307e-05/0.3346, allocations: 0 / 1.229 GB, free: 5.926 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0001005/0.3347, allocations: 15.92 kB / 1.229 GB, free: 5.91 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.0001692/0.3349, allocations: 31.83 kB / 1.229 GB, free: 5.879 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002736/0.3377, allocations: 1.159 MB / 1.23 GB, free: 4.73 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.0001174/0.3378, allocations: 47.78 kB / 1.23 GB, free: 4.684 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 4.826e-05/0.3379, allocations: 4 kB / 1.23 GB, free: 4.68 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 9.785e-05/0.338, allocations: 23.91 kB / 1.23 GB, free: 4.656 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 7.945e-05/0.3381, allocations: 35.83 kB / 1.23 GB, free: 4.621 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 1.723e-05/0.3381, allocations: 4 kB / 1.23 GB, free: 4.617 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001261/0.3394, allocations: 0.8813 MB / 1.231 GB, free: 3.734 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 8.77e-05/0.3395, allocations: 71.75 kB / 1.231 GB, free: 3.664 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 6.265e-05/0.3395, allocations: 63.44 kB / 1.231 GB, free: 3.602 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.001107/0.3406, allocations: 0.888 MB / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.3407, allocations: 0 / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of FrontEnd: time 1.142e-06/0.3407, allocations: 0 / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.3407, allocations: 0 / 1.232 GB, free: 2.711 MB / 0.9825 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006927/0.3414, allocations: 0.5907 MB / 1.232 GB, free: 2.07 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 3.835e-05/0.3414, allocations: 12.03 kB / 1.232 GB, free: 2.059 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.635e-05/0.3415, allocations: 24.75 kB / 1.233 GB, free: 2.035 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002175/0.3417, allocations: 226.9 kB / 1.233 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.114e-05/0.3417, allocations: 384 / 1.233 GB, free: 1.777 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.154e-05/0.3417, allocations: 4.375 kB / 1.233 GB, free: 1.773 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001834/0.3419, allocations: 118.3 kB / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.854e-06/0.3419, allocations: 0 / 1.233 GB, free: 1.652 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.496e-06/0.342, allocations: 3.938 kB / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.342, allocations: 0 / 1.233 GB, free: 1.648 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.678e-05/0.3421, allocations: 79.91 kB / 1.233 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002956/0.3424, allocations: 273.9 kB / 1.233 GB, free: 1.254 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3425, allocations: 118.5 kB / 1.233 GB, free: 1.129 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.673e-05/0.3426, allocations: 108.9 kB / 1.233 GB, free: 1.02 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 2.789e-05/0.3426, allocations: 7.922 kB / 1.233 GB, free: 1.012 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.284e-05/0.3426, allocations: 30.56 kB / 1.233 GB, free: 0.9727 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=32): time 1.172e-06/0.3427, allocations: 4 kB / 1.233 GB, free: 0.9688 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32): time 0.0004102/0.3431, allocations: 337.9 kB / 1.234 GB, free: 0.6328 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.654e-05/0.3431, allocations: 51.41 kB / 1.234 GB, free: 0.5703 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002627/0.3434, allocations: 257 kB / 1.234 GB, free: 312 kB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.36e-05/0.3434, allocations: 29.73 kB / 1.234 GB, free: 276 kB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 7.388e-05/0.3435, allocations: 128.7 kB / 1.234 GB, free: 144 kB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 9.377e-05/0.3436, allocations: 107 kB / 1.234 GB, free: 36 kB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.519e-05/0.3436, allocations: 33.64 kB / 1.234 GB, free: 16 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001304/0.3438, allocations: 338.8 kB / 1.235 GB, free: 15.66 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.234e-05/0.3439, allocations: 75.97 kB / 1.235 GB, free: 15.58 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.579e-05/0.3439, allocations: 75.97 kB / 1.235 GB, free: 15.51 MB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001852/0.3441, allocations: 201.8 kB / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.734e-06/0.3441, allocations: 32 / 1.235 GB, free: 15.31 MB / 0.9981 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002282/0.3444, allocations: 229.3 kB / 1.235 GB, free: 15.08 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 1.476e-05/0.3444, allocations: 8 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.28e-05/0.3444, allocations: 0 / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.3444, allocations: 0 / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.356e-06/0.3444, allocations: 4 kB / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.759e-06/0.3445, allocations: 0 / 1.235 GB, free: 15.07 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.122e-05/0.3445, allocations: 11.89 kB / 1.235 GB, free: 15.05 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.3445, allocations: 0 / 1.235 GB, free: 15.05 MB / 0.9981 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.0001345/0.3447, allocations: 165.7 kB / 1.235 GB, free: 14.88 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.545e-05/0.3447, allocations: 31.78 kB / 1.235 GB, free: 14.85 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002868/0.345, allocations: 252.5 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.9e-06/0.345, allocations: 0 / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.345, allocations: 3.938 kB / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.405e-06/0.345, allocations: 0 / 1.236 GB, free: 14.59 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002055/0.3452, allocations: 281.9 kB / 1.236 GB, free: 14.27 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.701e-06/0.3452, allocations: 3.938 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.3452, allocations: 0 / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.3453, allocations: 0 / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.265e-06/0.3453, allocations: 3.984 kB / 1.236 GB, free: 14.26 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.544e-06/0.3453, allocations: 12.02 kB / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.3453, allocations: 0 / 1.236 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002607/0.3456, allocations: 264.8 kB / 1.236 GB, free: 13.97 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.447e-05/0.3456, allocations: 100.8 kB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.981e-05/0.3456, allocations: 4 kB / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.609e-05/0.3457, allocations: 0 / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.206e-05/0.3457, allocations: 0 / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.735e-06/0.3457, allocations: 0 / 1.236 GB, free: 13.85 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.000161/0.3459, allocations: 196.5 kB / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3459, allocations: 0 / 1.237 GB, free: 13.66 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.0005785/0.3465, allocations: 219.3 kB / 1.237 GB, free: 13.44 MB / 0.9981 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 (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 Backend phase and start with SimCode phase: time 0.0007563/0.3472, allocations: 347.9 kB / 1.237 GB, free: 13.09 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.0002968/0.3475, allocations: 265.6 kB / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3475, allocations: 0 / 1.237 GB, free: 12.83 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001452/0.3477, allocations: 177.6 kB / 1.237 GB, free: 12.65 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002485/0.348, allocations: 28.48 kB / 1.238 GB, free: 12.62 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000634/0.3486, allocations: 499.5 kB / 1.238 GB, free: 12.11 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003394/0.349, allocations: 0.771 MB / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 2.426e-05/0.349, allocations: 0 / 1.239 GB, free: 11.3 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.667e-05/0.349, allocations: 15.38 kB / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of SimCode: time 3.3e-07/0.349, allocations: 0 / 1.239 GB, free: 11.29 MB / 0.9981 GB Notification: Performance of Templates: time 0.008424/0.3574, allocations: 4.63 MB / 1.243 GB, free: 6.723 MB / 0.9981 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches