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.006564/0.006565, allocations: 103.7 kB / 15.73 MB, free: 5.996 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.001425/0.001425, allocations: 187.5 kB / 16.67 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.349/1.349, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.616/2.616, allocations: 461.8 MB / 0.7347 GB, free: 14.63 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001248/0.001248, allocations: 63.91 kB / 1.054 GB, free: 7.07 MB / 0.8106 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2696/0.2708, allocations: 157.4 MB / 1.208 GB, free: 9.562 MB / 0.9669 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.002204/0.2731, allocations: 1.448 MB / 1.209 GB, free: 8.102 MB / 0.9669 GB Notification: Performance of NFInst.instExpressions: time 0.003899/0.277, allocations: 2.895 MB / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.258e-05/0.277, allocations: 0 / 1.212 GB, free: 5.191 MB / 0.9669 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.2771, allocations: 7.922 kB / 1.212 GB, free: 5.184 MB / 0.9669 GB Notification: Performance of NFTyping.typeBindings: time 5.666e-05/0.2771, allocations: 15.86 kB / 1.212 GB, free: 5.168 MB / 0.9669 GB Notification: Performance of NFTyping.typeClassSections: time 0.003384/0.2805, allocations: 1.584 MB / 1.214 GB, free: 3.602 MB / 0.9669 GB Notification: Performance of NFFlatten.flatten: time 7.747e-05/0.2806, allocations: 43.73 kB / 1.214 GB, free: 3.559 MB / 0.9669 GB Notification: Performance of NFFlatten.resolveConnections: time 3.036e-05/0.2807, allocations: 4 kB / 1.214 GB, free: 3.555 MB / 0.9669 GB Notification: Performance of NFEvalConstants.evaluate: time 2.638e-05/0.2807, allocations: 15.94 kB / 1.214 GB, free: 3.539 MB / 0.9669 GB Notification: Performance of NFSimplifyModel.simplify: time 3.332e-05/0.2807, allocations: 23.84 kB / 1.214 GB, free: 3.516 MB / 0.9669 GB Notification: Performance of NFPackage.collectConstants: time 8.677e-06/0.2807, allocations: 4 kB / 1.214 GB, free: 3.512 MB / 0.9669 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001985/0.2827, allocations: 1.529 MB / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFScalarize.scalarize: time 9.517e-06/0.2827, allocations: 0 / 1.215 GB, free: 1.98 MB / 0.9669 GB Notification: Performance of NFVerifyModel.verify: time 3.041e-05/0.2828, allocations: 23.86 kB / 1.215 GB, free: 1.957 MB / 0.9669 GB Notification: Performance of NFConvertDAE.convert: time 0.001305/0.2841, allocations: 1.115 MB / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of FrontEnd - DAE generated: time 3.206e-06/0.2841, allocations: 0 / 1.216 GB, free: 0.8398 MB / 0.9669 GB Notification: Performance of FrontEnd: time 1.222e-06/0.2841, allocations: 4 kB / 1.216 GB, free: 0.8359 MB / 0.9669 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.2841, allocations: 0 / 1.216 GB, free: 0.8359 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.0005529/0.2847, allocations: 0.5223 MB / 1.217 GB, free: 272 kB / 0.9669 GB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.2847, allocations: 8.625 kB / 1.217 GB, free: 264 kB / 0.9669 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.307e-05/0.2848, allocations: 80.22 kB / 1.217 GB, free: 184 kB / 0.9669 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001488/0.2849, allocations: 257.3 kB / 1.217 GB, free: 15.89 MB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.356e-05/0.285, allocations: 150.9 kB / 1.217 GB, free: 15.74 MB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.353e-05/0.2851, allocations: 158.9 kB / 1.217 GB, free: 15.59 MB / 0.9825 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.544e-05/0.2851, allocations: 113.1 kB / 1.218 GB, free: 15.47 MB / 0.9825 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.438e-05/0.2852, allocations: 75.28 kB / 1.218 GB, free: 15.39 MB / 0.9825 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.215e-05/0.2852, allocations: 150.6 kB / 1.218 GB, free: 15.25 MB / 0.9825 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.936e-05/0.2853, allocations: 154.6 kB / 1.218 GB, free: 15.09 MB / 0.9825 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.736e-05/0.2853, allocations: 158.5 kB / 1.218 GB, free: 14.94 MB / 0.9825 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002733/0.2856, allocations: 465.9 kB / 1.219 GB, free: 14.43 MB / 0.9825 GB Notification: Performance of preOpt comSubExp (simulation): time 7.385e-05/0.2857, allocations: 165.1 kB / 1.219 GB, free: 14.26 MB / 0.9825 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.074e-05/0.2857, allocations: 88.08 kB / 1.219 GB, free: 14.17 MB / 0.9825 GB Notification: Performance of preOpt evalFunc (simulation): time 3.23e-05/0.2857, allocations: 75.28 kB / 1.219 GB, free: 14.1 MB / 0.9825 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.028e-05/0.2858, allocations: 117.8 kB / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of pre-optimization done (n=0): time 8.92e-07/0.2858, allocations: 0 / 1.219 GB, free: 13.97 MB / 0.9825 GB Notification: Performance of matching and sorting (n=0): time 7.628e-05/0.2859, allocations: 37.55 kB / 1.219 GB, free: 13.93 MB / 0.9825 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.543e-05/0.2859, allocations: 126.7 kB / 1.219 GB, free: 13.79 MB / 0.9825 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001316/0.2861, allocations: 129.8 kB / 1.219 GB, free: 13.66 MB / 0.9825 GB Notification: Performance of collectPreVariables (initialization): time 1.218e-05/0.2861, allocations: 25.7 kB / 1.219 GB, free: 13.62 MB / 0.9825 GB Notification: Performance of collectInitialEqns (initialization): time 4.36e-05/0.2861, allocations: 92.14 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of collectInitialBindings (initialization): time 1.943e-06/0.2862, allocations: 4 kB / 1.219 GB, free: 13.53 MB / 0.9825 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.349e-05/0.2862, allocations: 17.72 kB / 1.219 GB, free: 13.5 MB / 0.9825 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.2863, allocations: 318.8 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.379e-05/0.2863, allocations: 8 kB / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.436e-05/0.2864, allocations: 0 / 1.22 GB, free: 13.18 MB / 0.9825 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.368e-05/0.2864, allocations: 16.86 kB / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.956e-06/0.2864, allocations: 0 / 1.22 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001177/0.2865, allocations: 61.47 kB / 1.22 GB, free: 13.09 MB / 0.9825 GB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.2866, allocations: 9.469 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.045e-05/0.2866, allocations: 4 kB / 1.22 GB, free: 13.08 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.08e-05/0.2866, allocations: 4 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.854e-06/0.2866, allocations: 4 kB / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.299e-06/0.2866, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.968e-05/0.2866, allocations: 0 / 1.22 GB, free: 13.07 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.424e-06/0.2867, allocations: 4 kB / 1.22 GB, free: 13.07 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 8.806e-05/0.2868, allocations: 181.1 kB / 1.22 GB, free: 12.88 MB / 0.9825 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.05e-05/0.2868, allocations: 124.8 kB / 1.22 GB, free: 12.75 MB / 0.9825 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.936e-05/0.2869, allocations: 108.9 kB / 1.22 GB, free: 12.64 MB / 0.9825 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.041e-05/0.2869, allocations: 180.3 kB / 1.22 GB, free: 12.45 MB / 0.9825 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.169e-05/0.287, allocations: 180.2 kB / 1.22 GB, free: 12.27 MB / 0.9825 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.686e-05/0.2871, allocations: 180.2 kB / 1.221 GB, free: 12.09 MB / 0.9825 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002124/0.2873, allocations: 417.2 kB / 1.221 GB, free: 11.62 MB / 0.9825 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-05/0.2873, allocations: 108.9 kB / 1.221 GB, free: 11.51 MB / 0.9825 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.957e-05/0.2874, allocations: 101 kB / 1.221 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.69e-05/0.2874, allocations: 184.2 kB / 1.221 GB, free: 11.21 MB / 0.9825 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.187e-05/0.2875, allocations: 180.2 kB / 1.222 GB, free: 11.03 MB / 0.9825 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.87e-05/0.2875, allocations: 184.2 kB / 1.222 GB, free: 10.84 MB / 0.9825 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.868e-05/0.2876, allocations: 184.3 kB / 1.222 GB, free: 10.66 MB / 0.9825 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.2877, allocations: 307.7 kB / 1.222 GB, free: 10.33 MB / 0.9825 GB Notification: Performance of postOpt removeConstants (simulation): time 7.049e-05/0.2878, allocations: 186 kB / 1.222 GB, free: 10.12 MB / 0.9825 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.749e-05/0.2879, allocations: 184.2 kB / 1.223 GB, free: 9.938 MB / 0.9825 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.069e-05/0.288, allocations: 105 kB / 1.223 GB, free: 9.828 MB / 0.9825 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.079e-05/0.288, allocations: 184.2 kB / 1.223 GB, free: 9.641 MB / 0.9825 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.019e-05/0.2881, allocations: 112.8 kB / 1.223 GB, free: 9.523 MB / 0.9825 GB Notification: Performance of sorting global known variables: time 5.14e-05/0.2881, allocations: 96.67 kB / 1.223 GB, free: 9.43 MB / 0.9825 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2881, allocations: 4 kB / 1.223 GB, free: 9.426 MB / 0.9825 GB Notification: Performance of remove unused functions: time 0.0007386/0.2889, allocations: 279.8 kB / 1.223 GB, free: 9.152 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.001018/0.2899, allocations: 0.5335 MB / 1.224 GB, free: 8.609 MB / 0.9825 GB Notification: Performance of simCode: created initialization part: time 9.064e-05/0.29, allocations: 37.7 kB / 1.224 GB, free: 8.566 MB / 0.9825 GB Notification: Performance of simCode: created event and clocks part: time 1.563e-06/0.29, allocations: 4 kB / 1.224 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created simulation system equations: time 3.667e-06/0.29, allocations: 0 / 1.224 GB, free: 8.562 MB / 0.9825 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003878/0.2904, allocations: 482.9 kB / 1.224 GB, free: 8.09 MB / 0.9825 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002914/0.2907, allocations: 236 kB / 1.225 GB, free: 7.832 MB / 0.9825 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002222/0.2909, allocations: 0.6846 MB / 1.225 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: alias equations: time 1.23e-05/0.291, allocations: 0 / 1.225 GB, free: 7.121 MB / 0.9825 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.255e-06/0.291, allocations: 11.44 kB / 1.225 GB, free: 7.113 MB / 0.9825 GB Notification: Performance of SimCode: time 2.31e-07/0.291, allocations: 4 kB / 1.225 GB, free: 7.109 MB / 0.9825 GB Notification: Performance of Templates: time 0.009059/0.3001, allocations: 5.641 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