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.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.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.001425/0.001425, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001762/0.001762, allocations: 196.8 kB / 16.14 MB, free: 6.711 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.421/1.421, allocations: 222.9 MB / 239.8 MB, free: 4.516 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.636/2.636, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001908/0.001908, allocations: 71.88 kB / 0.8686 GB, free: 5.129 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8628/0.8647, allocations: 151.6 MB / 1.017 GB, free: 2.801 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002801/0.8676, allocations: 1.506 MB / 1.018 GB, free: 1.281 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004769/0.8724, allocations: 3.024 MB / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.689e-05/0.8725, allocations: 0 / 1.021 GB, free: 14.25 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 4.371e-05/0.8726, allocations: 11.92 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 9.374e-05/0.8727, allocations: 11.92 kB / 1.021 GB, free: 14.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.004017/0.8767, allocations: 1.406 MB / 1.022 GB, free: 12.84 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 8.291e-05/0.8768, allocations: 35.75 kB / 1.023 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.619e-05/0.8769, allocations: 7.984 kB / 1.023 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 4.959e-05/0.8769, allocations: 15.92 kB / 1.023 GB, free: 12.78 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.151e-05/0.877, allocations: 27.81 kB / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.362e-05/0.877, allocations: 0 / 1.023 GB, free: 12.75 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002607/0.8796, allocations: 1.466 MB / 1.024 GB, free: 11.28 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 2.664e-05/0.8796, allocations: 7.938 kB / 1.024 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.854e-05/0.8797, allocations: 19.88 kB / 1.024 GB, free: 11.25 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.002284/0.882, allocations: 1.121 MB / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.882, allocations: 0 / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.882, allocations: 0 / 1.025 GB, free: 10.13 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 5.46e-06/0.882, allocations: 0 / 1.025 GB, free: 10.13 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.0008781/0.8829, allocations: 0.5302 MB / 1.026 GB, free: 9.555 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.8e-05/0.883, allocations: 8.031 kB / 1.026 GB, free: 9.547 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.041e-05/0.883, allocations: 84.12 kB / 1.026 GB, free: 9.465 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001792/0.8832, allocations: 247.5 kB / 1.026 GB, free: 9.184 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.216e-05/0.8833, allocations: 150.9 kB / 1.026 GB, free: 9.035 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.028e-05/0.8834, allocations: 154.9 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.776e-05/0.8834, allocations: 117 kB / 1.026 GB, free: 8.762 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.16e-05/0.8835, allocations: 75.28 kB / 1.026 GB, free: 8.688 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.293e-05/0.8835, allocations: 150.6 kB / 1.027 GB, free: 8.539 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.157e-05/0.8836, allocations: 154.6 kB / 1.027 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.634e-05/0.8837, allocations: 150.6 kB / 1.027 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003335/0.884, allocations: 465.9 kB / 1.027 GB, free: 7.734 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 9.295e-05/0.8841, allocations: 173.1 kB / 1.027 GB, free: 7.555 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.367e-05/0.8841, allocations: 84.14 kB / 1.028 GB, free: 7.469 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.002e-05/0.8842, allocations: 75.28 kB / 1.028 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.732e-05/0.8842, allocations: 113.8 kB / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.61e-07/0.8842, allocations: 0 / 1.028 GB, free: 7.273 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 9.232e-05/0.8843, allocations: 33.61 kB / 1.028 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.594e-05/0.8844, allocations: 130.6 kB / 1.028 GB, free: 7.094 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.8846, allocations: 131.5 kB / 1.028 GB, free: 6.957 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.535e-05/0.8846, allocations: 25.7 kB / 1.028 GB, free: 6.926 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 7.676e-05/0.8847, allocations: 100 kB / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-06/0.8847, allocations: 0 / 1.028 GB, free: 6.824 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.572e-05/0.8848, allocations: 13.72 kB / 1.028 GB, free: 6.805 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001454/0.8849, allocations: 326.8 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.277e-05/0.8849, allocations: 3.938 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.147e-05/0.885, allocations: 8 kB / 1.028 GB, free: 6.465 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.595e-05/0.885, allocations: 12.86 kB / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.385e-06/0.885, allocations: 0 / 1.028 GB, free: 6.449 MB / 0.7794 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001695/0.8852, allocations: 65.62 kB / 1.029 GB, free: 6.379 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 2.103e-05/0.8852, allocations: 4 kB / 1.029 GB, free: 6.375 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.541e-05/0.8853, allocations: 4 kB / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.452e-05/0.8853, allocations: 64 / 1.029 GB, free: 6.371 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.8853, allocations: 7.938 kB / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.063e-06/0.8853, allocations: 0 / 1.029 GB, free: 6.363 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.903e-05/0.8854, allocations: 7.844 kB / 1.029 GB, free: 6.355 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.072e-05/0.8854, allocations: 4 kB / 1.029 GB, free: 6.352 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.0001228/0.8855, allocations: 181.7 kB / 1.029 GB, free: 6.164 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.865e-05/0.8856, allocations: 108.9 kB / 1.029 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.444e-05/0.8856, allocations: 112.8 kB / 1.029 GB, free: 5.934 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.848e-05/0.8857, allocations: 188.3 kB / 1.029 GB, free: 5.742 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.885e-05/0.8858, allocations: 180.3 kB / 1.029 GB, free: 5.559 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.753e-05/0.8859, allocations: 180.2 kB / 1.029 GB, free: 5.375 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002796/0.8862, allocations: 413.2 kB / 1.03 GB, free: 4.914 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.985e-05/0.8862, allocations: 112.9 kB / 1.03 GB, free: 4.797 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.854e-05/0.8863, allocations: 105 kB / 1.03 GB, free: 4.688 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.707e-05/0.8864, allocations: 176.3 kB / 1.03 GB, free: 4.508 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.712e-05/0.8865, allocations: 184.2 kB / 1.03 GB, free: 4.32 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.904e-05/0.8866, allocations: 180.2 kB / 1.031 GB, free: 4.137 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.905e-05/0.8867, allocations: 180.2 kB / 1.031 GB, free: 3.953 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002001/0.8869, allocations: 319.9 kB / 1.031 GB, free: 3.617 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.989e-05/0.887, allocations: 185.9 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.895e-05/0.8871, allocations: 180.2 kB / 1.031 GB, free: 3.227 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.964e-05/0.8872, allocations: 108.9 kB / 1.032 GB, free: 3.113 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.936e-05/0.8873, allocations: 180.3 kB / 1.032 GB, free: 2.93 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.678e-05/0.8873, allocations: 108.9 kB / 1.032 GB, free: 2.816 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.164e-05/0.8874, allocations: 100.3 kB / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.21e-07/0.8874, allocations: 0 / 1.032 GB, free: 2.719 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.001057/0.8885, allocations: 283.8 kB / 1.032 GB, free: 2.441 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.001542/0.8901, allocations: 0.5381 MB / 1.033 GB, free: 1.891 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.000134/0.8902, allocations: 37.7 kB / 1.033 GB, free: 1.848 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 6.352e-06/0.8902, allocations: 4 kB / 1.033 GB, free: 1.844 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.807e-06/0.8902, allocations: 4 kB / 1.033 GB, free: 1.84 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005391/0.8908, allocations: 0.5263 MB / 1.033 GB, free: 1.309 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004243/0.8912, allocations: 245.8 kB / 1.033 GB, free: 1.043 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000322/0.8915, allocations: 0.6809 MB / 1.034 GB, free: 344 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.813e-05/0.8916, allocations: 3.984 kB / 1.034 GB, free: 340 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.921e-05/0.8916, allocations: 15.44 kB / 1.034 GB, free: 324 kB / 0.7794 GB Notification: Performance of SimCode: time 8.32e-07/0.8916, allocations: 0 / 1.034 GB, free: 324 kB / 0.7794 GB Notification: Performance of Templates: time 0.01062/0.9022, allocations: 5.697 MB / 1.04 GB, free: 10.67 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