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.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-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.0009649/0.000965, allocations: 92.39 kB / 15.06 MB, free: 1.098 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.001173/0.001173, allocations: 172.7 kB / 15.95 MB, free: 208 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.457/1.457, allocations: 223.3 MB / 240 MB, free: 5.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.885/2.885, allocations: 437.7 MB / 0.7117 GB, free: 7.07 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0005964/0.0005966, allocations: 8 kB / 0.8723 GB, free: 3.617 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8367/0.8373, allocations: 153.8 MB / 1.022 GB, free: 15.99 MB / 0.7794 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001692/0.8391, allocations: 1.09 MB / 1.024 GB, free: 14.89 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.003087/0.8422, allocations: 1.652 MB / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.567e-05/0.8422, allocations: 0 / 1.025 GB, free: 13.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001148/0.8424, allocations: 7.984 kB / 1.025 GB, free: 13.22 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0002011/0.8426, allocations: 35.81 kB / 1.025 GB, free: 13.19 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002251/0.8448, allocations: 0.9283 MB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001262/0.845, allocations: 71.73 kB / 1.026 GB, free: 12.21 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.611e-05/0.845, allocations: 4 kB / 1.026 GB, free: 12.2 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001113/0.8451, allocations: 35.84 kB / 1.026 GB, free: 12.17 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.626e-05/0.8452, allocations: 39.91 kB / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.478e-05/0.8453, allocations: 0 / 1.026 GB, free: 12.13 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001018/0.8463, allocations: 0.6824 MB / 1.027 GB, free: 11.45 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 8.494e-05/0.8464, allocations: 67.81 kB / 1.027 GB, free: 11.38 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 4.68e-05/0.8464, allocations: 45.58 kB / 1.027 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0007934/0.8472, allocations: 0.5516 MB / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.754e-06/0.8473, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.124e-06/0.8473, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.103e-06/0.8473, allocations: 0 / 1.028 GB, free: 10.78 MB / 0.7794 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.0007635/0.848, allocations: 0.5722 MB / 1.028 GB, free: 10.16 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.881e-05/0.8481, allocations: 12.56 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.244e-05/0.8482, allocations: 27.56 kB / 1.028 GB, free: 10.12 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002299/0.8484, allocations: 209.7 kB / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.025e-06/0.8484, allocations: 0 / 1.028 GB, free: 9.871 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.8484, allocations: 3.953 kB / 1.028 GB, free: 9.867 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001634/0.8486, allocations: 117.6 kB / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.112e-06/0.8486, allocations: 0 / 1.028 GB, free: 9.746 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.017e-05/0.8486, allocations: 3.984 kB / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.8486, allocations: 0 / 1.028 GB, free: 9.742 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.654e-05/0.8487, allocations: 75.98 kB / 1.029 GB, free: 9.668 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002852/0.849, allocations: 277.9 kB / 1.029 GB, free: 9.344 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001237/0.8491, allocations: 114.6 kB / 1.029 GB, free: 9.223 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.941e-05/0.8492, allocations: 104.9 kB / 1.029 GB, free: 9.117 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.113e-05/0.8493, allocations: 7.891 kB / 1.029 GB, free: 9.109 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.794e-05/0.8493, allocations: 34.56 kB / 1.029 GB, free: 9.066 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.8493, allocations: 8 kB / 1.029 GB, free: 9.059 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0004289/0.8498, allocations: 329.8 kB / 1.029 GB, free: 8.73 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.603e-05/0.8498, allocations: 51.41 kB / 1.029 GB, free: 8.668 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002508/0.8501, allocations: 257 kB / 1.03 GB, free: 8.406 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.305e-05/0.8501, allocations: 25.7 kB / 1.03 GB, free: 8.375 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 8.518e-05/0.8502, allocations: 128.7 kB / 1.03 GB, free: 8.246 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.818e-05/0.8503, allocations: 106.4 kB / 1.03 GB, free: 8.141 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.528e-06/0.8503, allocations: 4 kB / 1.03 GB, free: 8.137 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001358/0.8504, allocations: 342.8 kB / 1.03 GB, free: 7.793 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.876e-05/0.8505, allocations: 75.97 kB / 1.03 GB, free: 7.719 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.597e-05/0.8506, allocations: 79.91 kB / 1.03 GB, free: 7.641 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001075/0.8507, allocations: 105 kB / 1.03 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.854e-06/0.8507, allocations: 0 / 1.03 GB, free: 7.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002438/0.8509, allocations: 221.3 kB / 1.031 GB, free: 7.316 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.851, allocations: 4 kB / 1.031 GB, free: 7.312 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.914e-05/0.851, allocations: 4 kB / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.277e-05/0.851, allocations: 0 / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.897e-06/0.851, allocations: 0 / 1.031 GB, free: 7.309 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.116e-06/0.851, allocations: 8 kB / 1.031 GB, free: 7.301 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.563e-05/0.8511, allocations: 15.84 kB / 1.031 GB, free: 7.285 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.662e-06/0.8511, allocations: 0 / 1.031 GB, free: 7.285 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.000133/0.8512, allocations: 153.8 kB / 1.031 GB, free: 7.125 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.317e-05/0.8513, allocations: 27.58 kB / 1.031 GB, free: 7.098 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002958/0.8516, allocations: 256.3 kB / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.8516, allocations: 32 / 1.031 GB, free: 6.844 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.01e-06/0.8516, allocations: 4 kB / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.8516, allocations: 0 / 1.031 GB, free: 6.84 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000231/0.8518, allocations: 277.9 kB / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.767e-06/0.8519, allocations: 0 / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.41e-07/0.8519, allocations: 0 / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.8519, allocations: 0 / 1.031 GB, free: 6.52 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.8519, allocations: 7.953 kB / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.92e-07/0.8519, allocations: 0 / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.032e-06/0.8519, allocations: 0 / 1.031 GB, free: 6.512 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002599/0.8522, allocations: 264.6 kB / 1.032 GB, free: 6.234 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 7.187e-05/0.8522, allocations: 104.8 kB / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.927e-05/0.8523, allocations: 0 / 1.032 GB, free: 6.113 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.383e-05/0.8523, allocations: 3.953 kB / 1.032 GB, free: 6.109 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.592e-05/0.8523, allocations: 4 kB / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.495e-06/0.8523, allocations: 0 / 1.032 GB, free: 6.105 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001681/0.8525, allocations: 192.4 kB / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8525, allocations: 0 / 1.032 GB, free: 5.922 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005339/0.853, allocations: 207.8 kB / 1.032 GB, free: 5.719 MB / 0.7794 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0006741/0.8537, allocations: 324.2 kB / 1.032 GB, free: 5.391 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002895/0.854, allocations: 261.6 kB / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.184e-06/0.854, allocations: 0 / 1.033 GB, free: 5.129 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.000158/0.8542, allocations: 177.6 kB / 1.033 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002401/0.8545, allocations: 16.48 kB / 1.033 GB, free: 4.934 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007242/0.8552, allocations: 0.5561 MB / 1.033 GB, free: 4.352 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003983/0.8556, allocations: 0.7758 MB / 1.034 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.159e-05/0.8556, allocations: 0 / 1.034 GB, free: 3.551 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.8556, allocations: 11.44 kB / 1.034 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8557, allocations: 0 / 1.034 GB, free: 3.539 MB / 0.7794 GB Notification: Performance of Templates: time 0.008854/0.8645, allocations: 4.513 MB / 1.039 GB, free: 15.07 MB / 0.795 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/jenkins/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