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.001364/0.001364, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.001828/0.001828, allocations: 196.3 kB / 16.14 MB, free: 6.691 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.368/1.368, allocations: 222.9 MB / 239.8 MB, free: 4.613 MB / 190.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.838/2.838, allocations: 437 MB / 0.7099 GB, free: 5.316 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001272/0.001272, allocations: 67.89 kB / 0.8686 GB, free: 5.137 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7434/0.7447, allocations: 151.6 MB / 1.017 GB, free: 2.926 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003203/0.7479, allocations: 1.438 MB / 1.018 GB, free: 1.477 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004305/0.7523, allocations: 1.849 MB / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.073e-05/0.7524, allocations: 0 / 1.02 GB, free: 15.62 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001214/0.7525, allocations: 11.92 kB / 1.02 GB, free: 15.61 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001787/0.7528, allocations: 27.84 kB / 1.02 GB, free: 15.58 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002695/0.7555, allocations: 1.059 MB / 1.021 GB, free: 14.53 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001308/0.7556, allocations: 91.72 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.709e-05/0.7557, allocations: 3.938 kB / 1.021 GB, free: 14.44 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001151/0.7558, allocations: 27.92 kB / 1.021 GB, free: 14.41 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 8.521e-05/0.7559, allocations: 35.89 kB / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.46e-05/0.7559, allocations: 0 / 1.021 GB, free: 14.38 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001384/0.7573, allocations: 0.8461 MB / 1.022 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001134/0.7574, allocations: 71.75 kB / 1.022 GB, free: 13.46 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 7.904e-05/0.7575, allocations: 67.41 kB / 1.022 GB, free: 13.39 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.00137/0.7589, allocations: 0.8827 MB / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 4.288e-06/0.7589, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.352e-06/0.7589, allocations: 0 / 1.023 GB, free: 12.51 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.509e-06/0.7589, allocations: 0 / 1.023 GB, free: 12.51 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.0009013/0.7598, allocations: 0.5762 MB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.698e-05/0.7599, allocations: 8.031 kB / 1.023 GB, free: 11.88 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.172e-05/0.7599, allocations: 24.56 kB / 1.024 GB, free: 11.85 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002667/0.7602, allocations: 234.8 kB / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.087e-05/0.7602, allocations: 384 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.366e-05/0.7603, allocations: 384 / 1.024 GB, free: 11.58 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001906/0.7605, allocations: 114.3 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/0.7605, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.05e-05/0.7605, allocations: 4 kB / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.021e-06/0.7605, allocations: 0 / 1.024 GB, free: 11.46 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.417e-05/0.7606, allocations: 75.97 kB / 1.024 GB, free: 11.39 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003249/0.7609, allocations: 273.8 kB / 1.024 GB, free: 11.07 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001253/0.7611, allocations: 130.5 kB / 1.024 GB, free: 10.93 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001026/0.7612, allocations: 104.9 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 3.128e-05/0.7612, allocations: 7.922 kB / 1.024 GB, free: 10.82 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.463e-05/0.7612, allocations: 30.56 kB / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=32): time 1.203e-06/0.7612, allocations: 0 / 1.024 GB, free: 10.78 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32): time 0.0004174/0.7617, allocations: 329.9 kB / 1.025 GB, free: 10.45 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.029e-05/0.7617, allocations: 55.34 kB / 1.025 GB, free: 10.38 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002556/0.762, allocations: 265 kB / 1.025 GB, free: 10.11 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.275e-05/0.762, allocations: 25.7 kB / 1.025 GB, free: 10.08 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.7621, allocations: 128.7 kB / 1.025 GB, free: 9.953 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 8.85e-05/0.7622, allocations: 102.4 kB / 1.025 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.517e-05/0.7623, allocations: 29.64 kB / 1.025 GB, free: 9.816 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0002038/0.7625, allocations: 346.8 kB / 1.026 GB, free: 9.469 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.751e-05/0.7626, allocations: 75.97 kB / 1.026 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.804e-05/0.7627, allocations: 71.98 kB / 1.026 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002616/0.7629, allocations: 205.8 kB / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.405e-06/0.7629, allocations: 0 / 1.026 GB, free: 9.121 MB / 0.7794 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002369/0.7632, allocations: 225.2 kB / 1.026 GB, free: 8.895 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.837e-05/0.7632, allocations: 6.344 kB / 1.026 GB, free: 8.891 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.57e-05/0.7632, allocations: 7.938 kB / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.307e-05/0.7632, allocations: 0 / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.412e-06/0.7633, allocations: 0 / 1.026 GB, free: 8.883 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.355e-06/0.7633, allocations: 4 kB / 1.026 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.388e-05/0.7633, allocations: 15.75 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.244e-06/0.7633, allocations: 0 / 1.026 GB, free: 8.863 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001385/0.7635, allocations: 161.8 kB / 1.026 GB, free: 8.695 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.389e-05/0.7635, allocations: 23.66 kB / 1.026 GB, free: 8.672 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003164/0.7638, allocations: 253.5 kB / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.115e-06/0.7638, allocations: 0 / 1.027 GB, free: 8.422 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.7639, allocations: 4 kB / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.765e-06/0.7639, allocations: 0 / 1.027 GB, free: 8.418 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002276/0.7641, allocations: 281.8 kB / 1.027 GB, free: 8.094 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.796e-06/0.7641, allocations: 7.938 kB / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.144e-06/0.7641, allocations: 0 / 1.027 GB, free: 8.086 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.194e-06/0.7641, allocations: 3.938 kB / 1.027 GB, free: 8.082 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.035e-06/0.7641, allocations: 3.984 kB / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7641, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7642, allocations: 0 / 1.027 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002624/0.7644, allocations: 256.8 kB / 1.027 GB, free: 7.809 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 6.48e-05/0.7645, allocations: 112.6 kB / 1.027 GB, free: 7.68 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.024e-05/0.7645, allocations: 4.031 kB / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.728e-05/0.7646, allocations: 0 / 1.027 GB, free: 7.676 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.606e-05/0.7646, allocations: 4 kB / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.417e-06/0.7646, allocations: 0 / 1.027 GB, free: 7.672 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 0.0001711/0.7648, allocations: 192.4 kB / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.4e-07/0.7648, allocations: 0 / 1.028 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007058/0.7655, allocations: 219.8 kB / 1.028 GB, free: 7.273 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 (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.0009241/0.7664, allocations: 335.9 kB / 1.028 GB, free: 6.934 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0002909/0.7667, allocations: 269.5 kB / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.384e-06/0.7667, allocations: 0 / 1.028 GB, free: 6.664 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 0.0001653/0.7669, allocations: 177.6 kB / 1.028 GB, free: 6.484 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002683/0.7672, allocations: 24.48 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007473/0.7679, allocations: 0.5585 MB / 1.029 GB, free: 5.879 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003324/0.7683, allocations: 0.7673 MB / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.552e-05/0.7683, allocations: 0 / 1.03 GB, free: 5.082 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.72e-05/0.7683, allocations: 11.44 kB / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of SimCode: time 3.4e-07/0.7683, allocations: 0 / 1.03 GB, free: 5.07 MB / 0.7794 GB Notification: Performance of Templates: time 0.009737/0.7781, allocations: 4.555 MB / 1.034 GB, free: 0.5703 MB / 0.7794 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