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.001713/0.001713, allocations: 104.8 kB / 16.27 MB, free: 6.055 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.001704/0.001704, allocations: 187.9 kB / 17.2 MB, free: 5.691 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.471/1.471, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.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.607/2.607, allocations: 437 MB / 0.711 GB, free: 4.551 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001816/0.001816, allocations: 68.25 kB / 0.8699 GB, free: 2.207 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3848/0.3867, allocations: 151.6 MB / 1.018 GB, free: 10.66 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003305/0.39, allocations: 1.448 MB / 1.019 GB, free: 9.199 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004945/0.395, allocations: 2.893 MB / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.606e-05/0.3951, allocations: 0 / 1.022 GB, free: 6.293 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 3.325e-05/0.3952, allocations: 3.938 kB / 1.022 GB, free: 6.289 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 9.044e-05/0.3953, allocations: 19.84 kB / 1.022 GB, free: 6.27 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004752/0.4, allocations: 1.586 MB / 1.024 GB, free: 4.703 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.000109/0.4002, allocations: 47.72 kB / 1.024 GB, free: 4.656 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 5.75e-05/0.4002, allocations: 3.984 kB / 1.024 GB, free: 4.652 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 3.846e-05/0.4003, allocations: 19.92 kB / 1.024 GB, free: 4.633 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.132e-05/0.4003, allocations: 11.88 kB / 1.024 GB, free: 4.621 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.158e-05/0.4003, allocations: 4 kB / 1.024 GB, free: 4.617 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00281/0.4031, allocations: 1.466 MB / 1.025 GB, free: 3.148 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.4032, allocations: 3.938 kB / 1.025 GB, free: 3.145 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.033e-05/0.4032, allocations: 19.88 kB / 1.025 GB, free: 3.125 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.002241/0.4055, allocations: 1.119 MB / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.821e-06/0.4055, allocations: 0 / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of FrontEnd: time 2.414e-06/0.4055, allocations: 0 / 1.026 GB, free: 2.004 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.375e-05/0.4055, allocations: 0 / 1.026 GB, free: 2.004 MB / 0.795 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.001028/0.4065, allocations: 0.5146 MB / 1.027 GB, free: 1.441 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.797e-05/0.4066, allocations: 12.56 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.799e-05/0.4067, allocations: 88.12 kB / 1.027 GB, free: 1.344 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001685/0.4069, allocations: 250.1 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.116e-05/0.4069, allocations: 154.9 kB / 1.027 GB, free: 0.9102 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.801e-05/0.407, allocations: 150.9 kB / 1.028 GB, free: 0.7617 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.849e-05/0.4071, allocations: 113 kB / 1.028 GB, free: 0.6445 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.069e-05/0.4071, allocations: 79.28 kB / 1.028 GB, free: 0.5664 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.464e-05/0.4072, allocations: 158.6 kB / 1.028 GB, free: 420 kB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.057e-05/0.4072, allocations: 150.6 kB / 1.028 GB, free: 268 kB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.025e-05/0.4073, allocations: 150.6 kB / 1.028 GB, free: 116 kB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003446/0.4077, allocations: 469.9 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 9.04e-05/0.4077, allocations: 177.1 kB / 1.029 GB, free: 15.42 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.566e-05/0.4078, allocations: 80.14 kB / 1.029 GB, free: 15.34 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.367e-05/0.4078, allocations: 79.27 kB / 1.029 GB, free: 15.26 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.889e-05/0.4079, allocations: 117.8 kB / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.233e-06/0.4079, allocations: 0 / 1.029 GB, free: 15.14 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.822e-05/0.408, allocations: 29.61 kB / 1.029 GB, free: 15.1 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.24e-05/0.4081, allocations: 134.6 kB / 1.029 GB, free: 14.96 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001464/0.4082, allocations: 133.8 kB / 1.029 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 2.001e-05/0.4082, allocations: 25.7 kB / 1.029 GB, free: 14.79 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.092e-05/0.4083, allocations: 96.05 kB / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.364e-06/0.4083, allocations: 0 / 1.029 GB, free: 14.69 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.171e-05/0.4083, allocations: 17.72 kB / 1.03 GB, free: 14.66 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001142/0.4085, allocations: 314.8 kB / 1.03 GB, free: 14.35 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.922e-05/0.4085, allocations: 8 kB / 1.03 GB, free: 14.34 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.189e-05/0.4085, allocations: 8 kB / 1.03 GB, free: 14.33 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.683e-05/0.4086, allocations: 16.86 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.583e-06/0.4086, allocations: 3.938 kB / 1.03 GB, free: 14.31 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001403/0.4087, allocations: 49.62 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.863e-05/0.4088, allocations: 8 kB / 1.03 GB, free: 14.25 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.996e-05/0.4088, allocations: 3.938 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.57e-05/0.4088, allocations: 4 kB / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.4088, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.561e-06/0.4088, allocations: 0 / 1.03 GB, free: 14.24 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.51e-05/0.4089, allocations: 3.906 kB / 1.03 GB, free: 14.23 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.122e-06/0.4089, allocations: 4.062 kB / 1.03 GB, free: 14.23 MB / 0.8106 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.0001116/0.409, allocations: 189.1 kB / 1.03 GB, free: 14.04 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.951e-05/0.409, allocations: 104.9 kB / 1.03 GB, free: 13.93 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.64e-05/0.4091, allocations: 116.8 kB / 1.03 GB, free: 13.8 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.118e-05/0.4092, allocations: 176.3 kB / 1.03 GB, free: 13.62 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.073e-05/0.4093, allocations: 180.2 kB / 1.031 GB, free: 13.44 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.069e-05/0.4093, allocations: 188.2 kB / 1.031 GB, free: 13.25 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002418/0.4096, allocations: 413.2 kB / 1.031 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.974e-05/0.4096, allocations: 112.9 kB / 1.031 GB, free: 12.67 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.042e-05/0.4097, allocations: 105 kB / 1.031 GB, free: 12.56 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.247e-05/0.4097, allocations: 180.2 kB / 1.032 GB, free: 12.38 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.891e-05/0.4098, allocations: 184.2 kB / 1.032 GB, free: 12.19 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.979e-05/0.4099, allocations: 180.3 kB / 1.032 GB, free: 12.01 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.225e-05/0.41, allocations: 184.2 kB / 1.032 GB, free: 11.82 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001512/0.4101, allocations: 307.7 kB / 1.032 GB, free: 11.5 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 9.458e-05/0.4102, allocations: 197.9 kB / 1.033 GB, free: 11.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.876e-05/0.4103, allocations: 180.3 kB / 1.033 GB, free: 11.09 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.235e-05/0.4104, allocations: 104.9 kB / 1.033 GB, free: 10.98 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.78e-05/0.4105, allocations: 180.3 kB / 1.033 GB, free: 10.8 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.725e-05/0.4105, allocations: 105 kB / 1.033 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.781e-05/0.4106, allocations: 97.61 kB / 1.033 GB, free: 10.6 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.1e-07/0.4106, allocations: 3.938 kB / 1.033 GB, free: 10.59 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0009438/0.4115, allocations: 287.8 kB / 1.034 GB, free: 10.31 MB / 0.8106 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.001434/0.413, allocations: 0.5305 MB / 1.034 GB, free: 9.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001147/0.4131, allocations: 41.69 kB / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.4131, allocations: 64 / 1.034 GB, free: 9.723 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.735e-06/0.4131, allocations: 4 kB / 1.034 GB, free: 9.719 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.4136, allocations: 467.6 kB / 1.035 GB, free: 9.258 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.4139, allocations: 265.8 kB / 1.035 GB, free: 8.965 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000262/0.4142, allocations: 0.6846 MB / 1.035 GB, free: 8.254 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.892e-05/0.4142, allocations: 11.44 kB / 1.035 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of SimCode: time 6.91e-07/0.4143, allocations: 0 / 1.035 GB, free: 8.242 MB / 0.8106 GB Notification: Performance of Templates: time 0.008858/0.4231, allocations: 4.757 MB / 1.04 GB, free: 3.492 MB / 0.8106 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/jenkins1/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