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_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.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_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_11_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_11_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.006785/0.006785, allocations: 101.2 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.001649/0.001649, allocations: 192.7 kB / 16.67 MB, free: 5.973 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.314/1.314, 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.1.0-maint.11.x/package.mo): time 2.64/2.64, allocations: 469.8 MB / 0.7425 GB, free: 3.332 MB / 0.6075 GB Notification: Performance of FrontEnd - loaded program: time 0.001389/0.001389, allocations: 67.89 kB / 1.065 GB, free: 13.49 MB / 0.8419 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7662/0.7676, allocations: 159.1 MB / 1.221 GB, free: 2.246 MB / 0.9356 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002707/0.7703, allocations: 1.386 MB / 1.222 GB, free: 0.8555 MB / 0.9356 GB Notification: Performance of NFInst.instExpressions: time 0.002961/0.7733, allocations: 1.798 MB / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.121e-05/0.7733, allocations: 0 / 1.224 GB, free: 15.05 MB / 0.9512 GB Notification: Performance of NFTyping.typeComponents: time 0.0001015/0.7734, allocations: 11.97 kB / 1.224 GB, free: 15.04 MB / 0.9512 GB Notification: Performance of NFTyping.typeBindings: time 0.0001733/0.7736, allocations: 35.78 kB / 1.224 GB, free: 15 MB / 0.9512 GB Notification: Performance of NFTyping.typeClassSections: time 0.002737/0.7763, allocations: 1.13 MB / 1.225 GB, free: 13.88 MB / 0.9512 GB Notification: Performance of NFFlatten.flatten: time 9.82e-05/0.7764, allocations: 47.78 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFFlatten.resolveConnections: time 4.241e-05/0.7765, allocations: 4 kB / 1.225 GB, free: 13.83 MB / 0.9512 GB Notification: Performance of NFEvalConstants.evaluate: time 7.833e-05/0.7766, allocations: 23.84 kB / 1.225 GB, free: 13.8 MB / 0.9512 GB Notification: Performance of NFSimplifyModel.simplify: time 5.475e-05/0.7766, allocations: 27.91 kB / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFPackage.collectConstants: time 1.083e-05/0.7766, allocations: 0 / 1.225 GB, free: 13.78 MB / 0.9512 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001135/0.7778, allocations: 0.8852 MB / 1.226 GB, free: 12.89 MB / 0.9512 GB Notification: Performance of NFScalarize.scalarize: time 6.508e-05/0.7778, allocations: 31.91 kB / 1.226 GB, free: 12.86 MB / 0.9512 GB Notification: Performance of NFVerifyModel.verify: time 3.675e-05/0.7779, allocations: 23.81 kB / 1.226 GB, free: 12.84 MB / 0.9512 GB Notification: Performance of NFConvertDAE.convert: time 0.0009287/0.7788, allocations: 0.8114 MB / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of FrontEnd - DAE generated: time 4.068e-06/0.7788, allocations: 0 / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of FrontEnd: time 1.202e-06/0.7788, allocations: 0 / 1.227 GB, free: 12.03 MB / 0.9512 GB Notification: Performance of Transformations before backend: time 5.32e-06/0.7788, allocations: 0 / 1.227 GB, free: 12.03 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005577/0.7794, allocations: 478 kB / 1.227 GB, free: 11.51 MB / 0.9512 GB Notification: Performance of prepare preOptimizeDAE: time 3.661e-05/0.7794, allocations: 11.97 kB / 1.227 GB, free: 11.5 MB / 0.9512 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.497e-05/0.7794, allocations: 8.891 kB / 1.227 GB, free: 11.49 MB / 0.9512 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001642/0.7796, allocations: 188.8 kB / 1.227 GB, free: 11.27 MB / 0.9512 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.02e-05/0.7796, allocations: 8.312 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.026e-05/0.7796, allocations: 3.938 kB / 1.227 GB, free: 11.26 MB / 0.9512 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001004/0.7797, allocations: 49.69 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.7797, allocations: 0 / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.887e-06/0.7797, allocations: 4 kB / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.719e-06/0.7797, allocations: 0 / 1.227 GB, free: 11.2 MB / 0.9512 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.106e-05/0.7798, allocations: 27.98 kB / 1.227 GB, free: 11.17 MB / 0.9512 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001819/0.78, allocations: 197.5 kB / 1.228 GB, free: 10.93 MB / 0.9512 GB Notification: Performance of preOpt comSubExp (simulation): time 6.259e-05/0.78, allocations: 50.52 kB / 1.228 GB, free: 10.87 MB / 0.9512 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.7801, allocations: 32.88 kB / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt evalFunc (simulation): time 2.405e-05/0.7801, allocations: 0 / 1.228 GB, free: 10.84 MB / 0.9512 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.238e-05/0.7801, allocations: 30.56 kB / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of pre-optimization done (n=8): time 9.01e-07/0.7801, allocations: 0 / 1.228 GB, free: 10.8 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8): time 0.0002191/0.7803, allocations: 133.4 kB / 1.228 GB, free: 10.66 MB / 0.9512 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.644e-05/0.7804, allocations: 51.41 kB / 1.228 GB, free: 10.6 MB / 0.9512 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001325/0.7805, allocations: 156.5 kB / 1.228 GB, free: 10.43 MB / 0.9512 GB Notification: Performance of collectPreVariables (initialization): time 1.135e-05/0.7805, allocations: 29.73 kB / 1.228 GB, free: 10.4 MB / 0.9512 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/0.7806, allocations: 96.14 kB / 1.228 GB, free: 10.3 MB / 0.9512 GB Notification: Performance of collectInitialBindings (initialization): time 3.62e-05/0.7806, allocations: 27.78 kB / 1.228 GB, free: 10.27 MB / 0.9512 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.939e-05/0.7806, allocations: 13.72 kB / 1.228 GB, free: 10.25 MB / 0.9512 GB Notification: Performance of setup shared object (initialization): time 0.0001103/0.7807, allocations: 326.8 kB / 1.229 GB, free: 9.926 MB / 0.9512 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.3e-05/0.7808, allocations: 23.98 kB / 1.229 GB, free: 9.902 MB / 0.9512 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.554e-05/0.7808, allocations: 20 kB / 1.229 GB, free: 9.883 MB / 0.9512 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.28e-05/0.7809, allocations: 64.83 kB / 1.229 GB, free: 9.816 MB / 0.9512 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.7809, allocations: 4.031 kB / 1.229 GB, free: 9.812 MB / 0.9512 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001128/0.781, allocations: 101.7 kB / 1.229 GB, free: 9.707 MB / 0.9512 GB Notification: Performance of prepare postOptimizeDAE: time 1.271e-05/0.781, allocations: 4 kB / 1.229 GB, free: 9.703 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.632e-05/0.781, allocations: 4 kB / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.288e-05/0.781, allocations: 0 / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.21e-07/0.781, allocations: 0 / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.398e-06/0.781, allocations: 0 / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.902e-05/0.7811, allocations: 0 / 1.229 GB, free: 9.699 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.622e-06/0.7811, allocations: 0 / 1.229 GB, free: 9.699 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 8.967e-05/0.7812, allocations: 134.3 kB / 1.229 GB, free: 9.559 MB / 0.9512 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.469e-05/0.7812, allocations: 11.94 kB / 1.229 GB, free: 9.547 MB / 0.9512 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000158/0.7813, allocations: 109.4 kB / 1.229 GB, free: 9.43 MB / 0.9512 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.737e-06/0.7813, allocations: 4 kB / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.496e-06/0.7813, allocations: 0 / 1.229 GB, free: 9.426 MB / 0.9512 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.7813, allocations: 3.938 kB / 1.229 GB, free: 9.422 MB / 0.9512 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001355/0.7815, allocations: 193.6 kB / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.7815, allocations: 0 / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.41e-07/0.7815, allocations: 0 / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.172e-06/0.7815, allocations: 0 / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.7815, allocations: 0 / 1.229 GB, free: 9.184 MB / 0.9512 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.7815, allocations: 4.031 kB / 1.229 GB, free: 9.18 MB / 0.9512 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.7815, allocations: 4 kB / 1.229 GB, free: 9.176 MB / 0.9512 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001208/0.7816, allocations: 121 kB / 1.229 GB, free: 9.039 MB / 0.9512 GB Notification: Performance of postOpt removeConstants (simulation): time 4.132e-05/0.7816, allocations: 88.95 kB / 1.229 GB, free: 8.934 MB / 0.9512 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.61e-05/0.7817, allocations: 4 kB / 1.229 GB, free: 8.93 MB / 0.9512 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.475e-05/0.7817, allocations: 4 kB / 1.229 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.176e-05/0.7817, allocations: 0 / 1.229 GB, free: 8.926 MB / 0.9512 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.048e-06/0.7817, allocations: 3.984 kB / 1.229 GB, free: 8.922 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 8.923e-05/0.7818, allocations: 128.9 kB / 1.23 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1e-07/0.7818, allocations: 0 / 1.23 GB, free: 8.797 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.0005053/0.7823, allocations: 207.4 kB / 1.23 GB, free: 8.594 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.0006911/0.783, allocations: 346.3 kB / 1.23 GB, free: 8.246 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.7831, allocations: 89.67 kB / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.7831, allocations: 0 / 1.23 GB, free: 8.152 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 5.283e-05/0.7832, allocations: 61.69 kB / 1.23 GB, free: 8.086 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00021/0.7834, allocations: 8.438 kB / 1.23 GB, free: 8.078 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003832/0.7838, allocations: 231.3 kB / 1.23 GB, free: 7.828 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002375/0.784, allocations: 0.7079 MB / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 1.682e-05/0.784, allocations: 0 / 1.231 GB, free: 7.094 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.467e-05/0.7841, allocations: 11.44 kB / 1.231 GB, free: 7.082 MB / 0.9512 GB Notification: Performance of SimCode: time 3.61e-07/0.7841, allocations: 3.938 kB / 1.231 GB, free: 7.078 MB / 0.9512 GB Notification: Performance of Templates: time 0.007637/0.7917, allocations: 4.324 MB / 1.235 GB, free: 2.812 MB / 0.9512 GB make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches