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 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.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.001639/0.00164, allocations: 108 kB / 15.61 MB, free: 148 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.001943/0.001943, allocations: 197.1 kB / 16.53 MB, free: 6.656 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.502/1.502, allocations: 222.9 MB / 240.2 MB, free: 4.402 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.778/2.778, allocations: 472.6 MB / 0.7451 GB, free: 4.617 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001215/0.001215, allocations: 71.03 kB / 0.9121 GB, free: 33.38 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2821/0.2834, allocations: 159.9 MB / 1.068 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.00233/0.2857, allocations: 1.43 MB / 1.07 GB, free: 8.887 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.003797/0.2895, allocations: 2.848 MB / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.662e-05/0.2896, allocations: 0 / 1.072 GB, free: 6.027 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 1.965e-05/0.2896, allocations: 3.938 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 5.101e-05/0.2897, allocations: 15.84 kB / 1.072 GB, free: 6.008 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.00323/0.2929, allocations: 1.556 MB / 1.074 GB, free: 4.473 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 5.902e-05/0.293, allocations: 47.73 kB / 1.074 GB, free: 4.426 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 3.187e-05/0.293, allocations: 7.922 kB / 1.074 GB, free: 4.418 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 2.43e-05/0.293, allocations: 11.94 kB / 1.074 GB, free: 4.406 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 3.383e-05/0.2931, allocations: 23.86 kB / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 9.258e-06/0.2931, allocations: 0 / 1.074 GB, free: 4.383 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00175/0.2949, allocations: 1.42 MB / 1.075 GB, free: 2.961 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.117e-05/0.2949, allocations: 4 kB / 1.075 GB, free: 2.957 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.2949, allocations: 19.86 kB / 1.075 GB, free: 2.938 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.001254/0.2962, allocations: 1.08 MB / 1.077 GB, free: 1.855 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.767e-06/0.2962, allocations: 4 kB / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.653e-06/0.2962, allocations: 0 / 1.077 GB, free: 1.852 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.2962, allocations: 0 / 1.077 GB, free: 1.852 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.0005081/0.2967, allocations: 0.5185 MB / 1.077 GB, free: 1.285 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 3.069e-05/0.2968, allocations: 12.03 kB / 1.077 GB, free: 1.273 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.916e-05/0.2968, allocations: 84.14 kB / 1.077 GB, free: 1.191 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001331/0.2969, allocations: 247.5 kB / 1.077 GB, free: 0.9102 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.24e-05/0.297, allocations: 150.9 kB / 1.078 GB, free: 0.7617 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.416e-05/0.2971, allocations: 158.9 kB / 1.078 GB, free: 0.6055 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.223e-05/0.2971, allocations: 113 kB / 1.078 GB, free: 500 kB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.023e-05/0.2971, allocations: 75.28 kB / 1.078 GB, free: 424 kB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.192e-05/0.2972, allocations: 150.6 kB / 1.078 GB, free: 272 kB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.805e-05/0.2972, allocations: 154.6 kB / 1.078 GB, free: 116 kB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.2973, allocations: 158.5 kB / 1.078 GB, free: 15.96 MB / 0.8419 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002583/0.2976, allocations: 465.8 kB / 1.079 GB, free: 15.45 MB / 0.8419 GB Notification: Performance of preOpt comSubExp (simulation): time 6.62e-05/0.2977, allocations: 173.1 kB / 1.079 GB, free: 15.27 MB / 0.8419 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.476e-05/0.2977, allocations: 84.14 kB / 1.079 GB, free: 15.19 MB / 0.8419 GB Notification: Performance of preOpt evalFunc (simulation): time 2.344e-05/0.2977, allocations: 79.28 kB / 1.079 GB, free: 15.11 MB / 0.8419 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.524e-05/0.2978, allocations: 113.8 kB / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.2978, allocations: 0 / 1.079 GB, free: 14.99 MB / 0.8419 GB Notification: Performance of matching and sorting (n=0): time 6.511e-05/0.2978, allocations: 33.75 kB / 1.079 GB, free: 14.95 MB / 0.8419 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.549e-05/0.2979, allocations: 130.6 kB / 1.079 GB, free: 14.81 MB / 0.8419 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001223/0.298, allocations: 136.4 kB / 1.079 GB, free: 14.67 MB / 0.8419 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.298, allocations: 25.7 kB / 1.079 GB, free: 14.64 MB / 0.8419 GB Notification: Performance of collectInitialEqns (initialization): time 4.011e-05/0.2981, allocations: 92.14 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-06/0.2981, allocations: 4 kB / 1.08 GB, free: 14.54 MB / 0.8419 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.057e-05/0.2981, allocations: 17.7 kB / 1.08 GB, free: 14.52 MB / 0.8419 GB Notification: Performance of setup shared object (initialization): time 9.402e-05/0.2982, allocations: 314.8 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.975e-05/0.2983, allocations: 4 kB / 1.08 GB, free: 14.2 MB / 0.8419 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.521e-05/0.2983, allocations: 8 kB / 1.08 GB, free: 14.19 MB / 0.8419 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.489e-05/0.2983, allocations: 16.84 kB / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.2983, allocations: 0 / 1.08 GB, free: 14.17 MB / 0.8419 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001025/0.2984, allocations: 41.7 kB / 1.08 GB, free: 14.12 MB / 0.8419 GB Notification: Performance of prepare postOptimizeDAE: time 1.38e-05/0.2985, allocations: 12 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.541e-05/0.2985, allocations: 3.938 kB / 1.08 GB, free: 14.11 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.2985, allocations: 4 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.954e-06/0.2985, allocations: 3.984 kB / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.797e-06/0.2985, allocations: 0 / 1.08 GB, free: 14.1 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.078e-05/0.2985, allocations: 7.844 kB / 1.08 GB, free: 14.09 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.2985, allocations: 4 kB / 1.08 GB, free: 14.09 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 8.814e-05/0.2986, allocations: 186.3 kB / 1.08 GB, free: 13.89 MB / 0.8419 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.775e-05/0.2987, allocations: 108.9 kB / 1.08 GB, free: 13.78 MB / 0.8419 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.693e-05/0.2988, allocations: 116.6 kB / 1.08 GB, free: 13.66 MB / 0.8419 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.614e-05/0.2988, allocations: 180.2 kB / 1.081 GB, free: 13.47 MB / 0.8419 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.671e-05/0.2989, allocations: 180.3 kB / 1.081 GB, free: 13.29 MB / 0.8419 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.53e-05/0.2989, allocations: 184.2 kB / 1.081 GB, free: 13.1 MB / 0.8419 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001963/0.2991, allocations: 409.2 kB / 1.081 GB, free: 12.64 MB / 0.8419 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.975e-05/0.2992, allocations: 116.8 kB / 1.081 GB, free: 12.52 MB / 0.8419 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.064e-05/0.2992, allocations: 105 kB / 1.082 GB, free: 12.41 MB / 0.8419 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.535e-05/0.2993, allocations: 184.2 kB / 1.082 GB, free: 12.23 MB / 0.8419 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.604e-05/0.2994, allocations: 180.2 kB / 1.082 GB, free: 12.04 MB / 0.8419 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.802e-05/0.2994, allocations: 180.3 kB / 1.082 GB, free: 11.86 MB / 0.8419 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.245e-05/0.2995, allocations: 184.2 kB / 1.082 GB, free: 11.67 MB / 0.8419 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001331/0.2996, allocations: 311.7 kB / 1.083 GB, free: 11.34 MB / 0.8419 GB Notification: Performance of postOpt removeConstants (simulation): time 6.905e-05/0.2997, allocations: 193.9 kB / 1.083 GB, free: 11.13 MB / 0.8419 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.603e-05/0.2997, allocations: 176.3 kB / 1.083 GB, free: 10.95 MB / 0.8419 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.774e-05/0.2998, allocations: 112.9 kB / 1.083 GB, free: 10.83 MB / 0.8419 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.718e-05/0.2999, allocations: 176.3 kB / 1.083 GB, free: 10.65 MB / 0.8419 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.95e-05/0.2999, allocations: 105 kB / 1.083 GB, free: 10.54 MB / 0.8419 GB Notification: Performance of sorting global known variables: time 5.686e-05/0.3, allocations: 100.5 kB / 1.083 GB, free: 10.45 MB / 0.8419 GB Notification: Performance of sort global known variables: time 1.71e-07/0.3, allocations: 3.938 kB / 1.083 GB, free: 10.44 MB / 0.8419 GB Notification: Performance of remove unused functions: time 0.0006318/0.3006, allocations: 275.8 kB / 1.084 GB, free: 10.17 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.000911/0.3016, allocations: 0.5176 MB / 1.084 GB, free: 9.645 MB / 0.8419 GB Notification: Performance of simCode: created initialization part: time 8.099e-05/0.3016, allocations: 37.7 kB / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: created event and clocks part: time 3.466e-06/0.3017, allocations: 0 / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: created simulation system equations: time 1.593e-06/0.3017, allocations: 0 / 1.084 GB, free: 9.602 MB / 0.8419 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.302, allocations: 471.6 kB / 1.085 GB, free: 9.137 MB / 0.8419 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002797/0.3023, allocations: 244 kB / 1.085 GB, free: 8.871 MB / 0.8419 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002233/0.3026, allocations: 0.6807 MB / 1.085 GB, free: 8.164 MB / 0.8419 GB Notification: Performance of simCode: alias equations: time 1.257e-05/0.3026, allocations: 4 kB / 1.085 GB, free: 8.16 MB / 0.8419 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.007e-06/0.3026, allocations: 7.438 kB / 1.085 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of SimCode: time 2.3e-07/0.3026, allocations: 0 / 1.085 GB, free: 8.152 MB / 0.8419 GB Notification: Performance of Templates: time 0.008761/0.3114, allocations: 5.487 MB / 1.091 GB, free: 2.715 MB / 0.8419 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