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.MultipoleThermalResistances_OneUTube.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.0-master/package.mo", uses=false) Using package Buildings with version 11.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.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.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.2|2.|RDelta.1|2.|RDelta.2|1.|RDelta_Ref.1|1.|RDelta_Ref.2|2.|RDelta_Ref.1|2.|RDelta_Ref.2|1.|R.1|1.|R.2|2.|R.1|2.|R.2|1.|R_Ref.1|1.|R_Ref.2|2.|R_Ref.1|2.|R_Ref.2|1.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001156/0.001156, allocations: 98.88 kB / 16.02 MB, free: 76 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.001329/0.001329, allocations: 189.7 kB / 16.92 MB, free: 6.684 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.522/1.522, allocations: 223.3 MB / 241 MB, free: 5.332 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 3.042/3.042, allocations: 462.6 MB / 0.7371 GB, free: 15.61 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003812/0.0003812, allocations: 12.09 kB / 0.9035 GB, free: 36.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3578/0.3582, allocations: 159.6 MB / 1.059 GB, free: 4.945 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001647/0.3598, allocations: 1.105 MB / 1.06 GB, free: 3.828 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.003066/0.3629, allocations: 1.809 MB / 1.062 GB, free: 2.008 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.988e-05/0.363, allocations: 4 kB / 1.062 GB, free: 2.004 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001044/0.3631, allocations: 11.92 kB / 1.062 GB, free: 1.992 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001636/0.3633, allocations: 23.89 kB / 1.062 GB, free: 1.969 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.002656/0.366, allocations: 1.037 MB / 1.063 GB, free: 0.9453 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001269/0.3661, allocations: 79.73 kB / 1.063 GB, free: 0.8672 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.695e-05/0.3662, allocations: 7.984 kB / 1.063 GB, free: 0.8594 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 9.466e-05/0.3663, allocations: 11.94 kB / 1.063 GB, free: 0.8477 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 6.687e-05/0.3663, allocations: 31.91 kB / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.276e-05/0.3664, allocations: 0 / 1.063 GB, free: 0.8164 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001338/0.3677, allocations: 0.8461 MB / 1.064 GB, free: 15.97 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 7.842e-05/0.3678, allocations: 27.92 kB / 1.064 GB, free: 15.94 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 5.195e-05/0.3679, allocations: 53.48 kB / 1.064 GB, free: 15.88 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 0.0008378/0.3687, allocations: 0.5695 MB / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 3.837e-06/0.3687, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.663e-06/0.3687, allocations: 0 / 1.065 GB, free: 15.31 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 5.47e-06/0.3687, allocations: 0 / 1.065 GB, free: 15.31 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006419/0.3694, allocations: 471 kB / 1.065 GB, free: 14.8 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.369e-05/0.3694, allocations: 11.97 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.857e-05/0.3695, allocations: 8.844 kB / 1.065 GB, free: 14.79 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001751/0.3697, allocations: 192.7 kB / 1.066 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.696e-05/0.3697, allocations: 384 / 1.066 GB, free: 14.56 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.029e-05/0.3697, allocations: 11.88 kB / 1.066 GB, free: 14.55 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001152/0.3698, allocations: 57.62 kB / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.022e-06/0.3698, allocations: 0 / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.137e-06/0.3699, allocations: 0 / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.3699, allocations: 0 / 1.066 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.018e-05/0.3699, allocations: 27.98 kB / 1.066 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002017/0.3701, allocations: 189.6 kB / 1.066 GB, free: 14.22 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 6.676e-05/0.3702, allocations: 54.5 kB / 1.066 GB, free: 14.16 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.957e-05/0.3702, allocations: 32.83 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.464e-05/0.3703, allocations: 7.984 kB / 1.066 GB, free: 14.12 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.148e-05/0.3703, allocations: 30.56 kB / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=8): time 1.002e-06/0.3703, allocations: 0 / 1.066 GB, free: 14.08 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8): time 0.0002243/0.3705, allocations: 113.6 kB / 1.066 GB, free: 13.96 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3706, allocations: 51.41 kB / 1.066 GB, free: 13.9 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001446/0.3707, allocations: 157 kB / 1.066 GB, free: 13.73 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.449e-05/0.3708, allocations: 25.7 kB / 1.066 GB, free: 13.7 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.265e-05/0.3708, allocations: 104.1 kB / 1.066 GB, free: 13.6 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 4.088e-05/0.3709, allocations: 27.56 kB / 1.066 GB, free: 13.57 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.703e-05/0.3709, allocations: 17.7 kB / 1.066 GB, free: 13.55 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001042/0.371, allocations: 322.8 kB / 1.067 GB, free: 13.22 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.339e-05/0.371, allocations: 27.92 kB / 1.067 GB, free: 13.2 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.092e-05/0.3711, allocations: 27.98 kB / 1.067 GB, free: 13.17 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.567e-05/0.3712, allocations: 64.97 kB / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.3712, allocations: 0 / 1.067 GB, free: 13.1 MB / 0.8262 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001167/0.3713, allocations: 93.95 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.3713, allocations: 8 kB / 1.067 GB, free: 13 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.638e-05/0.3713, allocations: 7.984 kB / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.3714, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.71e-07/0.3714, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3714, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.919e-05/0.3714, allocations: 0 / 1.067 GB, free: 12.99 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.177e-06/0.3714, allocations: 0 / 1.067 GB, free: 12.99 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.55e-05/0.3715, allocations: 129.7 kB / 1.067 GB, free: 12.85 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.365e-05/0.3715, allocations: 7.906 kB / 1.067 GB, free: 12.84 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001622/0.3717, allocations: 112.7 kB / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.3717, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.3717, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.3717, allocations: 0 / 1.067 GB, free: 12.73 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000138/0.3719, allocations: 193.6 kB / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.019e-06/0.3719, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.71e-07/0.3719, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.234e-06/0.3719, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.3719, allocations: 0 / 1.067 GB, free: 12.49 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.163e-06/0.3719, allocations: 7.938 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.052e-06/0.3719, allocations: 4.031 kB / 1.067 GB, free: 12.48 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001367/0.3721, allocations: 124.9 kB / 1.067 GB, free: 12.34 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.3721, allocations: 92.94 kB / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.477e-05/0.3721, allocations: 0 / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.185e-05/0.3722, allocations: 0 / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.296e-05/0.3722, allocations: 0 / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.2e-06/0.3722, allocations: 0 / 1.068 GB, free: 12.23 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 8.688e-05/0.3723, allocations: 133.2 kB / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3723, allocations: 0 / 1.068 GB, free: 12.1 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0006104/0.3729, allocations: 203.9 kB / 1.068 GB, free: 11.9 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 (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 Backend phase and start with SimCode phase: time 0.0008691/0.3738, allocations: 331 kB / 1.068 GB, free: 11.57 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.000144/0.3739, allocations: 89.67 kB / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.853e-06/0.3739, allocations: 0 / 1.068 GB, free: 11.48 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 6.001e-05/0.374, allocations: 73.62 kB / 1.068 GB, free: 11.4 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002167/0.3742, allocations: 11.98 kB / 1.068 GB, free: 11.39 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004097/0.3747, allocations: 284.7 kB / 1.069 GB, free: 11.07 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.3749, allocations: 0.7082 MB / 1.069 GB, free: 10.34 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.539e-05/0.3749, allocations: 7.438 kB / 1.069 GB, free: 10.33 MB / 0.8262 GB Notification: Performance of SimCode: time 4.91e-07/0.3749, allocations: 4 kB / 1.069 GB, free: 10.32 MB / 0.8262 GB Notification: Performance of Templates: time 0.007253/0.3822, allocations: 3.971 MB / 1.073 GB, free: 6.359 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches