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.007541/0.007541, allocations: 99.05 kB / 15.73 MB, free: 6.004 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.001782/0.001782, allocations: 196 kB / 16.68 MB, free: 5.934 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.334/1.334, allocations: 222.9 MB / 240.4 MB, free: 4.285 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.663/2.663, allocations: 461.9 MB / 0.7347 GB, free: 14.67 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001349/0.001349, allocations: 64.11 kB / 1.054 GB, free: 7.055 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2784/0.2798, allocations: 157.4 MB / 1.208 GB, free: 9.539 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002403/0.2822, allocations: 1.439 MB / 1.209 GB, free: 8.086 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.004193/0.2865, allocations: 2.895 MB / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.757e-05/0.2865, allocations: 0 / 1.212 GB, free: 5.176 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 2.344e-05/0.2866, allocations: 7.922 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 6.437e-05/0.2866, allocations: 11.86 kB / 1.212 GB, free: 5.156 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003823/0.2905, allocations: 1.591 MB / 1.214 GB, free: 3.586 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.2906, allocations: 43.73 kB / 1.214 GB, free: 3.543 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.911e-05/0.2906, allocations: 4 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.829e-05/0.2907, allocations: 11.94 kB / 1.214 GB, free: 3.527 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.019e-05/0.2907, allocations: 27.84 kB / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 9.638e-06/0.2907, allocations: 0 / 1.214 GB, free: 3.5 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002196/0.2929, allocations: 1.533 MB / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 1.216e-05/0.2929, allocations: 0 / 1.215 GB, free: 1.965 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.293, allocations: 19.88 kB / 1.215 GB, free: 1.945 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001617/0.2946, allocations: 1.115 MB / 1.216 GB, free: 0.8281 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 5.501e-06/0.2946, allocations: 7.984 kB / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2946, allocations: 0 / 1.216 GB, free: 0.8203 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 4.058e-06/0.2946, allocations: 0 / 1.216 GB, free: 0.8203 MB / 0.9669 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.0006281/0.2953, allocations: 0.5184 MB / 1.217 GB, free: 260 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.2953, allocations: 12.62 kB / 1.217 GB, free: 248 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.123e-05/0.2954, allocations: 80.22 kB / 1.217 GB, free: 168 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.2955, allocations: 251.4 kB / 1.217 GB, free: 15.88 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.215e-05/0.2956, allocations: 154.9 kB / 1.217 GB, free: 15.73 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.692e-05/0.2957, allocations: 154.9 kB / 1.217 GB, free: 15.57 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.478e-05/0.2957, allocations: 109.1 kB / 1.218 GB, free: 15.46 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.454e-05/0.2957, allocations: 75.28 kB / 1.218 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.203e-05/0.2958, allocations: 150.6 kB / 1.218 GB, free: 15.24 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.926e-05/0.2959, allocations: 154.6 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.577e-05/0.2959, allocations: 154.5 kB / 1.218 GB, free: 14.93 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002789/0.2962, allocations: 473.8 kB / 1.219 GB, free: 14.42 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 8.013e-05/0.2963, allocations: 173.1 kB / 1.219 GB, free: 14.24 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.779e-05/0.2963, allocations: 80.14 kB / 1.219 GB, free: 14.16 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.148e-05/0.2964, allocations: 75.28 kB / 1.219 GB, free: 14.09 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.014e-05/0.2964, allocations: 113.8 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 2.374e-06/0.2964, allocations: 3.984 kB / 1.219 GB, free: 13.96 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.044e-05/0.2965, allocations: 37.55 kB / 1.219 GB, free: 13.92 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.337e-05/0.2965, allocations: 126.7 kB / 1.219 GB, free: 13.78 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001292/0.2967, allocations: 134.9 kB / 1.219 GB, free: 13.64 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.124e-05/0.2967, allocations: 29.7 kB / 1.219 GB, free: 13.61 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.22e-05/0.2967, allocations: 88.14 kB / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 2.204e-06/0.2967, allocations: 0 / 1.219 GB, free: 13.52 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.605e-05/0.2968, allocations: 21.72 kB / 1.219 GB, free: 13.49 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2969, allocations: 318.8 kB / 1.22 GB, free: 13.17 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.614e-05/0.2969, allocations: 8 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.778e-05/0.297, allocations: 8 kB / 1.22 GB, free: 13.15 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.465e-05/0.297, allocations: 8.859 kB / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.297, allocations: 0 / 1.22 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000118/0.2971, allocations: 65.41 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.292e-05/0.2972, allocations: 4 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.979e-05/0.2972, allocations: 7.938 kB / 1.22 GB, free: 13.06 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.345e-05/0.2972, allocations: 4.062 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.92e-07/0.2972, allocations: 0 / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.717e-06/0.2972, allocations: 0 / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.287e-05/0.2972, allocations: 4 kB / 1.22 GB, free: 13.05 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.102e-06/0.2972, allocations: 0 / 1.22 GB, free: 13.05 MB / 0.9825 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.109e-05/0.2973, allocations: 189.1 kB / 1.22 GB, free: 12.86 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.264e-05/0.2974, allocations: 116.8 kB / 1.22 GB, free: 12.73 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.948e-05/0.2975, allocations: 108.9 kB / 1.22 GB, free: 12.62 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.432e-05/0.2975, allocations: 180.3 kB / 1.22 GB, free: 12.44 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.499e-05/0.2976, allocations: 184.2 kB / 1.22 GB, free: 12.25 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.779e-05/0.2977, allocations: 180.2 kB / 1.221 GB, free: 12.07 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002287/0.2979, allocations: 413.2 kB / 1.221 GB, free: 11.61 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-05/0.2979, allocations: 104.9 kB / 1.221 GB, free: 11.5 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.468e-05/0.298, allocations: 109 kB / 1.221 GB, free: 11.38 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.485e-05/0.298, allocations: 188.2 kB / 1.221 GB, free: 11.19 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.227e-05/0.2981, allocations: 176.3 kB / 1.222 GB, free: 11.01 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.478e-05/0.2982, allocations: 184.2 kB / 1.222 GB, free: 10.82 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.836e-05/0.2982, allocations: 180.3 kB / 1.222 GB, free: 10.64 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001395/0.2984, allocations: 315.7 kB / 1.222 GB, free: 10.31 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.059e-05/0.2985, allocations: 186 kB / 1.222 GB, free: 10.1 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.958e-05/0.2985, allocations: 184.2 kB / 1.223 GB, free: 9.914 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.171e-05/0.2986, allocations: 101 kB / 1.223 GB, free: 9.809 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.792e-05/0.2987, allocations: 176.3 kB / 1.223 GB, free: 9.629 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.625e-05/0.2987, allocations: 116.9 kB / 1.223 GB, free: 9.508 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.832e-05/0.2988, allocations: 100.5 kB / 1.223 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.1e-07/0.2988, allocations: 0 / 1.223 GB, free: 9.41 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007301/0.2995, allocations: 283.8 kB / 1.223 GB, free: 9.133 MB / 0.9825 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.001102/0.3006, allocations: 0.5257 MB / 1.224 GB, free: 8.598 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.877e-05/0.3008, allocations: 41.7 kB / 1.224 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.3008, allocations: 0 / 1.224 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 2.043e-06/0.3008, allocations: 0 / 1.224 GB, free: 8.551 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003954/0.3012, allocations: 481 kB / 1.224 GB, free: 8.082 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003312/0.3015, allocations: 248 kB / 1.225 GB, free: 7.812 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000233/0.3018, allocations: 0.6846 MB / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.416e-05/0.3018, allocations: 0 / 1.225 GB, free: 7.102 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.798e-06/0.3018, allocations: 7.438 kB / 1.225 GB, free: 7.098 MB / 0.9825 GB Notification: Performance of SimCode: time 2.41e-07/0.3018, allocations: 3.938 kB / 1.225 GB, free: 7.094 MB / 0.9825 GB Notification: Performance of Templates: time 0.009546/0.3114, allocations: 5.619 MB / 1.231 GB, free: 1.52 MB / 0.9825 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