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.1-master/package.mo", uses=false) Using package Buildings with version 11.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-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.005486/0.005486, allocations: 103 kB / 15.73 MB, free: 6.059 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.001336/0.001336, allocations: 187.8 kB / 16.67 MB, free: 5.98 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.312/1.312, allocations: 222.9 MB / 240.4 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.544/2.544, allocations: 461.9 MB / 0.7348 GB, free: 11.05 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001381/0.001381, allocations: 63.89 kB / 1.054 GB, free: 7.613 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7557/0.7571, allocations: 157.4 MB / 1.208 GB, free: 13.61 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002532/0.7597, allocations: 1.378 MB / 1.209 GB, free: 12.23 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002964/0.7627, allocations: 1.801 MB / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.003e-05/0.7627, allocations: 0 / 1.211 GB, free: 10.41 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 8.959e-05/0.7628, allocations: 11.98 kB / 1.211 GB, free: 10.4 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001592/0.763, allocations: 31.83 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002686/0.7657, allocations: 1.145 MB / 1.212 GB, free: 9.242 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 0.0001179/0.7659, allocations: 51.77 kB / 1.212 GB, free: 9.191 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.605e-05/0.7659, allocations: 4 kB / 1.212 GB, free: 9.188 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 8.43e-05/0.766, allocations: 27.84 kB / 1.212 GB, free: 9.16 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 6.977e-05/0.7661, allocations: 31.91 kB / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.222e-05/0.7661, allocations: 0 / 1.212 GB, free: 9.129 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001178/0.7673, allocations: 0.8852 MB / 1.213 GB, free: 8.242 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 8.116e-05/0.7674, allocations: 67.8 kB / 1.213 GB, free: 8.176 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 6.233e-05/0.7674, allocations: 71.38 kB / 1.213 GB, free: 8.105 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.001269/0.7687, allocations: 0.8746 MB / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 4.669e-06/0.7687, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of FrontEnd: time 1.644e-06/0.7687, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.901e-06/0.7688, allocations: 0 / 1.214 GB, free: 7.234 MB / 0.9356 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.0008303/0.7696, allocations: 0.5839 MB / 1.215 GB, free: 6.602 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.7696, allocations: 12.03 kB / 1.215 GB, free: 6.59 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.948e-05/0.7697, allocations: 20.66 kB / 1.215 GB, free: 6.57 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.7699, allocations: 226.7 kB / 1.215 GB, free: 6.312 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.768e-06/0.7699, allocations: 4.375 kB / 1.215 GB, free: 6.309 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.77, allocations: 4.375 kB / 1.215 GB, free: 6.305 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001653/0.7701, allocations: 109.7 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.7701, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.7702, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.939e-06/0.7702, allocations: 0 / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.72e-05/0.7702, allocations: 75.97 kB / 1.215 GB, free: 6.117 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002664/0.7705, allocations: 273.9 kB / 1.215 GB, free: 5.801 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.7706, allocations: 126.5 kB / 1.215 GB, free: 5.668 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.6e-05/0.7708, allocations: 108.9 kB / 1.216 GB, free: 5.559 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.428e-05/0.7708, allocations: 3.938 kB / 1.216 GB, free: 5.555 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.947e-05/0.7708, allocations: 38.5 kB / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=32): time 1.132e-06/0.7708, allocations: 0 / 1.216 GB, free: 5.508 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32): time 0.0003933/0.7712, allocations: 338.4 kB / 1.216 GB, free: 5.172 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.331e-05/0.7713, allocations: 51.41 kB / 1.216 GB, free: 5.109 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002581/0.7715, allocations: 253 kB / 1.216 GB, free: 4.852 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.294e-05/0.7715, allocations: 33.67 kB / 1.216 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 7.386e-05/0.7716, allocations: 128.7 kB / 1.216 GB, free: 4.684 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 9.08e-05/0.7717, allocations: 102.4 kB / 1.216 GB, free: 4.582 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.809e-05/0.7718, allocations: 29.7 kB / 1.216 GB, free: 4.547 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 0.0001387/0.7719, allocations: 338.8 kB / 1.217 GB, free: 4.207 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000118/0.772, allocations: 75.97 kB / 1.217 GB, free: 4.133 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.354e-05/0.7721, allocations: 79.91 kB / 1.217 GB, free: 4.055 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00017/0.7723, allocations: 197.8 kB / 1.217 GB, free: 3.859 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.543e-06/0.7723, allocations: 4.031 kB / 1.217 GB, free: 3.855 MB / 0.9356 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002128/0.7725, allocations: 229.2 kB / 1.217 GB, free: 3.625 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.19e-05/0.7725, allocations: 4 kB / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7725, allocations: 0 / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.219e-05/0.7726, allocations: 0 / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.314e-06/0.7726, allocations: 0 / 1.217 GB, free: 3.621 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.478e-06/0.7726, allocations: 7.938 kB / 1.217 GB, free: 3.613 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.302e-05/0.7726, allocations: 7.844 kB / 1.217 GB, free: 3.605 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.032e-06/0.7726, allocations: 0 / 1.217 GB, free: 3.605 MB / 0.9356 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.0001189/0.7728, allocations: 165.8 kB / 1.218 GB, free: 3.434 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.474e-05/0.7728, allocations: 31.55 kB / 1.218 GB, free: 3.402 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002665/0.7731, allocations: 256.4 kB / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.7731, allocations: 0 / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.898e-06/0.7731, allocations: 0 / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.444e-06/0.7731, allocations: 0 / 1.218 GB, free: 3.141 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/0.7733, allocations: 281.9 kB / 1.218 GB, free: 2.816 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.582e-06/0.7733, allocations: 7.922 kB / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.82e-07/0.7733, allocations: 0 / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.323e-06/0.7733, allocations: 0 / 1.218 GB, free: 2.809 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.27e-06/0.7733, allocations: 4.031 kB / 1.218 GB, free: 2.805 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.72e-07/0.7733, allocations: 4 kB / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7733, allocations: 0 / 1.218 GB, free: 2.801 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002489/0.7736, allocations: 264.6 kB / 1.218 GB, free: 2.523 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 5.969e-05/0.7737, allocations: 104.7 kB / 1.218 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.726e-05/0.7737, allocations: 0 / 1.218 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.381e-05/0.7737, allocations: 0 / 1.218 GB, free: 2.402 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.65e-05/0.7737, allocations: 3.984 kB / 1.218 GB, free: 2.398 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.825e-06/0.7737, allocations: 4.031 kB / 1.218 GB, free: 2.395 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 0.0001492/0.7739, allocations: 192.4 kB / 1.219 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7739, allocations: 0 / 1.219 GB, free: 2.203 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0005448/0.7745, allocations: 215.8 kB / 1.219 GB, free: 1.992 MB / 0.9356 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.0006935/0.7752, allocations: 330.9 kB / 1.219 GB, free: 1.66 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0002952/0.7755, allocations: 273.5 kB / 1.219 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.643e-06/0.7755, allocations: 0 / 1.219 GB, free: 1.387 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.0001399/0.7756, allocations: 177.6 kB / 1.22 GB, free: 1.207 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000234/0.7759, allocations: 25.12 kB / 1.22 GB, free: 1.18 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006262/0.7765, allocations: 490 kB / 1.22 GB, free: 0.6797 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003315/0.7768, allocations: 0.771 MB / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.118e-05/0.7769, allocations: 0 / 1.221 GB, free: 15.88 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.676e-05/0.7769, allocations: 11.44 kB / 1.221 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of SimCode: time 2.21e-07/0.7769, allocations: 0 / 1.221 GB, free: 15.87 MB / 0.9512 GB Notification: Performance of Templates: time 0.008934/0.7858, allocations: 4.616 MB / 1.225 GB, free: 11.31 MB / 0.9512 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/jenkins/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