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.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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.001015/0.001015, allocations: 99.03 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001449/0.00145, allocations: 181.3 kB / 16.92 MB, free: 6.918 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.389/1.389, allocations: 223.3 MB / 241 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.351/2.351, allocations: 390.9 MB / 0.667 GB, free: 2.418 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003715/0.0003717, allocations: 12 kB / 0.8167 GB, free: 13.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7528/0.7532, allocations: 142.4 MB / 0.9558 GB, free: 7.977 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001339/0.7546, allocations: 1.101 MB / 0.9568 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002496/0.7571, allocations: 1.792 MB / 0.9586 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.767e-05/0.7572, allocations: 0 / 0.9586 GB, free: 5.719 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001007/0.7573, allocations: 9.859 kB / 0.9586 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001516/0.7575, allocations: 31.86 kB / 0.9586 GB, free: 5.688 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002257/0.7597, allocations: 1.039 MB / 0.9596 GB, free: 4.988 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001048/0.7598, allocations: 79.56 kB / 0.9597 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.046e-05/0.7599, allocations: 2.75 kB / 0.9597 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.912e-05/0.76, allocations: 25.53 kB / 0.9597 GB, free: 4.934 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.543e-05/0.7601, allocations: 25.61 kB / 0.9598 GB, free: 4.922 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.174e-05/0.7601, allocations: 5.375 kB / 0.9598 GB, free: 4.918 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001297/0.7614, allocations: 0.8416 MB / 0.9606 GB, free: 4.438 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 7.723e-05/0.7615, allocations: 30.12 kB / 0.9606 GB, free: 4.422 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.514e-05/0.7615, allocations: 54.5 kB / 0.9607 GB, free: 4.371 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0008972/0.7624, allocations: 0.5672 MB / 0.9612 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.152e-06/0.7624, allocations: 0.9688 kB / 0.9612 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7625, allocations: 0 / 0.9612 GB, free: 4.082 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.69e-06/0.7625, allocations: 0 / 0.9612 GB, free: 4.082 MB / 0.7169 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.0007075/0.7632, allocations: 466.2 kB / 0.9617 GB, free: 3.625 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.7632, allocations: 16.62 kB / 0.9617 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.3e-05/0.7633, allocations: 12.89 kB / 0.9617 GB, free: 3.609 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000148/0.7634, allocations: 185.5 kB / 0.9619 GB, free: 3.398 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.7634, allocations: 5.281 kB / 0.9619 GB, free: 3.395 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.7635, allocations: 3.938 kB / 0.9619 GB, free: 3.391 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001123/0.7636, allocations: 53.78 kB / 0.9619 GB, free: 3.352 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.173e-06/0.7636, allocations: 3.984 kB / 0.9619 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.7636, allocations: 1.156 kB / 0.9619 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.061e-06/0.7636, allocations: 0 / 0.9619 GB, free: 3.348 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.514e-05/0.7637, allocations: 22.38 kB / 0.962 GB, free: 3.344 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001902/0.7639, allocations: 195.7 kB / 0.9622 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 7.308e-05/0.7639, allocations: 50.67 kB / 0.9622 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.254e-05/0.764, allocations: 32.41 kB / 0.9622 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.704e-05/0.764, allocations: 1.188 kB / 0.9622 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.006e-05/0.7641, allocations: 35.91 kB / 0.9623 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.332e-06/0.7641, allocations: 0 / 0.9623 GB, free: 3.031 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002494/0.7643, allocations: 122 kB / 0.9624 GB, free: 2.973 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.7644, allocations: 59.38 kB / 0.9624 GB, free: 2.902 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001494/0.7645, allocations: 151.7 kB / 0.9626 GB, free: 2.773 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.646e-06/0.7645, allocations: 26.77 kB / 0.9626 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.691e-05/0.7646, allocations: 95.8 kB / 0.9627 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.646e-05/0.7646, allocations: 23.36 kB / 0.9627 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.7646, allocations: 12.31 kB / 0.9627 GB, free: 2.613 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.213e-05/0.7647, allocations: 329.5 kB / 0.963 GB, free: 2.285 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.469e-05/0.7647, allocations: 22.8 kB / 0.9631 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.225e-05/0.7648, allocations: 30.2 kB / 0.9631 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.256e-05/0.7649, allocations: 62.05 kB / 0.9632 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.482e-06/0.7649, allocations: 0 / 0.9632 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001259/0.765, allocations: 97.39 kB / 0.9633 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.745e-05/0.765, allocations: 6.312 kB / 0.9633 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.452e-05/0.765, allocations: 1.188 kB / 0.9633 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.291e-05/0.7651, allocations: 1.031 kB / 0.9633 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.142e-06/0.7651, allocations: 0 / 0.9633 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.7651, allocations: 1.25 kB / 0.9633 GB, free: 2.195 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.512e-05/0.7651, allocations: 11.83 kB / 0.9633 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.574e-06/0.7651, allocations: 9.375 kB / 0.9633 GB, free: 2.176 MB / 0.7169 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.49e-05/0.7652, allocations: 125.8 kB / 0.9634 GB, free: 2.055 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.296e-05/0.7652, allocations: 7.594 kB / 0.9634 GB, free: 2.051 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001699/0.7654, allocations: 109.2 kB / 0.9635 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.785e-06/0.7654, allocations: 0 / 0.9635 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.7654, allocations: 0 / 0.9635 GB, free: 1.992 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.277e-06/0.7654, allocations: 5.109 kB / 0.9635 GB, free: 1.988 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001272/0.7656, allocations: 200 kB / 0.9637 GB, free: 1.77 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.821e-06/0.7656, allocations: 6.406 kB / 0.9637 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.002e-06/0.7656, allocations: 0 / 0.9637 GB, free: 1.766 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.7656, allocations: 3.938 kB / 0.9637 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.292e-06/0.7656, allocations: 5.281 kB / 0.9637 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.492e-06/0.7656, allocations: 0 / 0.9637 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.7656, allocations: 1.219 kB / 0.9637 GB, free: 1.758 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001387/0.7658, allocations: 117.6 kB / 0.9638 GB, free: 1.672 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.11e-05/0.7658, allocations: 82.98 kB / 0.9639 GB, free: 1.574 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.51e-05/0.7658, allocations: 5.344 kB / 0.9639 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.382e-05/0.7659, allocations: 0 / 0.9639 GB, free: 1.57 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.341e-05/0.7659, allocations: 5.266 kB / 0.9639 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.028e-06/0.7659, allocations: 1.094 kB / 0.9639 GB, free: 1.566 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 8.33e-05/0.766, allocations: 122.8 kB / 0.964 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.766, allocations: 0 / 0.964 GB, free: 1.473 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007862/0.7668, allocations: 208.9 kB / 0.9642 GB, free: 1.422 MB / 0.7169 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.001026/0.7678, allocations: 336.6 kB / 0.9646 GB, free: 1.23 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0001616/0.768, allocations: 100.3 kB / 0.9647 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.823e-06/0.768, allocations: 0 / 0.9647 GB, free: 1.176 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.776e-05/0.768, allocations: 68.16 kB / 0.9647 GB, free: 1.133 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002336/0.7683, allocations: 12.2 kB / 0.9647 GB, free: 1.125 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004349/0.7687, allocations: 281.8 kB / 0.965 GB, free: 0.9062 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001391/0.7689, allocations: 0.7038 MB / 0.9657 GB, free: 204 kB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.321e-05/0.7689, allocations: 8.469 kB / 0.9657 GB, free: 196 kB / 0.7169 GB Notification: Performance of SimCode: time 2.01e-07/0.7689, allocations: 0 / 0.9657 GB, free: 196 kB / 0.7169 GB Notification: Performance of Templates: time 0.008724/0.7776, allocations: 3.959 MB / 0.9696 GB, free: 14.21 MB / 0.7325 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