Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_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.1.0-maint.11.x/package.mo", uses=false) Using package Buildings with version 11.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.0-maint.11.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_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_11_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_11_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.007598/0.007598, allocations: 101 kB / 15.73 MB, free: 6.062 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.001814/0.001814, allocations: 197 kB / 16.67 MB, free: 5.969 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.335/1.335, 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.1.0-maint.11.x/package.mo): time 2.554/2.554, allocations: 469.8 MB / 0.7425 GB, free: 3.363 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001281/0.001281, allocations: 67.89 kB / 1.065 GB, free: 13.5 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7663/0.7676, allocations: 159.1 MB / 1.221 GB, free: 2.105 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002275/0.7699, allocations: 1.378 MB / 1.222 GB, free: 0.7188 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.00274/0.7726, allocations: 1.814 MB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.256e-05/0.7727, allocations: 0 / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 9.245e-05/0.7728, allocations: 7.922 kB / 1.224 GB, free: 14.89 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001691/0.7729, allocations: 35.89 kB / 1.224 GB, free: 14.85 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002496/0.7754, allocations: 1.141 MB / 1.225 GB, free: 13.73 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.618e-05/0.7755, allocations: 47.77 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.082e-05/0.7756, allocations: 8 kB / 1.225 GB, free: 13.68 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.444e-05/0.7756, allocations: 27.84 kB / 1.225 GB, free: 13.65 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 6.873e-05/0.7757, allocations: 35.89 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.208e-05/0.7757, allocations: 3.938 kB / 1.225 GB, free: 13.61 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001116/0.7768, allocations: 0.8891 MB / 1.226 GB, free: 12.72 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 7.813e-05/0.7769, allocations: 67.69 kB / 1.226 GB, free: 12.65 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 6.524e-05/0.777, allocations: 67.44 kB / 1.226 GB, free: 12.59 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009367/0.7779, allocations: 0.8769 MB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 3.607e-06/0.7779, allocations: 3.938 kB / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.473e-06/0.7779, allocations: 0 / 1.227 GB, free: 11.71 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.391e-06/0.7779, allocations: 0 / 1.227 GB, free: 11.71 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.0006439/0.7786, allocations: 0.5946 MB / 1.228 GB, free: 11.07 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.7786, allocations: 16.02 kB / 1.228 GB, free: 11.05 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.231e-05/0.7786, allocations: 28.75 kB / 1.228 GB, free: 11.02 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001872/0.7788, allocations: 222.9 kB / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.31e-06/0.7788, allocations: 384 / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.137e-06/0.7788, allocations: 384 / 1.228 GB, free: 10.77 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001437/0.779, allocations: 114.3 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.779, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.974e-06/0.779, allocations: 0 / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.659e-06/0.779, allocations: 4 kB / 1.228 GB, free: 10.65 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.524e-05/0.7791, allocations: 75.97 kB / 1.228 GB, free: 10.57 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002518/0.7793, allocations: 277.9 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 9.775e-05/0.7794, allocations: 98.48 kB / 1.228 GB, free: 10.14 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.06e-05/0.7795, allocations: 80.86 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.299e-05/0.7795, allocations: 3.938 kB / 1.228 GB, free: 10.06 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.638e-05/0.7795, allocations: 34.56 kB / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=32): time 1.012e-06/0.7795, allocations: 0 / 1.228 GB, free: 10.02 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32): time 0.0003888/0.7799, allocations: 333.9 kB / 1.229 GB, free: 9.684 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.544e-05/0.78, allocations: 51.41 kB / 1.229 GB, free: 9.621 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002484/0.7802, allocations: 257 kB / 1.229 GB, free: 9.359 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.7802, allocations: 25.7 kB / 1.229 GB, free: 9.328 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 6.991e-05/0.7803, allocations: 132.7 kB / 1.229 GB, free: 9.195 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 8.369e-05/0.7804, allocations: 114.9 kB / 1.229 GB, free: 9.082 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.773e-05/0.7804, allocations: 25.7 kB / 1.229 GB, free: 9.051 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7805, allocations: 346.8 kB / 1.23 GB, free: 8.703 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.642e-05/0.7806, allocations: 75.97 kB / 1.23 GB, free: 8.629 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.145e-05/0.7807, allocations: 71.97 kB / 1.23 GB, free: 8.559 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001812/0.7809, allocations: 201.8 kB / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.7809, allocations: 0 / 1.23 GB, free: 8.359 MB / 0.9512 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002267/0.7811, allocations: 225.4 kB / 1.23 GB, free: 8.133 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.257e-05/0.7811, allocations: 4 kB / 1.23 GB, free: 8.129 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.388e-05/0.7811, allocations: 4 kB / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.346e-05/0.7811, allocations: 0 / 1.23 GB, free: 8.125 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.42e-07/0.7811, allocations: 4.062 kB / 1.23 GB, free: 8.121 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.7811, allocations: 7.875 kB / 1.23 GB, free: 8.113 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.695e-05/0.7812, allocations: 11.89 kB / 1.23 GB, free: 8.102 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.484e-06/0.7812, allocations: 3.984 kB / 1.23 GB, free: 8.098 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.0001234/0.7813, allocations: 153.8 kB / 1.23 GB, free: 7.938 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.7813, allocations: 27.75 kB / 1.23 GB, free: 7.91 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000273/0.7816, allocations: 256.4 kB / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.7816, allocations: 0 / 1.231 GB, free: 7.648 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.87e-06/0.7816, allocations: 4 kB / 1.231 GB, free: 7.645 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.7816, allocations: 4.031 kB / 1.231 GB, free: 7.641 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002015/0.7818, allocations: 281.9 kB / 1.231 GB, free: 7.316 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.007e-06/0.7818, allocations: 7.938 kB / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.61e-07/0.7818, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.383e-06/0.7818, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.069e-06/0.7818, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.7818, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.7818, allocations: 0 / 1.231 GB, free: 7.309 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002476/0.7821, allocations: 268.8 kB / 1.231 GB, free: 7.027 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 5.62e-05/0.7821, allocations: 104.8 kB / 1.231 GB, free: 6.906 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.05e-05/0.7822, allocations: 4 kB / 1.231 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.915e-05/0.7822, allocations: 0 / 1.231 GB, free: 6.902 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.58e-05/0.7822, allocations: 4 kB / 1.231 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.7822, allocations: 0 / 1.231 GB, free: 6.898 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.0001591/0.7824, allocations: 192.4 kB / 1.231 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7824, allocations: 0 / 1.231 GB, free: 6.711 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005544/0.7829, allocations: 215.3 kB / 1.232 GB, free: 6.5 MB / 0.9512 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.0006828/0.7836, allocations: 344 kB / 1.232 GB, free: 6.156 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0002648/0.7839, allocations: 241.5 kB / 1.232 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.7839, allocations: 0 / 1.232 GB, free: 5.914 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.0001332/0.784, allocations: 149.6 kB / 1.232 GB, free: 5.762 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.7842, allocations: 16.5 kB / 1.232 GB, free: 5.746 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006284/0.7849, allocations: 0.4897 MB / 1.233 GB, free: 5.227 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003164/0.7852, allocations: 0.7749 MB / 1.234 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 2.073e-05/0.7852, allocations: 0 / 1.234 GB, free: 4.422 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.538e-05/0.7852, allocations: 11.44 kB / 1.234 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of SimCode: time 3.9e-07/0.7852, allocations: 0 / 1.234 GB, free: 4.41 MB / 0.9512 GB Notification: Performance of Templates: time 0.008383/0.7936, allocations: 4.647 MB / 1.238 GB, free: 15.82 MB / 0.9669 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches