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.001404/0.001404, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001694/0.001694, allocations: 194.2 kB / 16.53 MB, free: 6.391 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.363/1.363, allocations: 222.9 MB / 240.2 MB, free: 4.395 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.711/2.711, allocations: 472.6 MB / 0.7451 GB, free: 4.684 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001282/0.001283, allocations: 64.28 kB / 0.9121 GB, free: 33.39 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2734/0.2747, allocations: 159.9 MB / 1.068 GB, free: 10.36 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.003117/0.2779, allocations: 1.443 MB / 1.07 GB, free: 8.906 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.004488/0.2824, allocations: 2.895 MB / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.94e-05/0.2825, allocations: 0 / 1.073 GB, free: 6 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.319e-05/0.2825, allocations: 3.938 kB / 1.073 GB, free: 5.996 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.648e-05/0.2826, allocations: 19.84 kB / 1.073 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.004015/0.2866, allocations: 1.594 MB / 1.074 GB, free: 4.402 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.474e-05/0.2867, allocations: 35.75 kB / 1.074 GB, free: 4.367 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 4.141e-05/0.2867, allocations: 7.984 kB / 1.074 GB, free: 4.359 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.705e-05/0.2868, allocations: 15.92 kB / 1.074 GB, free: 4.344 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 2.912e-05/0.2868, allocations: 23.88 kB / 1.074 GB, free: 4.32 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.141e-05/0.2868, allocations: 3.984 kB / 1.074 GB, free: 4.316 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002261/0.2891, allocations: 1.455 MB / 1.076 GB, free: 2.859 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.589e-05/0.2891, allocations: 4 kB / 1.076 GB, free: 2.855 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.073e-05/0.2892, allocations: 27.73 kB / 1.076 GB, free: 2.828 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001657/0.2908, allocations: 1.111 MB / 1.077 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/0.2908, allocations: 0 / 1.077 GB, free: 1.715 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.302e-06/0.2909, allocations: 4 kB / 1.077 GB, free: 1.711 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.11e-06/0.2909, allocations: 0 / 1.077 GB, free: 1.711 MB / 0.8262 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.0006825/0.2916, allocations: 0.5184 MB / 1.077 GB, free: 1.145 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.725e-05/0.2916, allocations: 12.03 kB / 1.077 GB, free: 1.133 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.593e-05/0.2917, allocations: 76.22 kB / 1.077 GB, free: 1.059 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000151/0.2918, allocations: 249 kB / 1.078 GB, free: 0.7773 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.13e-05/0.2919, allocations: 158.9 kB / 1.078 GB, free: 0.6211 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.588e-05/0.2919, allocations: 154.9 kB / 1.078 GB, free: 480 kB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.612e-05/0.292, allocations: 109.1 kB / 1.078 GB, free: 364 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.162e-05/0.292, allocations: 75.28 kB / 1.078 GB, free: 288 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.704e-05/0.2921, allocations: 150.6 kB / 1.078 GB, free: 136 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.198e-05/0.2922, allocations: 150.6 kB / 1.078 GB, free: 15.98 MB / 0.8419 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.556e-05/0.2922, allocations: 150.6 kB / 1.078 GB, free: 15.84 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002959/0.2925, allocations: 477.8 kB / 1.079 GB, free: 15.32 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.846e-05/0.2926, allocations: 173.1 kB / 1.079 GB, free: 15.14 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.898e-05/0.2926, allocations: 84.19 kB / 1.079 GB, free: 15.05 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.414e-05/0.2927, allocations: 79.28 kB / 1.079 GB, free: 14.98 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.169e-05/0.2927, allocations: 113.8 kB / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.2927, allocations: 0 / 1.079 GB, free: 14.86 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 7.902e-05/0.2928, allocations: 29.7 kB / 1.079 GB, free: 14.82 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.189e-05/0.2928, allocations: 134.6 kB / 1.079 GB, free: 14.68 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001374/0.293, allocations: 135 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.122e-05/0.293, allocations: 25.7 kB / 1.08 GB, free: 14.5 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.644e-05/0.2931, allocations: 92.12 kB / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.883e-06/0.2931, allocations: 0 / 1.08 GB, free: 14.41 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.72e-05/0.2931, allocations: 25.7 kB / 1.08 GB, free: 14.38 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.995e-05/0.2932, allocations: 318.8 kB / 1.08 GB, free: 14.06 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.537e-05/0.2933, allocations: 4 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.567e-05/0.2933, allocations: 4 kB / 1.08 GB, free: 14.05 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.94e-05/0.2933, allocations: 24.84 kB / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.997e-06/0.2933, allocations: 0 / 1.08 GB, free: 14.02 MB / 0.8419 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001226/0.2935, allocations: 61.42 kB / 1.08 GB, free: 13.96 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.2935, allocations: 4 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.987e-05/0.2935, allocations: 4 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.099e-05/0.2935, allocations: 4.062 kB / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.62e-07/0.2935, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.639e-06/0.2935, allocations: 0 / 1.08 GB, free: 13.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.384e-05/0.2936, allocations: 4 kB / 1.08 GB, free: 13.94 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.011e-06/0.2936, allocations: 0 / 1.08 GB, free: 13.94 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.0001008/0.2937, allocations: 186.3 kB / 1.08 GB, free: 13.75 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.02e-05/0.2938, allocations: 120.8 kB / 1.08 GB, free: 13.62 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.179e-05/0.2938, allocations: 112.8 kB / 1.081 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.956e-05/0.2939, allocations: 180.3 kB / 1.081 GB, free: 13.32 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.16e-05/0.2939, allocations: 180.2 kB / 1.081 GB, free: 13.14 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.305e-05/0.294, allocations: 180.2 kB / 1.081 GB, free: 12.95 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002209/0.2942, allocations: 413.2 kB / 1.081 GB, free: 12.49 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.896e-05/0.2943, allocations: 108.9 kB / 1.082 GB, free: 12.38 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.995e-05/0.2943, allocations: 105 kB / 1.082 GB, free: 12.27 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.304e-05/0.2944, allocations: 184.2 kB / 1.082 GB, free: 12.08 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.358e-05/0.2945, allocations: 180.2 kB / 1.082 GB, free: 11.9 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.903e-05/0.2945, allocations: 180.3 kB / 1.082 GB, free: 11.71 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.239e-05/0.2946, allocations: 180.2 kB / 1.082 GB, free: 11.53 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001369/0.2947, allocations: 319.8 kB / 1.083 GB, free: 11.2 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 7.251e-05/0.2948, allocations: 185.9 kB / 1.083 GB, free: 10.99 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.246e-05/0.2949, allocations: 180.3 kB / 1.083 GB, free: 10.8 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.372e-05/0.295, allocations: 104.9 kB / 1.083 GB, free: 10.7 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.275e-05/0.295, allocations: 180.2 kB / 1.083 GB, free: 10.51 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.252e-05/0.2951, allocations: 108.9 kB / 1.083 GB, free: 10.4 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.984e-05/0.2951, allocations: 104.8 kB / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2951, allocations: 0 / 1.083 GB, free: 10.3 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.000756/0.2959, allocations: 279.8 kB / 1.084 GB, free: 10.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.00114/0.2971, allocations: 0.5357 MB / 1.084 GB, free: 9.48 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 9.457e-05/0.2972, allocations: 45.69 kB / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.2972, allocations: 0 / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.743e-06/0.2972, allocations: 0 / 1.084 GB, free: 9.43 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004144/0.2976, allocations: 463.6 kB / 1.085 GB, free: 8.973 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003216/0.2979, allocations: 240 kB / 1.085 GB, free: 8.711 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002355/0.2982, allocations: 0.6846 MB / 1.086 GB, free: 8 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.2982, allocations: 7.938 kB / 1.086 GB, free: 7.992 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.2982, allocations: 11.44 kB / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of SimCode: time 2.2e-07/0.2982, allocations: 0 / 1.086 GB, free: 7.98 MB / 0.8419 GB Notification: Performance of Templates: time 0.009906/0.3081, allocations: 5.657 MB / 1.091 GB, free: 2.375 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=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