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 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.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.001792/0.001792, allocations: 106.1 kB / 16.4 MB, free: 6.504 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.00208/0.00208, allocations: 188 kB / 17.34 MB, free: 5.738 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.443/1.443, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.777/2.777, allocations: 474.5 MB / 0.7477 GB, free: 14.07 MB / 0.6231 GB Notification: Performance of FrontEnd - loaded program: time 0.0019/0.0019, allocations: 63.91 kB / 1.073 GB, free: 7.156 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7338/0.7357, allocations: 160.3 MB / 1.229 GB, free: 11.12 MB / 0.9512 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002385/0.7381, allocations: 1.366 MB / 1.231 GB, free: 9.742 MB / 0.9512 GB Notification: Performance of NFInst.instExpressions: time 0.002795/0.7409, allocations: 1.814 MB / 1.232 GB, free: 7.918 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.451e-05/0.741, allocations: 4 kB / 1.232 GB, free: 7.914 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 7.711e-05/0.741, allocations: 11.92 kB / 1.232 GB, free: 7.902 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001375/0.7412, allocations: 27.89 kB / 1.232 GB, free: 7.875 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002548/0.7438, allocations: 1.156 MB / 1.234 GB, free: 6.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.165e-05/0.7439, allocations: 43.84 kB / 1.234 GB, free: 6.688 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.238e-05/0.7439, allocations: 7.984 kB / 1.234 GB, free: 6.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.276e-05/0.744, allocations: 27.86 kB / 1.234 GB, free: 6.652 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.627e-05/0.7441, allocations: 27.91 kB / 1.234 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.179e-05/0.7441, allocations: 0 / 1.234 GB, free: 6.625 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001209/0.7453, allocations: 0.8929 MB / 1.234 GB, free: 5.73 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 8.841e-05/0.7454, allocations: 63.75 kB / 1.235 GB, free: 5.668 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.379e-05/0.7455, allocations: 71.42 kB / 1.235 GB, free: 5.598 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.001031/0.7465, allocations: 0.8773 MB / 1.235 GB, free: 4.723 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.526e-06/0.7465, allocations: 4 kB / 1.235 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.272e-06/0.7465, allocations: 0 / 1.235 GB, free: 4.719 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 4.949e-06/0.7465, allocations: 0 / 1.235 GB, free: 4.719 MB / 0.9512 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.0006648/0.7472, allocations: 0.5907 MB / 1.236 GB, free: 4.078 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.7473, allocations: 12.03 kB / 1.236 GB, free: 4.066 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.593e-05/0.7473, allocations: 24.75 kB / 1.236 GB, free: 4.043 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002193/0.7475, allocations: 234.9 kB / 1.236 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.865e-06/0.7475, allocations: 384 / 1.236 GB, free: 3.773 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.097e-05/0.7476, allocations: 4.375 kB / 1.236 GB, free: 3.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001475/0.7477, allocations: 113.8 kB / 1.236 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.263e-06/0.7477, allocations: 0 / 1.236 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.452e-06/0.7477, allocations: 0 / 1.236 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.429e-06/0.7477, allocations: 0 / 1.236 GB, free: 3.652 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.54e-05/0.7478, allocations: 75.97 kB / 1.236 GB, free: 3.578 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002758/0.7481, allocations: 273.9 kB / 1.237 GB, free: 3.262 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001291/0.7483, allocations: 126.5 kB / 1.237 GB, free: 3.129 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001046/0.7484, allocations: 108.9 kB / 1.237 GB, free: 3.02 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.7484, allocations: 11.94 kB / 1.237 GB, free: 3.008 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.627e-05/0.7484, allocations: 30.56 kB / 1.237 GB, free: 2.969 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 2.945e-06/0.7484, allocations: 3.984 kB / 1.237 GB, free: 2.965 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32): time 0.0004068/0.7488, allocations: 334.7 kB / 1.237 GB, free: 2.633 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.595e-05/0.7489, allocations: 51.41 kB / 1.237 GB, free: 2.57 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002624/0.7492, allocations: 256.9 kB / 1.238 GB, free: 2.312 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.818e-05/0.7492, allocations: 29.7 kB / 1.238 GB, free: 2.277 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 8.806e-05/0.7493, allocations: 136.6 kB / 1.238 GB, free: 2.141 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.964e-05/0.7494, allocations: 103.1 kB / 1.238 GB, free: 2.039 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.276e-05/0.7494, allocations: 29.7 kB / 1.238 GB, free: 2.004 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001519/0.7496, allocations: 338.8 kB / 1.238 GB, free: 1.664 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.611e-05/0.7497, allocations: 71.97 kB / 1.238 GB, free: 1.594 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.288e-05/0.7497, allocations: 76.5 kB / 1.238 GB, free: 1.52 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000203/0.7499, allocations: 201.8 kB / 1.239 GB, free: 1.32 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.75, allocations: 3.938 kB / 1.239 GB, free: 1.316 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002459/0.7502, allocations: 229.4 kB / 1.239 GB, free: 1.086 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.213e-05/0.7502, allocations: 8.062 kB / 1.239 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.142e-05/0.7502, allocations: 0 / 1.239 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.7503, allocations: 0 / 1.239 GB, free: 1.078 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.148e-06/0.7503, allocations: 7.984 kB / 1.239 GB, free: 1.07 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.7503, allocations: 3.938 kB / 1.239 GB, free: 1.066 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.487e-05/0.7503, allocations: 7.891 kB / 1.239 GB, free: 1.059 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.324e-06/0.7503, allocations: 4 kB / 1.239 GB, free: 1.055 MB / 0.9512 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.0001319/0.7505, allocations: 153.8 kB / 1.239 GB, free: 0.8945 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.867e-05/0.7505, allocations: 27.75 kB / 1.239 GB, free: 0.8672 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002969/0.7508, allocations: 256.5 kB / 1.239 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.7508, allocations: 0 / 1.239 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.7508, allocations: 0 / 1.239 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.783e-06/0.7508, allocations: 0 / 1.239 GB, free: 0.6016 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002387/0.7511, allocations: 289.8 kB / 1.24 GB, free: 276 kB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.694e-06/0.7511, allocations: 7.938 kB / 1.24 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.91e-07/0.7511, allocations: 0 / 1.24 GB, free: 268 kB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.7511, allocations: 4 kB / 1.24 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.009e-06/0.7511, allocations: 0 / 1.24 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7511, allocations: 0 / 1.24 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.7511, allocations: 32 / 1.24 GB, free: 264 kB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000276/0.7514, allocations: 264.8 kB / 1.24 GB, free: 15.98 MB / 0.9669 GB Notification: Performance of postOpt removeConstants (simulation): time 7.305e-05/0.7515, allocations: 104.8 kB / 1.24 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.794e-05/0.7515, allocations: 0 / 1.24 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.472e-05/0.7516, allocations: 0 / 1.24 GB, free: 15.86 MB / 0.9669 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.81e-05/0.7516, allocations: 7.938 kB / 1.24 GB, free: 15.85 MB / 0.9669 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.438e-06/0.7516, allocations: 7.938 kB / 1.24 GB, free: 15.84 MB / 0.9669 GB Notification: Performance of sorting global known variables: time 0.0001714/0.7518, allocations: 184.5 kB / 1.24 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7518, allocations: 4.031 kB / 1.24 GB, free: 15.66 MB / 0.9669 GB Notification: Performance of remove unused functions: time 0.0005187/0.7523, allocations: 211.4 kB / 1.24 GB, free: 15.45 MB / 0.9669 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.0006923/0.753, allocations: 341.5 kB / 1.241 GB, free: 15.11 MB / 0.9669 GB Notification: Performance of simCode: created initialization part: time 0.000317/0.7533, allocations: 273.5 kB / 1.241 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.7533, allocations: 0 / 1.241 GB, free: 14.84 MB / 0.9669 GB Notification: Performance of simCode: created simulation system equations: time 0.0001635/0.7535, allocations: 177.6 kB / 1.241 GB, free: 14.66 MB / 0.9669 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002195/0.7537, allocations: 30.19 kB / 1.241 GB, free: 14.63 MB / 0.9669 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006517/0.7544, allocations: 497.6 kB / 1.242 GB, free: 14.11 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.7548, allocations: 0.7671 MB / 1.242 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 1.979e-05/0.7548, allocations: 0 / 1.242 GB, free: 13.32 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.849e-05/0.7548, allocations: 15.38 kB / 1.242 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of SimCode: time 2.4e-07/0.7549, allocations: 3.938 kB / 1.242 GB, free: 13.3 MB / 0.9669 GB Notification: Performance of Templates: time 0.1163/0.8711, allocations: 4.658 MB / 1.247 GB, free: 8.695 MB / 0.9669 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 -s gbode -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