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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001404/0.001404, allocations: 106.5 kB / 16.35 MB, free: 5.824 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.00154/0.00154, allocations: 189.4 kB / 17.29 MB, free: 5.48 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.39/1.39, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.21/2.21, allocations: 390.3 MB / 0.6655 GB, free: 0.6289 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001394/0.001394, allocations: 68.19 kB / 0.8141 GB, free: 32.6 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.262/0.2634, allocations: 140.4 MB / 0.9512 GB, free: 8.012 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003037/0.2665, allocations: 1.433 MB / 0.9526 GB, free: 6.57 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.004662/0.2712, allocations: 2.888 MB / 0.9554 GB, free: 3.664 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.992e-05/0.2712, allocations: 3.938 kB / 0.9554 GB, free: 3.66 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 2.787e-05/0.2713, allocations: 3.938 kB / 0.9554 GB, free: 3.656 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 7.142e-05/0.2714, allocations: 15.84 kB / 0.9554 GB, free: 3.641 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.004201/0.2756, allocations: 1.586 MB / 0.957 GB, free: 2.062 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 8.861e-05/0.2757, allocations: 43.69 kB / 0.957 GB, free: 2.02 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.496e-05/0.2758, allocations: 7.922 kB / 0.957 GB, free: 2.012 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 3.852e-05/0.2758, allocations: 15.94 kB / 0.957 GB, free: 1.996 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 2.656e-05/0.2758, allocations: 15.88 kB / 0.9571 GB, free: 1.98 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.2758, allocations: 4 kB / 0.9571 GB, free: 1.977 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002469/0.2783, allocations: 1.537 MB / 0.9586 GB, free: 448 kB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 2.243e-05/0.2784, allocations: 4 kB / 0.9586 GB, free: 444 kB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 3.319e-05/0.2784, allocations: 15.88 kB / 0.9586 GB, free: 428 kB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001949/0.2804, allocations: 1.1 MB / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of FrontEnd - DAE generated: time 5.511e-06/0.2804, allocations: 3.938 kB / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2804, allocations: 0 / 0.9597 GB, free: 15.31 MB / 0.7481 GB Notification: Performance of Transformations before backend: time 5.851e-06/0.2804, allocations: 0 / 0.9597 GB, free: 15.31 MB / 0.7481 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.0007462/0.2811, allocations: 0.5145 MB / 0.9602 GB, free: 14.75 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.2812, allocations: 8.031 kB / 0.9602 GB, free: 14.74 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.14e-05/0.2813, allocations: 88.12 kB / 0.9602 GB, free: 14.66 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.2814, allocations: 249.8 kB / 0.9605 GB, free: 14.38 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.951e-05/0.2815, allocations: 150.9 kB / 0.9606 GB, free: 14.23 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.759e-05/0.2816, allocations: 154.9 kB / 0.9608 GB, free: 14.07 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.267e-05/0.2816, allocations: 113 kB / 0.9609 GB, free: 13.96 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.638e-05/0.2817, allocations: 79.28 kB / 0.961 GB, free: 13.88 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.876e-05/0.2817, allocations: 154.6 kB / 0.9611 GB, free: 13.73 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.628e-05/0.2818, allocations: 150.6 kB / 0.9613 GB, free: 13.58 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.187e-05/0.2819, allocations: 154.6 kB / 0.9614 GB, free: 13.43 MB / 0.7481 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00032/0.2822, allocations: 461.9 kB / 0.9618 GB, free: 12.93 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 8.797e-05/0.2823, allocations: 177.1 kB / 0.962 GB, free: 12.74 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.284e-05/0.2823, allocations: 80.14 kB / 0.9621 GB, free: 12.66 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.565e-05/0.2824, allocations: 75.28 kB / 0.9622 GB, free: 12.59 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.534e-05/0.2824, allocations: 125.7 kB / 0.9623 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=0): time 1.123e-06/0.2824, allocations: 0 / 0.9623 GB, free: 12.45 MB / 0.7481 GB Notification: Performance of matching and sorting (n=0): time 7.773e-05/0.2825, allocations: 29.61 kB / 0.9623 GB, free: 12.42 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.2826, allocations: 130.7 kB / 0.9624 GB, free: 12.28 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001477/0.2827, allocations: 137.7 kB / 0.9626 GB, free: 12.13 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.422e-05/0.2827, allocations: 25.7 kB / 0.9626 GB, free: 12.1 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 5.269e-05/0.2828, allocations: 92.14 kB / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 2.745e-06/0.2828, allocations: 0 / 0.9627 GB, free: 12.01 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.812e-05/0.2829, allocations: 21.7 kB / 0.9627 GB, free: 11.98 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001186/0.283, allocations: 310.8 kB / 0.963 GB, free: 11.67 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.857e-05/0.283, allocations: 11.98 kB / 0.963 GB, free: 11.66 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.789e-05/0.283, allocations: 8 kB / 0.963 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.639e-05/0.2831, allocations: 16.86 kB / 0.963 GB, free: 11.63 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.457e-06/0.2831, allocations: 4.062 kB / 0.963 GB, free: 11.62 MB / 0.7481 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001283/0.2832, allocations: 49.55 kB / 0.9631 GB, free: 11.57 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.808e-05/0.2833, allocations: 10.5 kB / 0.9631 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.2833, allocations: 0 / 0.9631 GB, free: 11.56 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.751e-05/0.2833, allocations: 7.984 kB / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.01e-07/0.2833, allocations: 3.938 kB / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.2833, allocations: 0 / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.385e-05/0.2833, allocations: 3.906 kB / 0.9631 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.2834, allocations: 4.062 kB / 0.9631 GB, free: 11.54 MB / 0.7481 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.855e-05/0.2835, allocations: 185.1 kB / 0.9633 GB, free: 11.35 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.698e-05/0.2835, allocations: 104.9 kB / 0.9634 GB, free: 11.24 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.523e-05/0.2836, allocations: 116.8 kB / 0.9635 GB, free: 11.12 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.309e-05/0.2837, allocations: 180.2 kB / 0.9637 GB, free: 10.94 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.749e-05/0.2837, allocations: 180.2 kB / 0.9638 GB, free: 10.75 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.206e-05/0.2838, allocations: 188.2 kB / 0.964 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000235/0.284, allocations: 409.2 kB / 0.9644 GB, free: 10.11 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.186e-05/0.2841, allocations: 116.8 kB / 0.9645 GB, free: 9.984 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.108e-05/0.2841, allocations: 101 kB / 0.9646 GB, free: 9.879 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.3e-05/0.2842, allocations: 176.3 kB / 0.9648 GB, free: 9.699 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.628e-05/0.2843, allocations: 184.2 kB / 0.965 GB, free: 9.512 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.495e-05/0.2843, allocations: 180.3 kB / 0.9651 GB, free: 9.328 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-05/0.2844, allocations: 184.2 kB / 0.9653 GB, free: 9.141 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001297/0.2846, allocations: 307.7 kB / 0.9656 GB, free: 8.816 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 7.964e-05/0.2846, allocations: 197.9 kB / 0.9658 GB, free: 8.598 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.456e-05/0.2847, allocations: 180.3 kB / 0.966 GB, free: 8.414 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.56e-05/0.2848, allocations: 112.9 kB / 0.9661 GB, free: 8.297 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.972e-05/0.2849, allocations: 180.3 kB / 0.9662 GB, free: 8.113 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.233e-05/0.2849, allocations: 101 kB / 0.9663 GB, free: 8.008 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 5.662e-05/0.285, allocations: 95.27 kB / 0.9664 GB, free: 7.914 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.7e-07/0.285, allocations: 3.938 kB / 0.9664 GB, free: 7.91 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0008329/0.2858, allocations: 287.8 kB / 0.9667 GB, free: 7.629 MB / 0.7481 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.001254/0.2871, allocations: 0.5365 MB / 0.9672 GB, free: 7.086 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.000111/0.2872, allocations: 45.69 kB / 0.9673 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.2872, allocations: 64 / 0.9673 GB, free: 7.035 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 2.705e-06/0.2872, allocations: 4 kB / 0.9673 GB, free: 7.031 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004379/0.2877, allocations: 475.5 kB / 0.9677 GB, free: 6.562 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003721/0.2881, allocations: 238 kB / 0.968 GB, free: 6.305 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002573/0.2883, allocations: 0.6922 MB / 0.9686 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 1.564e-05/0.2884, allocations: 0 / 0.9686 GB, free: 5.586 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.665e-05/0.2884, allocations: 7.438 kB / 0.9686 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of SimCode: time 2.31e-07/0.2884, allocations: 0 / 0.9686 GB, free: 5.578 MB / 0.7481 GB Notification: Performance of Templates: time 0.009925/0.2983, allocations: 5.609 MB / 0.9741 GB, free: 16 kB / 0.7481 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 -s gbode -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/jenkins1/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