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.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 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_latest_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_latest_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.001762/0.001762, allocations: 105.1 kB / 15.99 MB, free: 6.355 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.001738/0.001738, allocations: 196.5 kB / 16.91 MB, free: 6.188 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.504/1.504, allocations: 222.9 MB / 240.6 MB, free: 13.74 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.854/2.854, allocations: 482.4 MB / 0.755 GB, free: 7.215 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.001921/0.001921, allocations: 72 kB / 0.9241 GB, free: 312 kB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.031/1.033, allocations: 162.2 MB / 1.082 GB, free: 1.668 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003138/1.036, allocations: 1.502 MB / 1.084 GB, free: 0.6094 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.00503/1.041, allocations: 2.89 MB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.223e-05/1.041, allocations: 0 / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeComponents: time 3.916e-05/1.041, allocations: 6.047 kB / 1.087 GB, free: 14.61 MB / 0.8419 GB Notification: Performance of NFTyping.typeBindings: time 8.177e-05/1.041, allocations: 16.55 kB / 1.087 GB, free: 14.6 MB / 0.8419 GB Notification: Performance of NFTyping.typeClassSections: time 0.004875/1.046, allocations: 1.459 MB / 1.088 GB, free: 13.9 MB / 0.8419 GB Notification: Performance of NFFlatten.flatten: time 0.0001096/1.046, allocations: 41.59 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFFlatten.resolveConnections: time 5.666e-05/1.046, allocations: 6.812 kB / 1.088 GB, free: 13.88 MB / 0.8419 GB Notification: Performance of NFEvalConstants.evaluate: time 3.733e-05/1.046, allocations: 17.23 kB / 1.088 GB, free: 13.87 MB / 0.8419 GB Notification: Performance of NFSimplifyModel.simplify: time 3.86e-05/1.046, allocations: 25.58 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/1.046, allocations: 6.188 kB / 1.088 GB, free: 13.85 MB / 0.8419 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003138/1.05, allocations: 1.453 MB / 1.09 GB, free: 13.39 MB / 0.8419 GB Notification: Performance of NFScalarize.scalarize: time 3.194e-05/1.05, allocations: 9.844 kB / 1.09 GB, free: 13.38 MB / 0.8419 GB Notification: Performance of NFVerifyModel.verify: time 4.869e-05/1.05, allocations: 20.09 kB / 1.09 GB, free: 13.37 MB / 0.8419 GB Notification: Performance of NFConvertDAE.convert: time 0.001767/1.052, allocations: 0.7653 MB / 1.09 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/1.052, allocations: 0 / 1.09 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of FrontEnd: time 1.884e-06/1.052, allocations: 0 / 1.09 GB, free: 13.22 MB / 0.8419 GB Notification: Performance of Transformations before backend: time 8.546e-06/1.052, allocations: 5.062 kB / 1.091 GB, free: 13.22 MB / 0.8419 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.0009476/1.053, allocations: 0.5181 MB / 1.091 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of prepare preOptimizeDAE: time 4.919e-05/1.053, allocations: 10.41 kB / 1.091 GB, free: 12.73 MB / 0.8419 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.153e-05/1.053, allocations: 78 kB / 1.091 GB, free: 12.66 MB / 0.8419 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002015/1.053, allocations: 253.5 kB / 1.091 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.635e-05/1.053, allocations: 152.3 kB / 1.091 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.093e-05/1.053, allocations: 152.2 kB / 1.092 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.159e-05/1.053, allocations: 109.9 kB / 1.092 GB, free: 11.96 MB / 0.8419 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.826e-05/1.053, allocations: 75.28 kB / 1.092 GB, free: 11.89 MB / 0.8419 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.486e-05/1.053, allocations: 159.8 kB / 1.092 GB, free: 11.73 MB / 0.8419 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.781e-05/1.053, allocations: 155.1 kB / 1.092 GB, free: 11.58 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.743e-05/1.053, allocations: 155.6 kB / 1.092 GB, free: 11.43 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000357/1.054, allocations: 469.8 kB / 1.093 GB, free: 10.94 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/1.054, allocations: 167.1 kB / 1.093 GB, free: 10.77 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.837e-05/1.054, allocations: 80.14 kB / 1.093 GB, free: 10.68 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 3.855e-05/1.054, allocations: 75.89 kB / 1.093 GB, free: 10.61 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.986e-05/1.054, allocations: 119.3 kB / 1.093 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.22e-07/1.054, allocations: 0 / 1.093 GB, free: 10.48 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 8.37e-05/1.054, allocations: 33.31 kB / 1.093 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.453e-05/1.054, allocations: 127.3 kB / 1.093 GB, free: 10.31 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000182/1.054, allocations: 136.2 kB / 1.093 GB, free: 10.2 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.974e-05/1.054, allocations: 25.7 kB / 1.093 GB, free: 10.17 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 7.199e-05/1.054, allocations: 95.81 kB / 1.094 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 2.966e-06/1.055, allocations: 0.8125 kB / 1.094 GB, free: 10.07 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.265e-05/1.055, allocations: 21.27 kB / 1.094 GB, free: 10.05 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 0.0001641/1.055, allocations: 318.1 kB / 1.094 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.765e-05/1.055, allocations: 4.562 kB / 1.094 GB, free: 9.738 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.395e-05/1.055, allocations: 7.281 kB / 1.094 GB, free: 9.734 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/1.055, allocations: 15.77 kB / 1.094 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.813e-06/1.055, allocations: 0 / 1.094 GB, free: 9.723 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001559/1.055, allocations: 57.53 kB / 1.094 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.844e-05/1.055, allocations: 8.891 kB / 1.094 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.216e-05/1.055, allocations: 3.375 kB / 1.094 GB, free: 9.676 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/1.055, allocations: 5.219 kB / 1.094 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.894e-06/1.055, allocations: 0.6562 kB / 1.094 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.573e-06/1.055, allocations: 1.25 kB / 1.094 GB, free: 9.672 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.43e-05/1.055, allocations: 7.984 kB / 1.094 GB, free: 9.664 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.422e-05/1.055, allocations: 9.828 kB / 1.094 GB, free: 9.656 MB / 0.8419 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.0001208/1.055, allocations: 183.7 kB / 1.094 GB, free: 9.469 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.729e-05/1.055, allocations: 116.5 kB / 1.094 GB, free: 9.352 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.331e-05/1.055, allocations: 112.4 kB / 1.094 GB, free: 9.238 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.323e-05/1.056, allocations: 186 kB / 1.095 GB, free: 9.051 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.597e-05/1.056, allocations: 178 kB / 1.095 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.958e-05/1.056, allocations: 178.1 kB / 1.095 GB, free: 8.691 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002976/1.056, allocations: 413 kB / 1.095 GB, free: 8.242 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.82e-05/1.056, allocations: 114.7 kB / 1.095 GB, free: 8.125 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.556e-05/1.056, allocations: 110.7 kB / 1.095 GB, free: 8.012 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.049e-05/1.056, allocations: 183.1 kB / 1.096 GB, free: 7.828 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.525e-05/1.056, allocations: 176.3 kB / 1.096 GB, free: 7.648 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-05/1.056, allocations: 182.8 kB / 1.096 GB, free: 7.465 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.945e-05/1.056, allocations: 177.3 kB / 1.096 GB, free: 7.285 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001838/1.057, allocations: 315.2 kB / 1.096 GB, free: 6.961 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001087/1.057, allocations: 189.3 kB / 1.097 GB, free: 6.754 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001072/1.057, allocations: 182.4 kB / 1.097 GB, free: 6.57 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.977e-05/1.057, allocations: 102.8 kB / 1.097 GB, free: 6.465 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001007/1.057, allocations: 190.3 kB / 1.097 GB, free: 6.273 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.368e-05/1.057, allocations: 102.9 kB / 1.097 GB, free: 6.168 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 8.209e-05/1.057, allocations: 97.41 kB / 1.097 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.3e-07/1.057, allocations: 0 / 1.097 GB, free: 6.09 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.001307/1.059, allocations: 286.7 kB / 1.098 GB, free: 6.02 MB / 0.8419 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.001376/1.06, allocations: 0.5298 MB / 1.098 GB, free: 5.758 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 0.0001294/1.06, allocations: 44.11 kB / 1.098 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.327e-06/1.06, allocations: 0 / 1.098 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 3.376e-06/1.06, allocations: 0.5156 kB / 1.098 GB, free: 5.719 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000468/1.061, allocations: 465.3 kB / 1.099 GB, free: 5.266 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/1.061, allocations: 271.6 kB / 1.099 GB, free: 5.016 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003348/1.061, allocations: 0.6832 MB / 1.099 GB, free: 4.32 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.469e-05/1.061, allocations: 13.78 kB / 1.1 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of SimCode: time 2.21e-07/1.061, allocations: 0 / 1.1 GB, free: 4.309 MB / 0.8419 GB Notification: Performance of Templates: time 0.01355/1.075, allocations: 4.757 MB / 1.104 GB, free: 3.836 MB / 0.8419 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=400 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches