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_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 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_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_10_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_10_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.0008013/0.0008014, allocations: 84.22 kB / 15.06 MB, free: 1.09 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.0009256/0.0009256, allocations: 168.7 kB / 15.95 MB, free: 204 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.453/1.453, allocations: 223.3 MB / 240 MB, free: 5.43 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.852/2.852, allocations: 437.7 MB / 0.7117 GB, free: 7.09 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.0003401/0.0003401, allocations: 8 kB / 0.8723 GB, free: 3.648 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7924/0.7927, allocations: 153.8 MB / 1.022 GB, free: 64 kB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.001707/0.7945, allocations: 1.09 MB / 1.024 GB, free: 14.96 MB / 0.7794 GB Notification: Performance of NFInst.instExpressions: time 0.002742/0.7973, allocations: 1.648 MB / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.826e-05/0.7973, allocations: 0 / 1.025 GB, free: 13.3 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0001071/0.7975, allocations: 11.92 kB / 1.025 GB, free: 13.29 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.0001969/0.7977, allocations: 23.89 kB / 1.025 GB, free: 13.27 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002341/0.8, allocations: 0.9194 MB / 1.026 GB, free: 12.37 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.0001087/0.8001, allocations: 67.73 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 5.473e-05/0.8002, allocations: 4 kB / 1.026 GB, free: 12.3 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 8.226e-05/0.8003, allocations: 23.92 kB / 1.026 GB, free: 12.28 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 6.593e-05/0.8004, allocations: 31.89 kB / 1.026 GB, free: 12.25 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.8004, allocations: 7.938 kB / 1.026 GB, free: 12.24 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001023/0.8014, allocations: 0.6708 MB / 1.027 GB, free: 11.57 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 6.081e-05/0.8015, allocations: 27.89 kB / 1.027 GB, free: 11.54 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 2.981e-05/0.8015, allocations: 41.64 kB / 1.027 GB, free: 11.49 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.0006151/0.8021, allocations: 0.4931 MB / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 7.023e-06/0.8022, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of FrontEnd: time 2.094e-06/0.8022, allocations: 0 / 1.027 GB, free: 11 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 4.358e-06/0.8022, allocations: 0 / 1.027 GB, free: 11 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.00053/0.8027, allocations: 482.7 kB / 1.028 GB, free: 10.48 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.944e-05/0.8028, allocations: 8.562 kB / 1.028 GB, free: 10.47 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.736e-05/0.8028, allocations: 11.81 kB / 1.028 GB, free: 10.46 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/0.803, allocations: 188.2 kB / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.995e-06/0.803, allocations: 0 / 1.028 GB, free: 10.24 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.426e-05/0.803, allocations: 3.953 kB / 1.028 GB, free: 10.23 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001177/0.8032, allocations: 49.69 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.794e-06/0.8032, allocations: 3.984 kB / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.027e-06/0.8032, allocations: 0 / 1.028 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.209e-06/0.8032, allocations: 4 kB / 1.028 GB, free: 10.17 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.779e-05/0.8032, allocations: 27.98 kB / 1.028 GB, free: 10.14 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002548/0.8035, allocations: 193.6 kB / 1.028 GB, free: 9.906 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 6.682e-05/0.8036, allocations: 46.5 kB / 1.028 GB, free: 9.852 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.904e-05/0.8036, allocations: 36.88 kB / 1.028 GB, free: 9.812 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.823e-05/0.8037, allocations: 3.953 kB / 1.028 GB, free: 9.809 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.085e-05/0.8037, allocations: 30.56 kB / 1.028 GB, free: 9.77 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=8): time 1.052e-06/0.8037, allocations: 4 kB / 1.028 GB, free: 9.766 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8): time 0.0002264/0.8039, allocations: 113.6 kB / 1.029 GB, free: 9.648 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.653e-05/0.804, allocations: 51.41 kB / 1.029 GB, free: 9.586 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001435/0.8041, allocations: 154.5 kB / 1.029 GB, free: 9.426 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.426e-05/0.8042, allocations: 25.7 kB / 1.029 GB, free: 9.395 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.119e-05/0.8042, allocations: 104.1 kB / 1.029 GB, free: 9.289 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 3.701e-05/0.8043, allocations: 31.69 kB / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.935e-06/0.8043, allocations: 0 / 1.029 GB, free: 9.258 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.8044, allocations: 322.8 kB / 1.029 GB, free: 8.934 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.407e-05/0.8044, allocations: 28.02 kB / 1.029 GB, free: 8.906 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.639e-05/0.8045, allocations: 27.92 kB / 1.029 GB, free: 8.879 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.986e-05/0.8045, allocations: 27.98 kB / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.8045, allocations: 0 / 1.029 GB, free: 8.852 MB / 0.7794 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001156/0.8046, allocations: 97.53 kB / 1.029 GB, free: 8.75 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.494e-05/0.8047, allocations: 4.781 kB / 1.029 GB, free: 8.746 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.521e-05/0.8047, allocations: 4 kB / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.064e-05/0.8047, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.233e-06/0.8047, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.8047, allocations: 0 / 1.029 GB, free: 8.742 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.599e-05/0.8047, allocations: 4.062 kB / 1.029 GB, free: 8.738 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-06/0.8047, allocations: 0 / 1.029 GB, free: 8.738 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 9.338e-05/0.8048, allocations: 121.8 kB / 1.03 GB, free: 8.609 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.451e-05/0.8049, allocations: 15.8 kB / 1.03 GB, free: 8.594 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001785/0.805, allocations: 106.2 kB / 1.03 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.419e-06/0.8051, allocations: 3.984 kB / 1.03 GB, free: 8.48 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.923e-06/0.8051, allocations: 4 kB / 1.03 GB, free: 8.477 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.8051, allocations: 3.938 kB / 1.03 GB, free: 8.473 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002237/0.8053, allocations: 189.7 kB / 1.03 GB, free: 8.238 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.677e-06/0.8053, allocations: 4 kB / 1.03 GB, free: 8.234 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.884e-06/0.8053, allocations: 4 kB / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.8053, allocations: 0 / 1.03 GB, free: 8.23 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.664e-06/0.8053, allocations: 3.953 kB / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.81e-07/0.8054, allocations: 0 / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.8054, allocations: 320 / 1.03 GB, free: 8.227 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001442/0.8055, allocations: 132.9 kB / 1.03 GB, free: 8.078 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 4.469e-05/0.8056, allocations: 85.05 kB / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.384e-05/0.8056, allocations: 0 / 1.03 GB, free: 7.977 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.428e-05/0.8056, allocations: 7.953 kB / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.531e-05/0.8056, allocations: 0 / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.8056, allocations: 0 / 1.03 GB, free: 7.969 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 8.247e-05/0.8057, allocations: 115.8 kB / 1.03 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of sort global known variables: time 9e-08/0.8057, allocations: 0 / 1.03 GB, free: 7.855 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0005382/0.8063, allocations: 207.8 kB / 1.03 GB, free: 7.652 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.0006739/0.807, allocations: 314.9 kB / 1.031 GB, free: 7.336 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 0.0001402/0.8071, allocations: 93.67 kB / 1.031 GB, free: 7.238 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 1.953e-06/0.8071, allocations: 4 kB / 1.031 GB, free: 7.234 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 6.838e-05/0.8072, allocations: 73.61 kB / 1.031 GB, free: 7.156 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002188/0.8074, allocations: 11.98 kB / 1.031 GB, free: 7.145 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004036/0.8078, allocations: 254.9 kB / 1.031 GB, free: 6.871 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003053/0.8081, allocations: 0.7082 MB / 1.032 GB, free: 6.137 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 2.11e-05/0.8082, allocations: 11.86 kB / 1.032 GB, free: 6.125 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.266e-05/0.8082, allocations: 7.438 kB / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of SimCode: time 2.21e-07/0.8082, allocations: 0 / 1.032 GB, free: 6.117 MB / 0.7794 GB Notification: Performance of Templates: time 0.008235/0.8164, allocations: 4.236 MB / 1.036 GB, free: 1.934 MB / 0.7794 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches