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.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.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.001918/0.001918, 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.001972/0.001972, allocations: 196 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.625 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.644/2.644, allocations: 461.8 MB / 0.7342 GB, free: 14.98 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001223/0.001223, allocations: 66.39 kB / 0.8985 GB, free: 37.27 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.274/0.2752, allocations: 157.4 MB / 1.052 GB, free: 8.75 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.002557/0.2778, allocations: 1.489 MB / 1.054 GB, free: 7.242 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.004138/0.282, allocations: 2.981 MB / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.71e-05/0.282, allocations: 0 / 1.057 GB, free: 4.25 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 2.243e-05/0.2821, allocations: 3.984 kB / 1.057 GB, free: 4.246 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 5.798e-05/0.2821, allocations: 11.86 kB / 1.057 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003147/0.2853, allocations: 1.378 MB / 1.058 GB, free: 2.871 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 6.069e-05/0.2854, allocations: 39.75 kB / 1.058 GB, free: 2.832 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 3.529e-05/0.2854, allocations: 7.984 kB / 1.058 GB, free: 2.824 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 3.233e-05/0.2854, allocations: 11.94 kB / 1.058 GB, free: 2.812 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 2.486e-05/0.2855, allocations: 19.88 kB / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 9.468e-06/0.2855, allocations: 0 / 1.058 GB, free: 2.793 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001859/0.2873, allocations: 1.427 MB / 1.059 GB, free: 1.363 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 1.082e-05/0.2874, allocations: 3.984 kB / 1.059 GB, free: 1.359 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 2.877e-05/0.2874, allocations: 15.88 kB / 1.059 GB, free: 1.344 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001315/0.2887, allocations: 1.107 MB / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 3.547e-06/0.2887, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of FrontEnd: time 7.92e-07/0.2887, allocations: 0 / 1.06 GB, free: 240 kB / 0.8106 GB Notification: Performance of Transformations before backend: time 3.687e-06/0.2887, allocations: 4 kB / 1.06 GB, free: 236 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.0005367/0.2893, allocations: 0.5031 MB / 1.061 GB, free: 15.68 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.527e-05/0.2893, allocations: 12.03 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.923e-05/0.2894, allocations: 80.12 kB / 1.061 GB, free: 15.59 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.2896, allocations: 252.6 kB / 1.061 GB, free: 15.3 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.077e-05/0.2896, allocations: 166.8 kB / 1.061 GB, free: 15.14 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.623e-05/0.2897, allocations: 154.9 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.813e-05/0.2898, allocations: 109.1 kB / 1.062 GB, free: 14.88 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.385e-05/0.2898, allocations: 75.28 kB / 1.062 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.471e-05/0.2898, allocations: 150.6 kB / 1.062 GB, free: 14.65 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-05/0.2899, allocations: 150.6 kB / 1.062 GB, free: 14.5 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.156e-05/0.2899, allocations: 150.6 kB / 1.062 GB, free: 14.36 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002751/0.2902, allocations: 469.9 kB / 1.063 GB, free: 13.85 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 7.831e-05/0.2903, allocations: 169.1 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.086e-05/0.2904, allocations: 80.14 kB / 1.063 GB, free: 13.59 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.537e-05/0.2904, allocations: 75.28 kB / 1.063 GB, free: 13.52 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.943e-05/0.2904, allocations: 117.8 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=0): time 2.294e-06/0.2904, allocations: 3.984 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of matching and sorting (n=0): time 7.093e-05/0.2905, allocations: 41.53 kB / 1.063 GB, free: 13.34 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.356e-05/0.2906, allocations: 130.6 kB / 1.063 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001272/0.2907, allocations: 127.9 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.2907, allocations: 25.7 kB / 1.063 GB, free: 13.04 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.416e-05/0.2908, allocations: 92.14 kB / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.334e-06/0.2908, allocations: 0 / 1.063 GB, free: 12.94 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.2e-05/0.2908, allocations: 21.7 kB / 1.063 GB, free: 12.91 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 9.527e-05/0.2909, allocations: 314.8 kB / 1.064 GB, free: 12.6 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.133e-05/0.291, allocations: 4 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.704e-05/0.291, allocations: 8 kB / 1.064 GB, free: 12.59 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.538e-05/0.291, allocations: 12.84 kB / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.291, allocations: 0 / 1.064 GB, free: 12.57 MB / 0.8262 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001122/0.2911, allocations: 57.48 kB / 1.064 GB, free: 12.51 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.088e-05/0.2912, allocations: 4 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.715e-05/0.2912, allocations: 8.062 kB / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.059e-05/0.2912, allocations: 0 / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.82e-07/0.2912, allocations: 0 / 1.064 GB, free: 12.5 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.631e-06/0.2912, allocations: 4 kB / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.898e-05/0.2912, allocations: 0 / 1.064 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.455e-05/0.2913, allocations: 3.984 kB / 1.064 GB, free: 12.49 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 8.5e-05/0.2914, allocations: 186.2 kB / 1.064 GB, free: 12.3 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.305e-05/0.2914, allocations: 112.8 kB / 1.064 GB, free: 12.18 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.674e-05/0.2915, allocations: 120.8 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.558e-05/0.2915, allocations: 180.2 kB / 1.064 GB, free: 11.87 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.376e-05/0.2916, allocations: 188.2 kB / 1.065 GB, free: 11.68 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.812e-05/0.2917, allocations: 176.3 kB / 1.065 GB, free: 11.5 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002096/0.2919, allocations: 409.2 kB / 1.065 GB, free: 11.04 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.464e-05/0.2919, allocations: 116.9 kB / 1.065 GB, free: 10.92 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.892e-05/0.292, allocations: 101 kB / 1.065 GB, free: 10.82 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-05/0.292, allocations: 184.2 kB / 1.066 GB, free: 10.63 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.823e-05/0.2921, allocations: 176.3 kB / 1.066 GB, free: 10.45 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.426e-05/0.2922, allocations: 180.3 kB / 1.066 GB, free: 10.27 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.182e-05/0.2922, allocations: 184.2 kB / 1.066 GB, free: 10.08 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001277/0.2923, allocations: 311.7 kB / 1.066 GB, free: 9.75 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 7.586e-05/0.2924, allocations: 186 kB / 1.067 GB, free: 9.543 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.672e-05/0.2925, allocations: 180.3 kB / 1.067 GB, free: 9.359 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.885e-05/0.2926, allocations: 104.9 kB / 1.067 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.228e-05/0.2927, allocations: 192.2 kB / 1.067 GB, free: 9.055 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.385e-05/0.2927, allocations: 104.9 kB / 1.067 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 6.478e-05/0.2928, allocations: 101 kB / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.3e-07/0.2928, allocations: 0 / 1.067 GB, free: 8.848 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006915/0.2935, allocations: 283.8 kB / 1.067 GB, free: 8.57 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.001042/0.2945, allocations: 0.5253 MB / 1.068 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 8.492e-05/0.2946, allocations: 33.7 kB / 1.068 GB, free: 7.996 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.684e-06/0.2946, allocations: 4 kB / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 1.663e-06/0.2946, allocations: 0 / 1.068 GB, free: 7.992 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003975/0.295, allocations: 0.5301 MB / 1.069 GB, free: 7.457 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003026/0.2954, allocations: 235 kB / 1.069 GB, free: 7.199 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002248/0.2956, allocations: 0.6809 MB / 1.069 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 1.306e-05/0.2956, allocations: 0 / 1.069 GB, free: 6.492 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.761e-05/0.2956, allocations: 11.44 kB / 1.069 GB, free: 6.48 MB / 0.8262 GB Notification: Performance of SimCode: time 2.5e-07/0.2956, allocations: 4 kB / 1.069 GB, free: 6.477 MB / 0.8262 GB Notification: Performance of Templates: time 0.008768/0.3044, allocations: 5.489 MB / 1.075 GB, free: 1.035 MB / 0.8262 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/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