Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001108/0.001108, allocations: 91.77 kB / 15.06 MB, free: 1.098 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.001292/0.001292, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.436/1.436, allocations: 223.3 MB / 240 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.72/2.72, allocations: 437.7 MB / 0.7117 GB, free: 7.148 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0004166/0.0004168, allocations: 15.98 kB / 0.8723 GB, free: 3.668 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8646/0.865, allocations: 153.8 MB / 1.022 GB, free: 52 kB / 0.7638 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001739/0.8668, allocations: 1.152 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.004295/0.8711, allocations: 2.665 MB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.223e-05/0.8712, allocations: 4 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.971e-05/0.8712, allocations: 3.938 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 8.758e-05/0.8713, allocations: 15.84 kB / 1.026 GB, free: 12.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.00344/0.8748, allocations: 1.259 MB / 1.027 GB, free: 10.95 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.621e-05/0.8748, allocations: 43.73 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.518e-05/0.8749, allocations: 3.984 kB / 1.027 GB, free: 10.91 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.951e-05/0.8749, allocations: 15.92 kB / 1.027 GB, free: 10.89 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.075e-05/0.875, allocations: 15.94 kB / 1.028 GB, free: 10.88 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.12e-05/0.875, allocations: 4 kB / 1.028 GB, free: 10.87 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002063/0.8771, allocations: 1.244 MB / 1.029 GB, free: 9.625 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.312e-05/0.8771, allocations: 3.938 kB / 1.029 GB, free: 9.621 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.843e-05/0.8771, allocations: 33.7 kB / 1.029 GB, free: 9.582 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0009862/0.8781, allocations: 0.7194 MB / 1.029 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.8781, allocations: 7.938 kB / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.774e-06/0.8782, allocations: 0 / 1.029 GB, free: 8.855 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.067e-06/0.8782, allocations: 0 / 1.029 GB, free: 8.855 MB / 0.7794 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.0006247/0.8788, allocations: 0.5144 MB / 1.03 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.924e-05/0.8788, allocations: 11.97 kB / 1.03 GB, free: 8.281 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.34e-05/0.8789, allocations: 79.28 kB / 1.03 GB, free: 8.203 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001608/0.8791, allocations: 251 kB / 1.03 GB, free: 7.918 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.688e-05/0.8791, allocations: 154.5 kB / 1.03 GB, free: 7.766 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.21e-05/0.8792, allocations: 154.6 kB / 1.031 GB, free: 7.613 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.906e-05/0.8793, allocations: 101 kB / 1.031 GB, free: 7.508 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.775e-05/0.8793, allocations: 79.28 kB / 1.031 GB, free: 7.43 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.171e-05/0.8794, allocations: 154.6 kB / 1.031 GB, free: 7.277 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.885e-05/0.8794, allocations: 150.6 kB / 1.031 GB, free: 7.129 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.426e-05/0.8795, allocations: 158.5 kB / 1.031 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000317/0.8798, allocations: 465.9 kB / 1.032 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.341e-05/0.8799, allocations: 173.1 kB / 1.032 GB, free: 6.289 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.289e-05/0.88, allocations: 84.19 kB / 1.032 GB, free: 6.203 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.941e-05/0.88, allocations: 79.28 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.8801, allocations: 113.8 kB / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 9.82e-07/0.8801, allocations: 0 / 1.032 GB, free: 6.004 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.455e-05/0.8802, allocations: 29.61 kB / 1.032 GB, free: 5.969 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.99e-05/0.8802, allocations: 130.7 kB / 1.032 GB, free: 5.828 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001521/0.8804, allocations: 131.6 kB / 1.032 GB, free: 5.691 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 4.561e-05/0.8804, allocations: 25.7 kB / 1.032 GB, free: 5.66 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.937e-05/0.8805, allocations: 100.1 kB / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-06/0.8805, allocations: 0 / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.277e-06/0.8805, allocations: 0 / 1.032 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.8807, allocations: 314.8 kB / 1.033 GB, free: 5.242 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.604e-05/0.8807, allocations: 8 kB / 1.033 GB, free: 5.234 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.629e-05/0.8807, allocations: 7.984 kB / 1.033 GB, free: 5.227 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.756e-05/0.8807, allocations: 4 kB / 1.033 GB, free: 5.223 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.8808, allocations: 3.938 kB / 1.033 GB, free: 5.219 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001741/0.8809, allocations: 57.56 kB / 1.033 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.448e-05/0.881, allocations: 5.156 kB / 1.033 GB, free: 5.152 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.881, allocations: 8 kB / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.015e-05/0.881, allocations: 0 / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.112e-06/0.881, allocations: 0 / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.861e-06/0.881, allocations: 0 / 1.033 GB, free: 5.145 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.335e-05/0.881, allocations: 3.938 kB / 1.033 GB, free: 5.141 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.243e-05/0.8811, allocations: 7.984 kB / 1.033 GB, free: 5.133 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001364/0.8812, allocations: 185.1 kB / 1.033 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.235e-05/0.8813, allocations: 116.8 kB / 1.033 GB, free: 4.82 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.757e-05/0.8814, allocations: 108.9 kB / 1.033 GB, free: 4.707 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.266e-05/0.8814, allocations: 184.3 kB / 1.033 GB, free: 4.52 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 0.0001304/0.8816, allocations: 184.2 kB / 1.034 GB, free: 4.332 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001388/0.8817, allocations: 176.3 kB / 1.034 GB, free: 4.152 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002459/0.882, allocations: 417.1 kB / 1.034 GB, free: 3.688 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.474e-05/0.882, allocations: 105 kB / 1.034 GB, free: 3.578 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.55e-05/0.8821, allocations: 109 kB / 1.034 GB, free: 3.465 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.854e-05/0.8821, allocations: 184.2 kB / 1.035 GB, free: 3.277 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.995e-05/0.8822, allocations: 184.2 kB / 1.035 GB, free: 3.09 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.787e-05/0.8823, allocations: 180.2 kB / 1.035 GB, free: 2.906 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.259e-05/0.8824, allocations: 176.3 kB / 1.035 GB, free: 2.727 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001597/0.8825, allocations: 323.7 kB / 1.035 GB, free: 2.387 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 8.691e-05/0.8826, allocations: 182 kB / 1.036 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.522e-05/0.8827, allocations: 184.3 kB / 1.036 GB, free: 1.996 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.72e-05/0.8828, allocations: 108.9 kB / 1.036 GB, free: 1.883 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.312e-05/0.8829, allocations: 188.2 kB / 1.036 GB, free: 1.691 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.344e-05/0.8829, allocations: 104.9 kB / 1.036 GB, free: 1.582 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001584/0.8831, allocations: 97.61 kB / 1.036 GB, free: 1.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.31e-07/0.8831, allocations: 3.938 kB / 1.036 GB, free: 1.484 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008029/0.8839, allocations: 275.8 kB / 1.036 GB, free: 1.215 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0009973/0.8849, allocations: 0.5018 MB / 1.037 GB, free: 0.7031 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001038/0.885, allocations: 41.7 kB / 1.037 GB, free: 0.6562 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.174e-06/0.8851, allocations: 4.062 kB / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.456e-06/0.8851, allocations: 0 / 1.037 GB, free: 0.6523 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004895/0.8856, allocations: 0.5263 MB / 1.038 GB, free: 124 kB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003866/0.886, allocations: 258.4 kB / 1.038 GB, free: 15.84 MB / 0.795 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003251/0.8863, allocations: 0.6848 MB / 1.038 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: alias equations: time 1.52e-05/0.8863, allocations: 0 / 1.038 GB, free: 15.13 MB / 0.795 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.168e-05/0.8863, allocations: 11.42 kB / 1.038 GB, free: 15.12 MB / 0.795 GB Notification: Performance of SimCode: time 2.41e-07/0.8863, allocations: 0 / 1.038 GB, free: 15.12 MB / 0.795 GB Notification: Performance of Templates: time 0.01004/0.8964, allocations: 5.61 MB / 1.044 GB, free: 9.551 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches