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 11.0.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.001105/0.001105, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.0012/0.0012, allocations: 193.5 kB / 16.14 MB, free: 6.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.345/1.345, allocations: 222.9 MB / 239.8 MB, free: 4.633 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.708/2.708, allocations: 461.9 MB / 0.7342 GB, free: 15.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001207/0.001207, allocations: 66.56 kB / 0.8984 GB, free: 37.28 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2623/0.2636, allocations: 157.4 MB / 1.052 GB, free: 8.824 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002451/0.2661, allocations: 1.497 MB / 1.054 GB, free: 7.309 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004264/0.2704, allocations: 3.028 MB / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.945e-05/0.2704, allocations: 0 / 1.057 GB, free: 4.27 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 4.12e-05/0.2705, allocations: 7.922 kB / 1.057 GB, free: 4.262 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 6.865e-05/0.2706, allocations: 11.92 kB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003433/0.274, allocations: 1.399 MB / 1.058 GB, free: 2.867 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.484e-05/0.2741, allocations: 39.73 kB / 1.058 GB, free: 2.828 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.347e-05/0.2741, allocations: 4 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 2.855e-05/0.2742, allocations: 15.94 kB / 1.058 GB, free: 2.809 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.214e-05/0.2742, allocations: 15.88 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.085e-05/0.2742, allocations: 3.984 kB / 1.058 GB, free: 2.789 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002044/0.2763, allocations: 1.466 MB / 1.059 GB, free: 1.32 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 2.584e-05/0.2763, allocations: 11.94 kB / 1.059 GB, free: 1.309 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 3.161e-05/0.2763, allocations: 15.88 kB / 1.059 GB, free: 1.293 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001495/0.2778, allocations: 1.131 MB / 1.061 GB, free: 164 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.947e-06/0.2779, allocations: 3.938 kB / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of FrontEnd: time 1.022e-06/0.2779, allocations: 0 / 1.061 GB, free: 160 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.656e-06/0.2779, allocations: 0 / 1.061 GB, free: 160 kB / 0.8106 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.000604/0.2785, allocations: 0.5185 MB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.681e-05/0.2785, allocations: 8.031 kB / 1.061 GB, free: 15.58 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.509e-05/0.2786, allocations: 84.12 kB / 1.061 GB, free: 15.5 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001577/0.2788, allocations: 251.6 kB / 1.061 GB, free: 15.21 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.985e-05/0.2788, allocations: 150.9 kB / 1.062 GB, free: 15.07 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.068e-05/0.2789, allocations: 154.9 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.374e-05/0.279, allocations: 117 kB / 1.062 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.451e-05/0.279, allocations: 79.27 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.515e-05/0.279, allocations: 154.6 kB / 1.062 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.985e-05/0.2791, allocations: 150.6 kB / 1.062 GB, free: 14.41 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.542e-05/0.2792, allocations: 150.6 kB / 1.062 GB, free: 14.27 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002859/0.2795, allocations: 461.9 kB / 1.063 GB, free: 13.77 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.371e-05/0.2795, allocations: 173.1 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.928e-05/0.2796, allocations: 84.14 kB / 1.063 GB, free: 13.5 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.501e-05/0.2796, allocations: 75.28 kB / 1.063 GB, free: 13.43 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.161e-05/0.2797, allocations: 113.8 kB / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 1.163e-06/0.2797, allocations: 0 / 1.063 GB, free: 13.3 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.47e-05/0.2798, allocations: 33.61 kB / 1.063 GB, free: 13.27 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.471e-05/0.2798, allocations: 130.7 kB / 1.063 GB, free: 13.12 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.28, allocations: 135.4 kB / 1.064 GB, free: 12.98 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.397e-05/0.28, allocations: 29.7 kB / 1.064 GB, free: 12.95 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.129e-05/0.28, allocations: 96.03 kB / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.984e-06/0.28, allocations: 0 / 1.064 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.2801, allocations: 17.72 kB / 1.064 GB, free: 12.83 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001063/0.2802, allocations: 318.8 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.593e-05/0.2802, allocations: 7.938 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.856e-05/0.2803, allocations: 8 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.306e-05/0.2803, allocations: 20.92 kB / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.2803, allocations: 0 / 1.064 GB, free: 12.47 MB / 0.8262 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000125/0.2804, allocations: 53.62 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.405e-05/0.2805, allocations: 5.875 kB / 1.064 GB, free: 12.41 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.078e-05/0.2805, allocations: 4 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.023e-05/0.2805, allocations: 3.938 kB / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.52e-07/0.2805, allocations: 0 / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.2805, allocations: 0 / 1.064 GB, free: 12.4 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.392e-05/0.2805, allocations: 3.906 kB / 1.064 GB, free: 12.39 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.195e-06/0.2806, allocations: 8.062 kB / 1.064 GB, free: 12.39 MB / 0.8262 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 9.716e-05/0.2807, allocations: 182.2 kB / 1.064 GB, free: 12.2 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.936e-05/0.2807, allocations: 117 kB / 1.064 GB, free: 12.08 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.5e-05/0.2808, allocations: 116.7 kB / 1.064 GB, free: 11.96 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.016e-05/0.2809, allocations: 180.3 kB / 1.065 GB, free: 11.77 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.975e-05/0.2809, allocations: 176.3 kB / 1.065 GB, free: 11.59 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.367e-05/0.281, allocations: 184.2 kB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002215/0.2812, allocations: 417.2 kB / 1.065 GB, free: 10.94 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.89e-05/0.2813, allocations: 108.9 kB / 1.065 GB, free: 10.83 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.076e-05/0.2813, allocations: 101 kB / 1.066 GB, free: 10.72 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.912e-05/0.2814, allocations: 176.3 kB / 1.066 GB, free: 10.54 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.567e-05/0.2814, allocations: 192.2 kB / 1.066 GB, free: 10.35 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.169e-05/0.2815, allocations: 176.3 kB / 1.066 GB, free: 10.17 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.739e-05/0.2816, allocations: 184.2 kB / 1.066 GB, free: 9.98 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.2817, allocations: 303.7 kB / 1.067 GB, free: 9.66 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.637e-05/0.2818, allocations: 193.9 kB / 1.067 GB, free: 9.445 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.374e-05/0.2819, allocations: 184.3 kB / 1.067 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.481e-05/0.282, allocations: 112.9 kB / 1.067 GB, free: 9.141 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.225e-05/0.282, allocations: 176.3 kB / 1.067 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.066e-05/0.2821, allocations: 101 kB / 1.067 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 5.934e-05/0.2821, allocations: 103.2 kB / 1.067 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of sort global known variables: time 2.314e-06/0.2821, allocations: 0 / 1.067 GB, free: 8.754 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000758/0.2829, allocations: 295.7 kB / 1.068 GB, free: 8.465 MB / 0.8262 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.001164/0.2841, allocations: 0.5261 MB / 1.068 GB, free: 7.93 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 9.842e-05/0.2842, allocations: 41.7 kB / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.2842, allocations: 0 / 1.068 GB, free: 7.883 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 2.465e-06/0.2842, allocations: 4.062 kB / 1.068 GB, free: 7.879 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004468/0.2847, allocations: 0.5302 MB / 1.069 GB, free: 7.344 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003406/0.285, allocations: 249.8 kB / 1.069 GB, free: 7.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002374/0.2853, allocations: 0.6848 MB / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.492e-05/0.2853, allocations: 0 / 1.07 GB, free: 6.359 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.864e-05/0.2853, allocations: 7.438 kB / 1.07 GB, free: 6.352 MB / 0.8262 GB Notification: Performance of SimCode: time 2.4e-07/0.2853, allocations: 4 kB / 1.07 GB, free: 6.348 MB / 0.8262 GB Notification: Performance of Templates: time 0.00993/0.2952, allocations: 5.697 MB / 1.075 GB, free: 0.6992 MB / 0.8262 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=480 -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/jenkins/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