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_TwoUTube.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_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|RDelta.1|1.|RDelta.1|2.|RDelta.1|3.|RDelta.1|4.|RDelta_Ref.1|1.|RDelta_Ref.1|2.|RDelta_Ref.1|3.|RDelta_Ref.1|4.|R.1|1.|R.1|2.|R.1|3.|R.1|4.|R_Ref.1|1.|R_Ref.1|2.|R_Ref.1|3.|R_Ref.1|4.",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001691/0.001691, allocations: 100.1 kB / 15.88 MB, free: 12 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.002277/0.002277, allocations: 198.4 kB / 16.79 MB, free: 6.809 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.65/1.65, allocations: 222.9 MB / 240.5 MB, free: 4.582 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.0-master/package.mo): time 2.96/2.96, allocations: 461.9 MB / 0.7348 GB, free: 14.2 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001354/0.001354, allocations: 67.48 kB / 0.8991 GB, free: 37 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3719/0.3733, allocations: 157.4 MB / 1.053 GB, free: 8.25 MB / 0.8106 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.00313/0.3765, allocations: 1.44 MB / 1.054 GB, free: 6.793 MB / 0.8106 GB Notification: Performance of NFInst.instExpressions: time 0.0033/0.3798, allocations: 1.852 MB / 1.056 GB, free: 4.934 MB / 0.8106 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.949e-05/0.3799, allocations: 4 kB / 1.056 GB, free: 4.93 MB / 0.8106 GB Notification: Performance of NFTyping.typeComponents: time 0.0001194/0.3801, allocations: 11.92 kB / 1.056 GB, free: 4.918 MB / 0.8106 GB Notification: Performance of NFTyping.typeBindings: time 0.0001985/0.3803, allocations: 23.89 kB / 1.056 GB, free: 4.895 MB / 0.8106 GB Notification: Performance of NFTyping.typeClassSections: time 0.003029/0.3833, allocations: 1.068 MB / 1.057 GB, free: 3.84 MB / 0.8106 GB Notification: Performance of NFFlatten.flatten: time 0.0001432/0.3835, allocations: 83.78 kB / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFFlatten.resolveConnections: time 4.355e-05/0.3835, allocations: 0 / 1.057 GB, free: 3.758 MB / 0.8106 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000107/0.3837, allocations: 27.86 kB / 1.057 GB, free: 3.73 MB / 0.8106 GB Notification: Performance of NFSimplifyModel.simplify: time 9.499e-05/0.3838, allocations: 39.89 kB / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFPackage.collectConstants: time 1.493e-05/0.3838, allocations: 0 / 1.057 GB, free: 3.691 MB / 0.8106 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001549/0.3853, allocations: 0.8422 MB / 1.058 GB, free: 2.848 MB / 0.8106 GB Notification: Performance of NFScalarize.scalarize: time 0.0001088/0.3855, allocations: 71.75 kB / 1.058 GB, free: 2.777 MB / 0.8106 GB Notification: Performance of NFVerifyModel.verify: time 7.763e-05/0.3855, allocations: 67.42 kB / 1.058 GB, free: 2.711 MB / 0.8106 GB Notification: Performance of NFConvertDAE.convert: time 0.001001/0.3866, allocations: 0.624 MB / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.3866, allocations: 0 / 1.059 GB, free: 2.086 MB / 0.8106 GB Notification: Performance of FrontEnd: time 3.827e-06/0.3866, allocations: 4 kB / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Performance of Transformations before backend: time 1.053e-05/0.3866, allocations: 0 / 1.059 GB, free: 2.082 MB / 0.8106 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0008635/0.3875, allocations: 0.58 MB / 1.059 GB, free: 1.453 MB / 0.8106 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.3875, allocations: 11.97 kB / 1.059 GB, free: 1.441 MB / 0.8106 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.825e-05/0.3876, allocations: 24.64 kB / 1.059 GB, free: 1.418 MB / 0.8106 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002336/0.3878, allocations: 222.8 kB / 1.06 GB, free: 1.164 MB / 0.8106 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.077e-06/0.3878, allocations: 8.375 kB / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.195e-05/0.3879, allocations: 384 / 1.06 GB, free: 1.156 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.388, allocations: 101.8 kB / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.282e-05/0.388, allocations: 0 / 1.06 GB, free: 1.051 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.799e-05/0.3881, allocations: 4 kB / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.3881, allocations: 0 / 1.06 GB, free: 1.047 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.956e-05/0.3882, allocations: 71.97 kB / 1.06 GB, free: 0.9766 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003126/0.3885, allocations: 281.7 kB / 1.06 GB, free: 0.6523 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001232/0.3886, allocations: 122.5 kB / 1.06 GB, free: 0.5234 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.867e-05/0.3887, allocations: 112.9 kB / 1.06 GB, free: 420 kB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 3.079e-05/0.3888, allocations: 3.938 kB / 1.06 GB, free: 416 kB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.584e-05/0.3888, allocations: 30.56 kB / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of pre-optimization done (n=32): time 1.452e-06/0.3888, allocations: 0 / 1.06 GB, free: 376 kB / 0.8106 GB Notification: Performance of matching and sorting (n=32): time 0.0004234/0.3892, allocations: 342.3 kB / 1.061 GB, free: 28 kB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.481e-05/0.3893, allocations: 51.41 kB / 1.061 GB, free: 15.96 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002601/0.3896, allocations: 261 kB / 1.061 GB, free: 15.7 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.3896, allocations: 25.7 kB / 1.061 GB, free: 15.67 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 8.009e-05/0.3897, allocations: 128.7 kB / 1.061 GB, free: 15.54 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 8.937e-05/0.3898, allocations: 102.5 kB / 1.061 GB, free: 15.44 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.71e-05/0.3898, allocations: 25.7 kB / 1.061 GB, free: 15.41 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001278/0.39, allocations: 342.8 kB / 1.062 GB, free: 15.06 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.379e-05/0.39, allocations: 75.97 kB / 1.062 GB, free: 14.99 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.931e-05/0.3901, allocations: 75.97 kB / 1.062 GB, free: 14.91 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001839/0.3903, allocations: 209.8 kB / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.3903, allocations: 0 / 1.062 GB, free: 14.71 MB / 0.8262 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002399/0.3906, allocations: 229.1 kB / 1.062 GB, free: 14.48 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.646e-05/0.3906, allocations: 4 kB / 1.062 GB, free: 14.47 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.817e-05/0.3906, allocations: 8 kB / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.22e-05/0.3906, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.623e-06/0.3906, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.703e-06/0.3906, allocations: 0 / 1.062 GB, free: 14.46 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.293e-05/0.3907, allocations: 11.84 kB / 1.062 GB, free: 14.45 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.336e-06/0.3907, allocations: 0 / 1.062 GB, free: 14.45 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 0.0001359/0.3909, allocations: 157.8 kB / 1.062 GB, free: 14.29 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.683e-05/0.3909, allocations: 31.58 kB / 1.062 GB, free: 14.26 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002895/0.3912, allocations: 252.3 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.816e-06/0.3912, allocations: 0 / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.703e-06/0.3912, allocations: 0 / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.378e-06/0.3912, allocations: 7.922 kB / 1.063 GB, free: 14 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002358/0.3915, allocations: 281.8 kB / 1.063 GB, free: 13.67 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.093e-05/0.3915, allocations: 15.95 kB / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.81e-07/0.3915, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.756e-06/0.3915, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.482e-06/0.3915, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3915, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3915, allocations: 0 / 1.063 GB, free: 13.66 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002463/0.3918, allocations: 256.8 kB / 1.063 GB, free: 13.39 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 6.797e-05/0.3918, allocations: 108.6 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.045e-05/0.3919, allocations: 0 / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.746e-05/0.3919, allocations: 4.031 kB / 1.063 GB, free: 13.26 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.721e-05/0.3919, allocations: 4 kB / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.757e-06/0.3919, allocations: 0 / 1.063 GB, free: 13.25 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 0.0001636/0.3921, allocations: 188.4 kB / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3921, allocations: 0 / 1.063 GB, free: 13.07 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0007749/0.3929, allocations: 219.9 kB / 1.064 GB, free: 12.86 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.000996/0.3939, allocations: 338.8 kB / 1.064 GB, free: 12.52 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002946/0.3942, allocations: 261.6 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.3942, allocations: 4.062 kB / 1.064 GB, free: 12.25 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001636/0.3944, allocations: 181.6 kB / 1.064 GB, free: 12.07 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.3947, allocations: 12.5 kB / 1.064 GB, free: 12.05 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007696/0.3955, allocations: 0.603 MB / 1.065 GB, free: 11.41 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000323/0.3958, allocations: 0.7654 MB / 1.066 GB, free: 10.62 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.795e-05/0.3958, allocations: 7.438 kB / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of SimCode: time 3.3e-07/0.3958, allocations: 0 / 1.066 GB, free: 10.61 MB / 0.8262 GB Notification: Performance of Templates: time 0.009024/0.4049, allocations: 4.681 MB / 1.07 GB, free: 5.941 MB / 0.8262 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches