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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.006644/0.006644, allocations: 101.3 kB / 15.73 MB, free: 6.047 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.001604/0.001604, allocations: 187.1 kB / 16.67 MB, free: 5.973 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.329/1.329, allocations: 222.9 MB / 240.4 MB, free: 4.188 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.801/2.801, allocations: 461.9 MB / 0.7348 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001172/0.001172, allocations: 63.91 kB / 1.054 GB, free: 7.113 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2603/0.2615, allocations: 157.4 MB / 1.208 GB, free: 9.613 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002118/0.2636, allocations: 1.38 MB / 1.209 GB, free: 8.219 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.002475/0.2661, allocations: 1.794 MB / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.123e-05/0.2662, allocations: 0 / 1.211 GB, free: 6.414 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 7.84e-05/0.2662, allocations: 7.922 kB / 1.211 GB, free: 6.406 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 0.0001465/0.2664, allocations: 39.88 kB / 1.211 GB, free: 6.367 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.002324/0.2687, allocations: 1.141 MB / 1.212 GB, free: 5.242 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 8.153e-05/0.2688, allocations: 51.78 kB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.482e-05/0.2689, allocations: 3.984 kB / 1.212 GB, free: 5.188 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 6.975e-05/0.2689, allocations: 23.94 kB / 1.212 GB, free: 5.164 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 6.153e-05/0.269, allocations: 31.89 kB / 1.212 GB, free: 5.133 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 1.297e-05/0.269, allocations: 4 kB / 1.212 GB, free: 5.129 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001037/0.2701, allocations: 0.8851 MB / 1.213 GB, free: 4.242 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 7.91e-05/0.2702, allocations: 71.75 kB / 1.213 GB, free: 4.172 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 5.55e-05/0.2702, allocations: 63.42 kB / 1.213 GB, free: 4.109 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.0008963/0.2711, allocations: 0.8768 MB / 1.214 GB, free: 3.23 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.185e-06/0.2711, allocations: 4 kB / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.433e-06/0.2711, allocations: 0 / 1.214 GB, free: 3.227 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.799e-06/0.2712, allocations: 4 kB / 1.214 GB, free: 3.223 MB / 0.9669 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.0005775/0.2717, allocations: 0.5838 MB / 1.215 GB, free: 2.59 MB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.185e-05/0.2718, allocations: 8.625 kB / 1.215 GB, free: 2.582 MB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.665e-05/0.2718, allocations: 24.59 kB / 1.215 GB, free: 2.559 MB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001846/0.272, allocations: 226.7 kB / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.36e-06/0.272, allocations: 384 / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.948e-06/0.272, allocations: 384 / 1.215 GB, free: 2.297 MB / 0.9669 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001453/0.2722, allocations: 105.8 kB / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.032e-06/0.2722, allocations: 0 / 1.215 GB, free: 2.188 MB / 0.9669 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.204e-06/0.2722, allocations: 8 kB / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.018e-06/0.2722, allocations: 0 / 1.215 GB, free: 2.18 MB / 0.9669 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.333e-05/0.2723, allocations: 79.95 kB / 1.215 GB, free: 2.102 MB / 0.9669 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002302/0.2725, allocations: 269.9 kB / 1.215 GB, free: 1.789 MB / 0.9669 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001096/0.2727, allocations: 126.5 kB / 1.215 GB, free: 1.656 MB / 0.9669 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.226e-05/0.2727, allocations: 108.9 kB / 1.216 GB, free: 1.547 MB / 0.9669 GB Notification: Performance of preOpt evalFunc (simulation): time 1.963e-05/0.2728, allocations: 3.938 kB / 1.216 GB, free: 1.543 MB / 0.9669 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.048e-05/0.2728, allocations: 34.56 kB / 1.216 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of pre-optimization done (n=32): time 1.022e-06/0.2728, allocations: 0 / 1.216 GB, free: 1.5 MB / 0.9669 GB Notification: Performance of matching and sorting (n=32): time 0.0003645/0.2732, allocations: 338.4 kB / 1.216 GB, free: 1.164 MB / 0.9669 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.935e-05/0.2732, allocations: 55.34 kB / 1.216 GB, free: 1.098 MB / 0.9669 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002174/0.2734, allocations: 257 kB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of collectPreVariables (initialization): time 1.078e-05/0.2735, allocations: 25.7 kB / 1.216 GB, free: 0.8086 MB / 0.9669 GB Notification: Performance of collectInitialEqns (initialization): time 6.888e-05/0.2735, allocations: 132.7 kB / 1.216 GB, free: 0.6758 MB / 0.9669 GB Notification: Performance of collectInitialBindings (initialization): time 7.178e-05/0.2736, allocations: 106.3 kB / 1.216 GB, free: 0.5703 MB / 0.9669 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.665e-05/0.2736, allocations: 29.73 kB / 1.216 GB, free: 0.5352 MB / 0.9669 GB Notification: Performance of setup shared object (initialization): time 0.0001099/0.2738, allocations: 342.8 kB / 1.217 GB, free: 196 kB / 0.9669 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.575e-05/0.2738, allocations: 75.97 kB / 1.217 GB, free: 120 kB / 0.9669 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.005e-05/0.2739, allocations: 75.97 kB / 1.217 GB, free: 44 kB / 0.9669 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001777/0.2741, allocations: 197.8 kB / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.2741, allocations: 0 / 1.217 GB, free: 15.85 MB / 0.9825 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002109/0.2743, allocations: 225.3 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.282e-05/0.2743, allocations: 4 kB / 1.217 GB, free: 15.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.544e-05/0.2743, allocations: 11.94 kB / 1.217 GB, free: 15.61 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.2744, allocations: 4.062 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.385e-06/0.2744, allocations: 3.984 kB / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.918e-06/0.2744, allocations: 0 / 1.217 GB, free: 15.6 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.717e-05/0.2744, allocations: 11.84 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.31e-06/0.2744, allocations: 0 / 1.217 GB, free: 15.59 MB / 0.9825 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.0001118/0.2746, allocations: 157.8 kB / 1.218 GB, free: 15.42 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.2746, allocations: 27.56 kB / 1.218 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002591/0.2749, allocations: 244.4 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.2749, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.2749, allocations: 8.031 kB / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.074e-06/0.2749, allocations: 0 / 1.218 GB, free: 15.14 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001929/0.2751, allocations: 285.8 kB / 1.218 GB, free: 14.81 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.099e-06/0.2751, allocations: 11.88 kB / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.51e-07/0.2751, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.303e-06/0.2751, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.2751, allocations: 0 / 1.218 GB, free: 14.8 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.815e-06/0.2751, allocations: 3.938 kB / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.2751, allocations: 0 / 1.218 GB, free: 14.79 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002266/0.2754, allocations: 260.7 kB / 1.218 GB, free: 14.52 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 5.555e-05/0.2754, allocations: 104.7 kB / 1.218 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.681e-05/0.2754, allocations: 0 / 1.218 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.659e-05/0.2755, allocations: 0 / 1.218 GB, free: 14.4 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.2755, allocations: 7.984 kB / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.2755, allocations: 0 / 1.218 GB, free: 14.39 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 0.0001436/0.2757, allocations: 188.5 kB / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.382e-06/0.2757, allocations: 0 / 1.219 GB, free: 14.21 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0005561/0.2762, allocations: 215.8 kB / 1.219 GB, free: 14 MB / 0.9825 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.0006529/0.2769, allocations: 346.8 kB / 1.219 GB, free: 13.65 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 0.000272/0.2772, allocations: 269.5 kB / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.813e-06/0.2772, allocations: 0 / 1.219 GB, free: 13.38 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 0.0001389/0.2773, allocations: 177.6 kB / 1.22 GB, free: 13.2 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002267/0.2776, allocations: 24.98 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005847/0.2782, allocations: 498.1 kB / 1.22 GB, free: 12.67 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002843/0.2785, allocations: 0.767 MB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 2.257e-05/0.2785, allocations: 4.25 kB / 1.221 GB, free: 11.87 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.687e-05/0.2785, allocations: 7.438 kB / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of SimCode: time 2.4e-07/0.2785, allocations: 0 / 1.221 GB, free: 11.86 MB / 0.9825 GB Notification: Performance of Templates: time 0.008104/0.2866, allocations: 4.637 MB / 1.225 GB, free: 7.285 MB / 0.9825 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