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.009096/0.009096, allocations: 101.5 kB / 15.73 MB, free: 6.008 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.001557/0.001557, allocations: 194.1 kB / 16.67 MB, free: 5.93 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.44/1.44, allocations: 222.9 MB / 240.4 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.318/2.318, allocations: 390.2 MB / 0.6648 GB, free: 0.6602 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001222/0.001222, allocations: 63.91 kB / 0.9509 GB, free: 7.586 MB / 0.7325 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8979/0.8991, allocations: 140.4 MB / 1.088 GB, free: 5.504 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002374/0.9015, allocations: 1.379 MB / 1.089 GB, free: 4.547 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.002582/0.9041, allocations: 1.785 MB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.593e-05/0.9042, allocations: 1.094 kB / 1.091 GB, free: 3.32 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 9.85e-05/0.9043, allocations: 12.81 kB / 1.091 GB, free: 3.312 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.0001453/0.9045, allocations: 28.81 kB / 1.091 GB, free: 3.297 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.002605/0.9071, allocations: 1.144 MB / 1.092 GB, free: 2.691 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 9.289e-05/0.9072, allocations: 41.61 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 3.968e-05/0.9072, allocations: 3.453 kB / 1.092 GB, free: 2.68 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 7.784e-05/0.9073, allocations: 26.61 kB / 1.092 GB, free: 2.668 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.9074, allocations: 26.34 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 1.195e-05/0.9074, allocations: 1.125 kB / 1.092 GB, free: 2.656 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001276/0.9087, allocations: 0.897 MB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 6.557e-05/0.9088, allocations: 22.14 kB / 1.093 GB, free: 2.336 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 3.525e-05/0.9088, allocations: 28.56 kB / 1.093 GB, free: 2.316 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.00115/0.91, allocations: 0.7972 MB / 1.094 GB, free: 2.109 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 4.668e-06/0.91, allocations: 4.734 kB / 1.094 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of FrontEnd: time 1.233e-06/0.91, allocations: 0.5625 kB / 1.094 GB, free: 2.105 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 5.05e-06/0.91, allocations: 0 / 1.094 GB, free: 2.105 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.0004754/0.9105, allocations: 475.7 kB / 1.094 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 3.846e-05/0.9105, allocations: 10.55 kB / 1.095 GB, free: 1.656 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.673e-05/0.9106, allocations: 8.156 kB / 1.095 GB, free: 1.652 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001268/0.9107, allocations: 194.9 kB / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.316e-06/0.9107, allocations: 384 / 1.095 GB, free: 1.438 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.9107, allocations: 4.625 kB / 1.095 GB, free: 1.434 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001062/0.9108, allocations: 53.55 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.103e-06/0.9108, allocations: 0.5312 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.334e-06/0.9109, allocations: 0 / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.029e-06/0.9109, allocations: 1.797 kB / 1.095 GB, free: 1.398 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.327e-05/0.9109, allocations: 29.61 kB / 1.095 GB, free: 1.391 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001548/0.9111, allocations: 184.6 kB / 1.095 GB, free: 1.195 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 6.517e-05/0.9111, allocations: 57.98 kB / 1.095 GB, free: 1.152 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.062e-05/0.9112, allocations: 34.88 kB / 1.095 GB, free: 1.137 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 2.361e-05/0.9112, allocations: 5.609 kB / 1.095 GB, free: 1.133 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.472e-05/0.9112, allocations: 36.39 kB / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.9112, allocations: 0 / 1.095 GB, free: 1.09 MB / 0.8575 GB Notification: Performance of matching and sorting (n=8): time 0.0002122/0.9115, allocations: 118.5 kB / 1.095 GB, free: 1.043 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.195e-05/0.9115, allocations: 52.5 kB / 1.095 GB, free: 0.9805 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001221/0.9116, allocations: 155.9 kB / 1.095 GB, free: 0.8594 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-06/0.9116, allocations: 25.7 kB / 1.095 GB, free: 0.8281 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 3.081e-05/0.9117, allocations: 98.94 kB / 1.096 GB, free: 0.7344 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.266e-05/0.9117, allocations: 25.83 kB / 1.096 GB, free: 0.7148 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.841e-05/0.9117, allocations: 18.58 kB / 1.096 GB, free: 0.6953 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 4.809e-05/0.9118, allocations: 326.4 kB / 1.096 GB, free: 384 kB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.749e-05/0.9118, allocations: 24.67 kB / 1.096 GB, free: 380 kB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.476e-05/0.9119, allocations: 25.75 kB / 1.096 GB, free: 376 kB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.59e-05/0.912, allocations: 68.59 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.912, allocations: 0.8438 kB / 1.096 GB, free: 356 kB / 0.8575 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001173/0.9121, allocations: 91.72 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 1.541e-05/0.9121, allocations: 7.188 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.9121, allocations: 1.766 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.148e-05/0.9122, allocations: 0.5625 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.41e-07/0.9122, allocations: 0.75 kB / 1.096 GB, free: 312 kB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.9122, allocations: 4.688 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.796e-05/0.9122, allocations: 1.094 kB / 1.096 GB, free: 308 kB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.45e-06/0.9122, allocations: 1 kB / 1.096 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 6.289e-05/0.9123, allocations: 133.6 kB / 1.096 GB, free: 180 kB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.415e-05/0.9123, allocations: 7.859 kB / 1.096 GB, free: 176 kB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001573/0.9125, allocations: 112.6 kB / 1.096 GB, free: 120 kB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.348e-06/0.9125, allocations: 5.5 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.9125, allocations: 0 / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.9125, allocations: 0.7188 kB / 1.096 GB, free: 116 kB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001591/0.9127, allocations: 194.8 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.669e-06/0.9127, allocations: 1.156 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.032e-06/0.9127, allocations: 5.391 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.273e-06/0.9127, allocations: 0.9375 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.643e-06/0.9127, allocations: 0.5312 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.9127, allocations: 1.516 kB / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.52e-07/0.9127, allocations: 0 / 1.097 GB, free: 15.91 MB / 0.8731 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001431/0.9129, allocations: 117.6 kB / 1.097 GB, free: 15.83 MB / 0.8731 GB Notification: Performance of postOpt removeConstants (simulation): time 4.455e-05/0.9129, allocations: 84.84 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.471e-05/0.9129, allocations: 1.641 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.671e-05/0.913, allocations: 4.031 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.24e-05/0.913, allocations: 1.734 kB / 1.097 GB, free: 15.73 MB / 0.8731 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.597e-06/0.913, allocations: 5.031 kB / 1.097 GB, free: 15.72 MB / 0.8731 GB Notification: Performance of sorting global known variables: time 9.777e-05/0.9131, allocations: 126 kB / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9131, allocations: 0 / 1.097 GB, free: 15.63 MB / 0.8731 GB Notification: Performance of remove unused functions: time 0.0006112/0.9137, allocations: 208.9 kB / 1.097 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.0006971/0.9144, allocations: 337.8 kB / 1.097 GB, free: 15.43 MB / 0.8731 GB Notification: Performance of simCode: created initialization part: time 0.0001724/0.9146, allocations: 93.48 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.9146, allocations: 4.062 kB / 1.097 GB, free: 15.39 MB / 0.8731 GB Notification: Performance of simCode: created simulation system equations: time 6.897e-05/0.9147, allocations: 69.67 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.0001973/0.9149, allocations: 6.719 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.0003761/0.9153, allocations: 227.2 kB / 1.098 GB, free: 15.2 MB / 0.8731 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002604/0.9156, allocations: 0.7082 MB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: alias equations: time 1.648e-05/0.9156, allocations: 1.125 kB / 1.098 GB, free: 14.5 MB / 0.8731 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.341e-05/0.9156, allocations: 13.27 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of SimCode: time 2.1e-07/0.9156, allocations: 1.094 kB / 1.098 GB, free: 14.49 MB / 0.8731 GB Notification: Performance of Templates: time 0.009046/0.9247, allocations: 4.313 MB / 1.103 GB, free: 14.14 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/jenkins/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