Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.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_10_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_10_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.001794/0.001815, allocations: 110.8 kB / 16.41 MB, free: 6.496 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.002047/0.002047, allocations: 183 kB / 17.34 MB, free: 5.766 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.419/1.419, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.5/2.5, allocations: 437 MB / 0.7112 GB, free: 4.375 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001502/0.001502, allocations: 59.91 kB / 1.019 GB, free: 9.348 MB / 0.795 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.039/1.041, allocations: 151.6 MB / 1.167 GB, free: 3.832 MB / 0.8887 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003089/1.044, allocations: 1.389 MB / 1.169 GB, free: 2.441 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.0032/1.047, allocations: 1.796 MB / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.77e-05/1.047, allocations: 0 / 1.17 GB, free: 0.6328 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.000112/1.047, allocations: 15.92 kB / 1.17 GB, free: 0.6172 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.0001827/1.048, allocations: 31.83 kB / 1.171 GB, free: 0.5859 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.003224/1.051, allocations: 1.141 MB / 1.172 GB, free: 15.46 MB / 0.9044 GB Notification: Performance of NFFlatten.flatten: time 0.0001409/1.051, allocations: 51.72 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 4.937e-05/1.051, allocations: 4 kB / 1.172 GB, free: 15.41 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 9.467e-05/1.051, allocations: 27.84 kB / 1.172 GB, free: 15.38 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 8.143e-05/1.051, allocations: 35.91 kB / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 1.602e-05/1.051, allocations: 0 / 1.172 GB, free: 15.34 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001575/1.053, allocations: 0.8891 MB / 1.173 GB, free: 14.45 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 9.923e-05/1.053, allocations: 63.81 kB / 1.173 GB, free: 14.39 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 6.468e-05/1.053, allocations: 63.38 kB / 1.173 GB, free: 14.33 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.001612/1.055, allocations: 0.8824 MB / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 5.12e-06/1.055, allocations: 0 / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.074e-06/1.055, allocations: 0 / 1.174 GB, free: 13.45 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 6.963e-06/1.055, allocations: 0 / 1.174 GB, free: 13.45 MB / 0.9044 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.000875/1.056, allocations: 0.5878 MB / 1.174 GB, free: 12.81 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 4.033e-05/1.056, allocations: 12.62 kB / 1.174 GB, free: 12.8 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.729e-05/1.056, allocations: 20.66 kB / 1.174 GB, free: 12.78 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/1.056, allocations: 226.7 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.064e-05/1.056, allocations: 384 / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.012e-05/1.056, allocations: 4.359 kB / 1.174 GB, free: 12.52 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001655/1.056, allocations: 113.7 kB / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.484e-06/1.056, allocations: 0 / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.127e-06/1.056, allocations: 0 / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.378e-06/1.056, allocations: 0 / 1.175 GB, free: 12.4 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.663e-05/1.056, allocations: 75.98 kB / 1.175 GB, free: 12.32 MB / 0.9044 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003007/1.057, allocations: 277.9 kB / 1.175 GB, free: 12 MB / 0.9044 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001258/1.057, allocations: 122.5 kB / 1.175 GB, free: 11.88 MB / 0.9044 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.714e-05/1.057, allocations: 104.9 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt evalFunc (simulation): time 2.371e-05/1.057, allocations: 3.938 kB / 1.175 GB, free: 11.77 MB / 0.9044 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/1.057, allocations: 38.55 kB / 1.175 GB, free: 11.72 MB / 0.9044 GB Notification: Performance of pre-optimization done (n=32): time 2.825e-06/1.057, allocations: 7.938 kB / 1.175 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32): time 0.0004023/1.057, allocations: 331.5 kB / 1.175 GB, free: 11.38 MB / 0.9044 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.14e-05/1.057, allocations: 51.41 kB / 1.176 GB, free: 11.32 MB / 0.9044 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002492/1.058, allocations: 257 kB / 1.176 GB, free: 11.06 MB / 0.9044 GB Notification: Performance of collectPreVariables (initialization): time 2.157e-05/1.058, allocations: 25.7 kB / 1.176 GB, free: 11.03 MB / 0.9044 GB Notification: Performance of collectInitialEqns (initialization): time 7.345e-05/1.058, allocations: 128.7 kB / 1.176 GB, free: 10.9 MB / 0.9044 GB Notification: Performance of collectInitialBindings (initialization): time 8.863e-05/1.058, allocations: 106.4 kB / 1.176 GB, free: 10.79 MB / 0.9044 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.331e-05/1.058, allocations: 29.7 kB / 1.176 GB, free: 10.76 MB / 0.9044 GB Notification: Performance of setup shared object (initialization): time 0.0001361/1.058, allocations: 342.8 kB / 1.176 GB, free: 10.41 MB / 0.9044 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.147e-05/1.058, allocations: 75.97 kB / 1.176 GB, free: 10.34 MB / 0.9044 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.653e-05/1.058, allocations: 72.78 kB / 1.176 GB, free: 10.27 MB / 0.9044 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001859/1.058, allocations: 212.9 kB / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/1.058, allocations: 0 / 1.177 GB, free: 10.06 MB / 0.9044 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002282/1.059, allocations: 221.2 kB / 1.177 GB, free: 9.836 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 1.649e-05/1.059, allocations: 4 kB / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.784e-05/1.059, allocations: 0 / 1.177 GB, free: 9.832 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/1.059, allocations: 3.938 kB / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.81e-07/1.059, allocations: 0 / 1.177 GB, free: 9.828 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.589e-06/1.059, allocations: 8.062 kB / 1.177 GB, free: 9.82 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.984e-05/1.059, allocations: 7.844 kB / 1.177 GB, free: 9.812 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.831e-06/1.059, allocations: 0 / 1.177 GB, free: 9.812 MB / 0.9044 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.0001491/1.059, allocations: 161.8 kB / 1.177 GB, free: 9.645 MB / 0.9044 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.591e-05/1.059, allocations: 27.56 kB / 1.177 GB, free: 9.617 MB / 0.9044 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003016/1.059, allocations: 261.3 kB / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.076e-06/1.059, allocations: 0 / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.129e-06/1.059, allocations: 0 / 1.177 GB, free: 9.352 MB / 0.9044 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.885e-06/1.059, allocations: 3.938 kB / 1.177 GB, free: 9.348 MB / 0.9044 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000217/1.06, allocations: 281.9 kB / 1.178 GB, free: 9.023 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.155e-06/1.06, allocations: 7.938 kB / 1.178 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/1.06, allocations: 0 / 1.178 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.745e-06/1.06, allocations: 0 / 1.178 GB, free: 9.016 MB / 0.9044 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.236e-06/1.06, allocations: 4 kB / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/1.06, allocations: 0 / 1.178 GB, free: 9.012 MB / 0.9044 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/1.06, allocations: 3.984 kB / 1.178 GB, free: 9.008 MB / 0.9044 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000243/1.06, allocations: 260.6 kB / 1.178 GB, free: 8.734 MB / 0.9044 GB Notification: Performance of postOpt removeConstants (simulation): time 6.53e-05/1.06, allocations: 108.7 kB / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.745e-05/1.06, allocations: 0 / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.667e-05/1.06, allocations: 0 / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.49e-05/1.06, allocations: 0 / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/1.06, allocations: 0 / 1.178 GB, free: 8.609 MB / 0.9044 GB Notification: Performance of sorting global known variables: time 0.0001741/1.06, allocations: 192.4 kB / 1.178 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of sort global known variables: time 1.11e-07/1.06, allocations: 0 / 1.178 GB, free: 8.418 MB / 0.9044 GB Notification: Performance of remove unused functions: time 0.0007051/1.061, allocations: 215.8 kB / 1.178 GB, free: 8.207 MB / 0.9044 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.0009294/1.062, allocations: 335.7 kB / 1.179 GB, free: 7.871 MB / 0.9044 GB Notification: Performance of simCode: created initialization part: time 0.0002981/1.062, allocations: 269.6 kB / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/1.062, allocations: 0 / 1.179 GB, free: 7.602 MB / 0.9044 GB Notification: Performance of simCode: created simulation system equations: time 0.0001431/1.062, allocations: 173.6 kB / 1.179 GB, free: 7.426 MB / 0.9044 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002685/1.063, allocations: 28.42 kB / 1.179 GB, free: 7.398 MB / 0.9044 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007847/1.063, allocations: 0.5203 MB / 1.18 GB, free: 6.848 MB / 0.9044 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003412/1.064, allocations: 0.7671 MB / 1.18 GB, free: 6.051 MB / 0.9044 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/1.064, allocations: 15.56 kB / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of SimCode: time 2e-07/1.064, allocations: 0 / 1.18 GB, free: 6.035 MB / 0.9044 GB Notification: Performance of Templates: time 0.009009/1.073, allocations: 4.682 MB / 1.185 GB, free: 1.367 MB / 0.9044 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches