Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_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 11.0.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/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_latest_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_latest_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.001218/0.001218, allocations: 99.39 kB / 15.05 MB, free: 1.105 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.001301/0.001301, allocations: 177.3 kB / 15.95 MB, free: 216 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.446/1.446, allocations: 223.2 MB / 239.9 MB, free: 5.445 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.74/2.74, allocations: 436.5 MB / 0.7104 GB, free: 7.938 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005312/0.0005313, allocations: 8 kB / 0.8708 GB, free: 4.77 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7689/0.7694, allocations: 153.7 MB / 1.021 GB, free: 1.125 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001428/0.7709, allocations: 1.125 MB / 1.022 GB, free: 15.98 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003659/0.7745, allocations: 2.552 MB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.667e-05/0.7746, allocations: 4 kB / 1.024 GB, free: 13.42 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 1.71e-05/0.7746, allocations: 3.938 kB / 1.024 GB, free: 13.41 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 5.948e-05/0.7747, allocations: 11.97 kB / 1.024 GB, free: 13.4 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002926/0.7776, allocations: 1.219 MB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 7.186e-05/0.7777, allocations: 35.88 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.24e-05/0.7778, allocations: 7.984 kB / 1.026 GB, free: 12.16 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.464e-05/0.7778, allocations: 11.94 kB / 1.026 GB, free: 12.15 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 2.768e-05/0.7778, allocations: 15.92 kB / 1.026 GB, free: 12.14 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.077e-05/0.7778, allocations: 3.938 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001659/0.7795, allocations: 1.158 MB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.167e-05/0.7795, allocations: 3.984 kB / 1.027 GB, free: 10.97 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.134e-05/0.7796, allocations: 41.58 kB / 1.027 GB, free: 10.92 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0008528/0.7804, allocations: 0.6921 MB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.7804, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7804, allocations: 0 / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 3.968e-06/0.7804, allocations: 0 / 1.028 GB, free: 10.23 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.0005044/0.781, allocations: 0.5067 MB / 1.028 GB, free: 9.676 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.056e-05/0.781, allocations: 16.02 kB / 1.028 GB, free: 9.66 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.726e-05/0.7811, allocations: 87.19 kB / 1.028 GB, free: 9.574 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001474/0.7812, allocations: 250.2 kB / 1.028 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.671e-05/0.7813, allocations: 150.6 kB / 1.029 GB, free: 9.141 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.253e-05/0.7813, allocations: 154.5 kB / 1.029 GB, free: 8.988 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.872e-05/0.7814, allocations: 105 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.603e-05/0.7814, allocations: 79.28 kB / 1.029 GB, free: 8.801 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.109e-05/0.7815, allocations: 158.5 kB / 1.029 GB, free: 8.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.774e-05/0.7816, allocations: 150.6 kB / 1.029 GB, free: 8.496 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.893e-05/0.7816, allocations: 150.6 kB / 1.029 GB, free: 8.348 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000273/0.7819, allocations: 469.8 kB / 1.03 GB, free: 7.84 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.085e-05/0.782, allocations: 169.1 kB / 1.03 GB, free: 7.664 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.519e-05/0.782, allocations: 75.28 kB / 1.03 GB, free: 7.59 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.597e-05/0.782, allocations: 117.7 kB / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 7.51e-07/0.782, allocations: 0 / 1.03 GB, free: 7.465 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 6.401e-05/0.7821, allocations: 33.61 kB / 1.03 GB, free: 7.426 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.983e-05/0.7822, allocations: 134.7 kB / 1.03 GB, free: 7.281 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001281/0.7823, allocations: 127.7 kB / 1.03 GB, free: 7.148 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.386e-05/0.7823, allocations: 25.7 kB / 1.03 GB, free: 7.117 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 4.658e-05/0.7824, allocations: 92.14 kB / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 2.114e-06/0.7824, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.304e-06/0.7824, allocations: 0 / 1.031 GB, free: 7.023 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.7825, allocations: 314.8 kB / 1.031 GB, free: 6.707 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.054e-05/0.7825, allocations: 8 kB / 1.031 GB, free: 6.699 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.422e-05/0.7826, allocations: 4 kB / 1.031 GB, free: 6.695 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.461e-05/0.7826, allocations: 11.97 kB / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.7826, allocations: 0 / 1.031 GB, free: 6.684 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001113/0.7827, allocations: 49.59 kB / 1.031 GB, free: 6.629 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.851e-05/0.7827, allocations: 11.95 kB / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.694e-05/0.7828, allocations: 0 / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.578e-06/0.7828, allocations: 0 / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.7828, allocations: 0 / 1.031 GB, free: 6.617 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.298e-06/0.7828, allocations: 4 kB / 1.031 GB, free: 6.613 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.946e-05/0.7828, allocations: 3.938 kB / 1.031 GB, free: 6.609 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.702e-06/0.7828, allocations: 0 / 1.031 GB, free: 6.609 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 9.145e-05/0.7829, allocations: 189.2 kB / 1.031 GB, free: 6.414 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.976e-05/0.783, allocations: 116.9 kB / 1.031 GB, free: 6.293 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.204e-05/0.783, allocations: 116.8 kB / 1.031 GB, free: 6.172 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.648e-05/0.7831, allocations: 176.3 kB / 1.031 GB, free: 5.992 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.382e-05/0.7832, allocations: 180.2 kB / 1.032 GB, free: 5.809 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.376e-05/0.7832, allocations: 188.2 kB / 1.032 GB, free: 5.617 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002225/0.7835, allocations: 413.2 kB / 1.032 GB, free: 5.156 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.724e-05/0.7835, allocations: 101 kB / 1.032 GB, free: 5.051 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.402e-05/0.7835, allocations: 105 kB / 1.032 GB, free: 4.941 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.2e-05/0.7836, allocations: 180.2 kB / 1.033 GB, free: 4.758 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.823e-05/0.7837, allocations: 180.2 kB / 1.033 GB, free: 4.574 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.793e-05/0.7838, allocations: 192.1 kB / 1.033 GB, free: 4.379 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.966e-05/0.7838, allocations: 184.3 kB / 1.033 GB, free: 4.191 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001141/0.7839, allocations: 299.8 kB / 1.033 GB, free: 3.875 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.435e-05/0.784, allocations: 186 kB / 1.034 GB, free: 3.668 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.16e-05/0.7841, allocations: 192.5 kB / 1.034 GB, free: 3.473 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.914e-05/0.7842, allocations: 101 kB / 1.034 GB, free: 3.367 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.7842, allocations: 188.2 kB / 1.034 GB, free: 3.176 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.244e-05/0.7843, allocations: 117 kB / 1.034 GB, free: 3.055 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 4.935e-05/0.7843, allocations: 97.3 kB / 1.034 GB, free: 2.961 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7844, allocations: 4 kB / 1.034 GB, free: 2.957 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0006413/0.785, allocations: 275.8 kB / 1.035 GB, free: 2.688 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.0008805/0.7859, allocations: 0.4902 MB / 1.035 GB, free: 2.184 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 8.6e-05/0.786, allocations: 33.7 kB / 1.035 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.786, allocations: 0 / 1.035 GB, free: 2.145 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 2.835e-06/0.786, allocations: 7.938 kB / 1.035 GB, free: 2.137 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003429/0.7863, allocations: 0.5303 MB / 1.036 GB, free: 1.602 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002825/0.7866, allocations: 239.7 kB / 1.036 GB, free: 1.344 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000234/0.7869, allocations: 0.6848 MB / 1.036 GB, free: 0.6328 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.29e-05/0.7869, allocations: 4 kB / 1.036 GB, free: 0.6289 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.313e-05/0.7869, allocations: 11.44 kB / 1.036 GB, free: 0.6172 MB / 0.7794 GB Notification: Performance of SimCode: time 2.3e-07/0.7869, allocations: 3.938 kB / 1.036 GB, free: 0.6133 MB / 0.7794 GB Notification: Performance of Templates: time 0.008627/0.7956, allocations: 5.401 MB / 1.042 GB, free: 11.25 MB / 0.795 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches