Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_9_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 9.1.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/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_9_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_9_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.001399/0.001399, allocations: 108.7 kB / 16.41 MB, free: 6.027 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.001232/0.001232, allocations: 186.2 kB / 17.34 MB, free: 5.633 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.549/1.549, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.401/2.401, allocations: 390.3 MB / 0.6655 GB, free: 0.625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001498/0.001498, allocations: 67.89 kB / 0.9516 GB, free: 7.566 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9381/0.9396, allocations: 140.4 MB / 1.089 GB, free: 5.512 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002456/0.9421, allocations: 1.383 MB / 1.09 GB, free: 4.551 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002696/0.9448, allocations: 1.786 MB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.04e-05/0.9449, allocations: 1.062 kB / 1.092 GB, free: 3.324 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001009/0.945, allocations: 8.438 kB / 1.092 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001594/0.9452, allocations: 24.58 kB / 1.092 GB, free: 3.309 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002887/0.9481, allocations: 1.151 MB / 1.093 GB, free: 2.695 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.000122/0.9482, allocations: 48.34 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 5.327e-05/0.9483, allocations: 3.172 kB / 1.093 GB, free: 2.676 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 9.039e-05/0.9484, allocations: 26.58 kB / 1.093 GB, free: 2.664 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 7.397e-05/0.9485, allocations: 22.77 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.291e-05/0.9485, allocations: 0.9062 kB / 1.093 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001617/0.9501, allocations: 0.8897 MB / 1.094 GB, free: 2.344 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 8.237e-05/0.9502, allocations: 28.92 kB / 1.094 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.274e-05/0.9503, allocations: 25.62 kB / 1.094 GB, free: 2.32 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.001367/0.9516, allocations: 0.7972 MB / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.9516, allocations: 0 / 1.095 GB, free: 2.113 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.783e-06/0.9517, allocations: 4.75 kB / 1.095 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.099e-06/0.9517, allocations: 0 / 1.095 GB, free: 2.109 MB / 0.8575 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.000574/0.9522, allocations: 480.7 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.379e-05/0.9523, allocations: 9.688 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.923e-05/0.9523, allocations: 8.125 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001639/0.9525, allocations: 188.7 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.444e-06/0.9525, allocations: 1.438 kB / 1.095 GB, free: 1.441 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.122e-05/0.9525, allocations: 7.938 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000133/0.9527, allocations: 53.91 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.662e-06/0.9527, allocations: 0 / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.809e-06/0.9527, allocations: 0.5156 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.46e-06/0.9527, allocations: 1 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.18e-05/0.9528, allocations: 29.25 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000186/0.953, allocations: 185.1 kB / 1.096 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 7.094e-05/0.953, allocations: 54.3 kB / 1.096 GB, free: 1.156 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.195e-05/0.9531, allocations: 35.03 kB / 1.096 GB, free: 1.141 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.374e-05/0.9531, allocations: 5.391 kB / 1.096 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.604e-05/0.9532, allocations: 33.36 kB / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 9.21e-07/0.9532, allocations: 0 / 1.096 GB, free: 1.098 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002517/0.9534, allocations: 118.9 kB / 1.096 GB, free: 1.051 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.499e-05/0.9534, allocations: 51.41 kB / 1.096 GB, free: 0.9883 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001519/0.9536, allocations: 157.8 kB / 1.096 GB, free: 0.8672 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 8.175e-06/0.9536, allocations: 25.7 kB / 1.096 GB, free: 0.8359 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.747e-05/0.9537, allocations: 98.72 kB / 1.096 GB, free: 0.7422 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.823e-05/0.9537, allocations: 30.23 kB / 1.096 GB, free: 0.7188 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.003e-05/0.9537, allocations: 14.92 kB / 1.096 GB, free: 0.7031 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 5.79e-05/0.9538, allocations: 325.7 kB / 1.097 GB, free: 392 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.325e-05/0.9538, allocations: 25.73 kB / 1.097 GB, free: 388 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.084e-05/0.9539, allocations: 28.73 kB / 1.097 GB, free: 380 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.812e-05/0.954, allocations: 61.08 kB / 1.097 GB, free: 368 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.683e-06/0.954, allocations: 0 / 1.097 GB, free: 368 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001344/0.9541, allocations: 100.8 kB / 1.097 GB, free: 316 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.899e-05/0.9542, allocations: 8.688 kB / 1.097 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.662e-05/0.9542, allocations: 5.75 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.549e-05/0.9542, allocations: 0.9062 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.62e-07/0.9542, allocations: 0 / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.593e-06/0.9542, allocations: 1.641 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.897e-05/0.9543, allocations: 1.031 kB / 1.097 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.632e-06/0.9543, allocations: 1.094 kB / 1.097 GB, free: 308 kB / 0.8575 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 7.708e-05/0.9544, allocations: 128.8 kB / 1.097 GB, free: 184 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.551e-05/0.9544, allocations: 11.88 kB / 1.097 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.9546, allocations: 112.8 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.9546, allocations: 0 / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.908e-06/0.9546, allocations: 1.375 kB / 1.097 GB, free: 124 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.928e-06/0.9546, allocations: 4.75 kB / 1.097 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001667/0.9548, allocations: 193.6 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.991e-06/0.9548, allocations: 2.062 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-07/0.9548, allocations: 0.8125 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.233e-06/0.9548, allocations: 0 / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.9548, allocations: 2.312 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.016e-06/0.9548, allocations: 4.031 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.9548, allocations: 4.5 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001591/0.955, allocations: 125.9 kB / 1.097 GB, free: 15.82 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.582e-05/0.955, allocations: 84.53 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.737e-05/0.9551, allocations: 1.156 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.167e-05/0.9551, allocations: 1.062 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.842e-05/0.9551, allocations: 1.531 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.546e-06/0.9551, allocations: 1.062 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 0.0001123/0.9552, allocations: 126.3 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9552, allocations: 3.938 kB / 1.098 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0007817/0.956, allocations: 204.1 kB / 1.098 GB, free: 15.59 MB / 0.8731 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.0008395/0.9569, allocations: 327.2 kB / 1.098 GB, free: 15.44 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.9571, allocations: 96.11 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 4.017e-06/0.9571, allocations: 1.188 kB / 1.098 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 7.204e-05/0.9572, allocations: 72.97 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002185/0.9574, allocations: 10.98 kB / 1.098 GB, free: 15.35 MB / 0.8731 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004839/0.9579, allocations: 256.4 kB / 1.098 GB, free: 15.17 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002828/0.9582, allocations: 0.708 MB / 1.099 GB, free: 14.47 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.657e-05/0.9582, allocations: 8.562 kB / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of SimCode: time 2.3e-07/0.9582, allocations: 0 / 1.099 GB, free: 14.46 MB / 0.8731 GB Notification: Performance of Templates: time 0.01011/0.9683, allocations: 3.988 MB / 1.103 GB, free: 14.06 MB / 0.8731 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches