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.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_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.007034/0.007034, allocations: 104.1 kB / 15.74 MB, free: 6.039 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.001639/0.001639, allocations: 196.5 kB / 16.67 MB, free: 5.957 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.289/1.289, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.0.1-master/package.mo): time 2.425/2.425, allocations: 461.9 MB / 0.7348 GB, free: 11.07 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001179/0.001179, allocations: 64.12 kB / 1.054 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7732/0.7744, allocations: 157.4 MB / 1.208 GB, free: 13.57 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002834/0.7773, allocations: 1.376 MB / 1.209 GB, free: 12.19 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002871/0.7802, allocations: 1.801 MB / 1.211 GB, free: 10.38 MB / 0.9356 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.541e-05/0.7802, allocations: 3.938 kB / 1.211 GB, free: 10.37 MB / 0.9356 GB Notification: Performance of NFTyping.typeComponents: time 9.616e-05/0.7804, allocations: 7.984 kB / 1.211 GB, free: 10.36 MB / 0.9356 GB Notification: Performance of NFTyping.typeBindings: time 0.0001561/0.7805, allocations: 23.86 kB / 1.211 GB, free: 10.34 MB / 0.9356 GB Notification: Performance of NFTyping.typeClassSections: time 0.002603/0.7832, allocations: 1.136 MB / 1.212 GB, free: 9.219 MB / 0.9356 GB Notification: Performance of NFFlatten.flatten: time 8.491e-05/0.7833, allocations: 47.77 kB / 1.212 GB, free: 9.172 MB / 0.9356 GB Notification: Performance of NFFlatten.resolveConnections: time 4.372e-05/0.7833, allocations: 4 kB / 1.212 GB, free: 9.168 MB / 0.9356 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.7834, allocations: 27.84 kB / 1.212 GB, free: 9.141 MB / 0.9356 GB Notification: Performance of NFSimplifyModel.simplify: time 5.663e-05/0.7835, allocations: 19.92 kB / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFPackage.collectConstants: time 1.169e-05/0.7835, allocations: 0 / 1.212 GB, free: 9.121 MB / 0.9356 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001035/0.7845, allocations: 0.8891 MB / 1.213 GB, free: 8.23 MB / 0.9356 GB Notification: Performance of NFScalarize.scalarize: time 5.841e-05/0.7846, allocations: 23.91 kB / 1.213 GB, free: 8.207 MB / 0.9356 GB Notification: Performance of NFVerifyModel.verify: time 3.392e-05/0.7846, allocations: 23.81 kB / 1.213 GB, free: 8.184 MB / 0.9356 GB Notification: Performance of NFConvertDAE.convert: time 0.0008319/0.7855, allocations: 0.8047 MB / 1.214 GB, free: 7.383 MB / 0.9356 GB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.7855, allocations: 4 kB / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of FrontEnd: time 2.745e-06/0.7855, allocations: 0 / 1.214 GB, free: 7.379 MB / 0.9356 GB Notification: Performance of Transformations before backend: time 5.149e-06/0.7855, allocations: 3.938 kB / 1.214 GB, free: 7.375 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005048/0.786, allocations: 470.9 kB / 1.214 GB, free: 6.867 MB / 0.9356 GB Notification: Performance of prepare preOptimizeDAE: time 3.719e-05/0.786, allocations: 8.031 kB / 1.214 GB, free: 6.859 MB / 0.9356 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.625e-05/0.7861, allocations: 12.78 kB / 1.214 GB, free: 6.848 MB / 0.9356 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001667/0.7863, allocations: 188.7 kB / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.21e-06/0.7863, allocations: 384 / 1.214 GB, free: 6.625 MB / 0.9356 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.141e-05/0.7863, allocations: 3.938 kB / 1.214 GB, free: 6.621 MB / 0.9356 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001084/0.7864, allocations: 61.67 kB / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.7864, allocations: 0 / 1.215 GB, free: 6.555 MB / 0.9356 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.7864, allocations: 4 kB / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.7864, allocations: 0 / 1.215 GB, free: 6.551 MB / 0.9356 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.525e-05/0.7865, allocations: 27.92 kB / 1.215 GB, free: 6.523 MB / 0.9356 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001839/0.7867, allocations: 189.6 kB / 1.215 GB, free: 6.289 MB / 0.9356 GB Notification: Performance of preOpt comSubExp (simulation): time 6.45e-05/0.7867, allocations: 54.5 kB / 1.215 GB, free: 6.227 MB / 0.9356 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.7868, allocations: 32.88 kB / 1.215 GB, free: 6.191 MB / 0.9356 GB Notification: Performance of preOpt evalFunc (simulation): time 2.017e-05/0.7868, allocations: 4 kB / 1.215 GB, free: 6.188 MB / 0.9356 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.684e-05/0.7868, allocations: 38.5 kB / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of pre-optimization done (n=8): time 1.032e-06/0.7869, allocations: 0 / 1.215 GB, free: 6.141 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8): time 0.0001952/0.7871, allocations: 121.5 kB / 1.215 GB, free: 6.016 MB / 0.9356 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.85e-05/0.7871, allocations: 51.41 kB / 1.215 GB, free: 5.953 MB / 0.9356 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001256/0.7872, allocations: 156.9 kB / 1.215 GB, free: 5.789 MB / 0.9356 GB Notification: Performance of collectPreVariables (initialization): time 1.01e-05/0.7872, allocations: 25.7 kB / 1.215 GB, free: 5.758 MB / 0.9356 GB Notification: Performance of collectInitialEqns (initialization): time 4.628e-05/0.7873, allocations: 96.17 kB / 1.215 GB, free: 5.66 MB / 0.9356 GB Notification: Performance of collectInitialBindings (initialization): time 3.599e-05/0.7873, allocations: 35.69 kB / 1.215 GB, free: 5.625 MB / 0.9356 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.922e-05/0.7874, allocations: 17.72 kB / 1.215 GB, free: 5.602 MB / 0.9356 GB Notification: Performance of setup shared object (initialization): time 9.704e-05/0.7875, allocations: 326.8 kB / 1.216 GB, free: 5.273 MB / 0.9356 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.112e-05/0.7875, allocations: 23.98 kB / 1.216 GB, free: 5.25 MB / 0.9356 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.675e-05/0.7875, allocations: 24 kB / 1.216 GB, free: 5.227 MB / 0.9356 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.663e-05/0.7876, allocations: 60.83 kB / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.114e-06/0.7876, allocations: 0 / 1.216 GB, free: 5.164 MB / 0.9356 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001024/0.7877, allocations: 97.52 kB / 1.216 GB, free: 5.062 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.232e-05/0.7878, allocations: 8.062 kB / 1.216 GB, free: 5.055 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.292e-05/0.7878, allocations: 4 kB / 1.216 GB, free: 5.051 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.7878, allocations: 3.984 kB / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.41e-07/0.7878, allocations: 0 / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.008e-06/0.7878, allocations: 0 / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.7878, allocations: 0 / 1.216 GB, free: 5.047 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.219e-06/0.7878, allocations: 0 / 1.216 GB, free: 5.047 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 8.224e-05/0.7879, allocations: 129.7 kB / 1.216 GB, free: 4.91 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.368e-05/0.788, allocations: 11.89 kB / 1.216 GB, free: 4.898 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001436/0.7881, allocations: 106.3 kB / 1.216 GB, free: 4.781 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.094e-06/0.7881, allocations: 4 kB / 1.216 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.7881, allocations: 0 / 1.216 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.366e-06/0.7881, allocations: 0 / 1.216 GB, free: 4.777 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001275/0.7883, allocations: 201.5 kB / 1.216 GB, free: 4.531 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.027e-06/0.7883, allocations: 3.938 kB / 1.216 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.7883, allocations: 0 / 1.216 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-06/0.7883, allocations: 0 / 1.216 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.031e-06/0.7883, allocations: 0 / 1.216 GB, free: 4.527 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.505e-06/0.7883, allocations: 4 kB / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.7883, allocations: 0 / 1.216 GB, free: 4.523 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001162/0.7884, allocations: 125 kB / 1.216 GB, free: 4.383 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 4.069e-05/0.7885, allocations: 88.92 kB / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.259e-05/0.7885, allocations: 0 / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.078e-05/0.7885, allocations: 0 / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.357e-05/0.7885, allocations: 0 / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.505e-06/0.7885, allocations: 0 / 1.217 GB, free: 4.277 MB / 0.9356 GB Notification: Performance of sorting global known variables: time 8.004e-05/0.7886, allocations: 125.8 kB / 1.217 GB, free: 4.156 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7886, allocations: 7.969 kB / 1.217 GB, free: 4.148 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.0004566/0.7891, allocations: 207.8 kB / 1.217 GB, free: 3.945 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.0006605/0.7898, allocations: 334.9 kB / 1.217 GB, free: 3.609 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.0001386/0.7899, allocations: 93.92 kB / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.893e-06/0.7899, allocations: 0 / 1.217 GB, free: 3.512 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 5.314e-05/0.79, allocations: 69.69 kB / 1.217 GB, free: 3.438 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001941/0.7902, allocations: 12.48 kB / 1.217 GB, free: 3.426 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003733/0.7906, allocations: 235.6 kB / 1.218 GB, free: 3.168 MB / 0.9356 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002468/0.7908, allocations: 0.7002 MB / 1.218 GB, free: 2.441 MB / 0.9356 GB Notification: Performance of simCode: alias equations: time 2.027e-05/0.7908, allocations: 8 kB / 1.218 GB, free: 2.434 MB / 0.9356 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.312e-05/0.7909, allocations: 7.438 kB / 1.218 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of SimCode: time 1.513e-06/0.7909, allocations: 0 / 1.218 GB, free: 2.426 MB / 0.9356 GB Notification: Performance of Templates: time 0.007166/0.798, allocations: 4.323 MB / 1.222 GB, free: 14.16 MB / 0.9512 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/jenkins/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