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.InternalResistancesOneUTube.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001534/0.001534, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001622/0.001623, allocations: 193.5 kB / 16.25 MB, free: 6.637 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.545/1.545, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.808/2.808, allocations: 437 MB / 0.7101 GB, free: 5.332 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.002/0.002, allocations: 63.89 kB / 0.8688 GB, free: 5.02 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8634/0.8654, allocations: 151.6 MB / 1.017 GB, free: 2.695 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.003533/0.869, allocations: 1.5 MB / 1.018 GB, free: 1.184 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004853/0.8739, allocations: 2.849 MB / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.568e-05/0.874, allocations: 0 / 1.021 GB, free: 14.32 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.555e-05/0.8741, allocations: 11.92 kB / 1.021 GB, free: 14.31 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.547e-05/0.8741, allocations: 11.92 kB / 1.021 GB, free: 14.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004283/0.8784, allocations: 1.44 MB / 1.023 GB, free: 12.88 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.792e-05/0.8785, allocations: 43.73 kB / 1.023 GB, free: 12.83 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.66e-05/0.8786, allocations: 7.922 kB / 1.023 GB, free: 12.82 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 3.298e-05/0.8786, allocations: 11.94 kB / 1.023 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.527e-05/0.8787, allocations: 23.92 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.127e-05/0.8787, allocations: 3.938 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002265/0.8809, allocations: 1.423 MB / 1.024 GB, free: 11.36 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.854e-05/0.881, allocations: 7.984 kB / 1.024 GB, free: 11.35 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.881, allocations: 19.88 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001569/0.8826, allocations: 1.064 MB / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.131e-06/0.8826, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.725e-06/0.8826, allocations: 0 / 1.025 GB, free: 10.27 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.654e-06/0.8826, allocations: 0 / 1.025 GB, free: 10.27 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.0007353/0.8834, allocations: 0.5107 MB / 1.026 GB, free: 9.707 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 5.549e-05/0.8834, allocations: 12.03 kB / 1.026 GB, free: 9.695 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.819e-05/0.8835, allocations: 88.11 kB / 1.026 GB, free: 9.609 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002106/0.8838, allocations: 251.5 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.34e-05/0.8838, allocations: 154.9 kB / 1.026 GB, free: 9.172 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.468e-05/0.8839, allocations: 150.9 kB / 1.026 GB, free: 9.023 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.442e-05/0.884, allocations: 109.1 kB / 1.026 GB, free: 8.91 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.412e-05/0.8841, allocations: 79.28 kB / 1.026 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.718e-05/0.8842, allocations: 154.5 kB / 1.027 GB, free: 8.68 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.268e-05/0.8842, allocations: 154.5 kB / 1.027 GB, free: 8.527 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.751e-05/0.8843, allocations: 154.6 kB / 1.027 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003445/0.8847, allocations: 461.9 kB / 1.027 GB, free: 7.875 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.8848, allocations: 169.1 kB / 1.027 GB, free: 7.699 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.721e-05/0.8848, allocations: 80.14 kB / 1.028 GB, free: 7.617 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 4.135e-05/0.8849, allocations: 75.28 kB / 1.028 GB, free: 7.543 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.933e-05/0.885, allocations: 121.7 kB / 1.028 GB, free: 7.414 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 1.142e-06/0.885, allocations: 3.938 kB / 1.028 GB, free: 7.41 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 8.802e-05/0.8851, allocations: 33.61 kB / 1.028 GB, free: 7.371 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.304e-05/0.8852, allocations: 130.7 kB / 1.028 GB, free: 7.23 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001607/0.8853, allocations: 127.2 kB / 1.028 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 2.104e-05/0.8853, allocations: 25.7 kB / 1.028 GB, free: 7.066 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.455e-05/0.8854, allocations: 92.14 kB / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.134e-06/0.8854, allocations: 0 / 1.028 GB, free: 6.973 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.662e-05/0.8855, allocations: 17.7 kB / 1.028 GB, free: 6.949 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.8856, allocations: 318.8 kB / 1.028 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.575e-05/0.8857, allocations: 4 kB / 1.028 GB, free: 6.625 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.669e-05/0.8857, allocations: 4 kB / 1.028 GB, free: 6.621 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.415e-05/0.8857, allocations: 20.78 kB / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.314e-06/0.8857, allocations: 0 / 1.028 GB, free: 6.598 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001433/0.8859, allocations: 53.55 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.571e-05/0.8859, allocations: 6.031 kB / 1.029 GB, free: 6.535 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.149e-05/0.8859, allocations: 7.938 kB / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.356e-05/0.886, allocations: 64 / 1.029 GB, free: 6.527 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.765e-06/0.886, allocations: 7.984 kB / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.886, allocations: 0 / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.13e-05/0.886, allocations: 0 / 1.029 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.027e-05/0.886, allocations: 4 kB / 1.029 GB, free: 6.516 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001301/0.8862, allocations: 181.7 kB / 1.029 GB, free: 6.328 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.017e-05/0.8862, allocations: 116.8 kB / 1.029 GB, free: 6.207 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.373e-05/0.8863, allocations: 104.9 kB / 1.029 GB, free: 6.098 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.37e-05/0.8864, allocations: 192.2 kB / 1.029 GB, free: 5.902 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.763e-05/0.8865, allocations: 180.3 kB / 1.029 GB, free: 5.719 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.234e-05/0.8866, allocations: 176.3 kB / 1.029 GB, free: 5.539 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003/0.8869, allocations: 417.3 kB / 1.03 GB, free: 5.074 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.518e-05/0.8869, allocations: 108.9 kB / 1.03 GB, free: 4.961 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.945e-05/0.887, allocations: 116.9 kB / 1.03 GB, free: 4.84 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-05/0.8871, allocations: 176.3 kB / 1.03 GB, free: 4.66 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.115e-05/0.8872, allocations: 180.3 kB / 1.03 GB, free: 4.477 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.983e-05/0.8873, allocations: 180.2 kB / 1.031 GB, free: 4.293 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.405e-05/0.8874, allocations: 176.3 kB / 1.031 GB, free: 4.113 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001832/0.8876, allocations: 319.7 kB / 1.031 GB, free: 3.777 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.694e-05/0.8877, allocations: 186 kB / 1.031 GB, free: 3.57 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001034/0.8878, allocations: 184.1 kB / 1.031 GB, free: 3.383 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.887e-05/0.8879, allocations: 105 kB / 1.031 GB, free: 3.273 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.275e-05/0.888, allocations: 188.2 kB / 1.032 GB, free: 3.082 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.071e-05/0.888, allocations: 105 kB / 1.032 GB, free: 2.973 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 6.861e-05/0.8881, allocations: 95.27 kB / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8881, allocations: 0 / 1.032 GB, free: 2.879 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0008947/0.889, allocations: 279.8 kB / 1.032 GB, free: 2.605 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 (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.001155/0.8902, allocations: 0.5098 MB / 1.033 GB, free: 2.082 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001254/0.8903, allocations: 41.64 kB / 1.033 GB, free: 2.035 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.8903, allocations: 7.938 kB / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 1.914e-06/0.8903, allocations: 0 / 1.033 GB, free: 2.027 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004704/0.8908, allocations: 475.5 kB / 1.033 GB, free: 1.559 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003726/0.8912, allocations: 248.1 kB / 1.033 GB, free: 1.289 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003449/0.8915, allocations: 0.6807 MB / 1.034 GB, free: 0.582 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.755e-05/0.8916, allocations: 3.984 kB / 1.034 GB, free: 0.5781 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.8916, allocations: 11.44 kB / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of SimCode: time 2.2e-07/0.8916, allocations: 0 / 1.034 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of Templates: time 0.01067/0.9023, allocations: 5.473 MB / 1.039 GB, free: 11.15 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches