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.3-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-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.001679/0.001679, allocations: 101.1 kB / 16.27 MB, free: 6.414 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.001716/0.001716, allocations: 190.3 kB / 17.2 MB, free: 5.953 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.549/1.549, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.3-maint.9.1.x/package.mo): time 2.209/2.209, allocations: 390.3 MB / 0.6653 GB, free: 0.7188 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001491/0.001492, allocations: 64.89 kB / 0.8132 GB, free: 32.98 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3228/0.3243, allocations: 140.4 MB / 0.9503 GB, free: 8.812 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.003313/0.3277, allocations: 1.367 MB / 0.9517 GB, free: 7.43 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003287/0.331, allocations: 1.781 MB / 0.9534 GB, free: 5.641 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.321e-05/0.3311, allocations: 4 kB / 0.9534 GB, free: 5.637 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001106/0.3312, allocations: 11.92 kB / 0.9534 GB, free: 5.625 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001976/0.3315, allocations: 23.84 kB / 0.9534 GB, free: 5.602 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003214/0.3347, allocations: 1.144 MB / 0.9546 GB, free: 4.465 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001166/0.3348, allocations: 47.72 kB / 0.9546 GB, free: 4.418 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 5.073e-05/0.3349, allocations: 4 kB / 0.9546 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001049/0.335, allocations: 27.91 kB / 0.9546 GB, free: 4.387 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.779e-05/0.3351, allocations: 23.86 kB / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.375e-05/0.3351, allocations: 0 / 0.9547 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001484/0.3366, allocations: 0.8501 MB / 0.9555 GB, free: 3.512 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.154e-05/0.3367, allocations: 27.91 kB / 0.9555 GB, free: 3.484 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.3367, allocations: 23.81 kB / 0.9555 GB, free: 3.461 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001448/0.3382, allocations: 0.8033 MB / 0.9563 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3382, allocations: 0 / 0.9563 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.964e-06/0.3382, allocations: 0 / 0.9563 GB, free: 2.656 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 7.344e-06/0.3382, allocations: 0 / 0.9563 GB, free: 2.656 MB / 0.7325 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.0007649/0.339, allocations: 478.9 kB / 0.9568 GB, free: 2.141 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.562e-05/0.339, allocations: 12.03 kB / 0.9568 GB, free: 2.129 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.3391, allocations: 8.75 kB / 0.9568 GB, free: 2.121 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000201/0.3393, allocations: 184.8 kB / 0.957 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.002e-05/0.3393, allocations: 384 / 0.957 GB, free: 1.902 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.156e-05/0.3393, allocations: 7.938 kB / 0.957 GB, free: 1.895 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000131/0.3395, allocations: 57.62 kB / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.273e-06/0.3395, allocations: 0 / 0.957 GB, free: 1.832 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.107e-06/0.3395, allocations: 4 kB / 0.957 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.52e-06/0.3395, allocations: 0 / 0.957 GB, free: 1.828 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.328e-05/0.3396, allocations: 23.98 kB / 0.9571 GB, free: 1.805 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002212/0.3398, allocations: 197.5 kB / 0.9573 GB, free: 1.562 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 6.816e-05/0.3399, allocations: 46.52 kB / 0.9573 GB, free: 1.508 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.602e-05/0.3399, allocations: 32.88 kB / 0.9573 GB, free: 1.473 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.469e-05/0.34, allocations: 7.875 kB / 0.9573 GB, free: 1.465 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.837e-05/0.34, allocations: 42.56 kB / 0.9574 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=8): time 1.022e-06/0.34, allocations: 0 / 0.9574 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of matching and sorting (n=8): time 0.0002391/0.3402, allocations: 117.6 kB / 0.9575 GB, free: 1.293 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.133e-05/0.3403, allocations: 51.41 kB / 0.9575 GB, free: 1.23 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001769/0.3405, allocations: 152.9 kB / 0.9577 GB, free: 1.066 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.438e-05/0.3405, allocations: 25.7 kB / 0.9577 GB, free: 1.035 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 5.764e-05/0.3406, allocations: 96.14 kB / 0.9578 GB, free: 0.9375 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 5.305e-05/0.3406, allocations: 23.64 kB / 0.9578 GB, free: 0.9141 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.708e-05/0.3407, allocations: 17.72 kB / 0.9578 GB, free: 0.8906 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001627/0.3408, allocations: 330.8 kB / 0.9582 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.625e-05/0.3409, allocations: 19.98 kB / 0.9582 GB, free: 0.5391 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.986e-05/0.3409, allocations: 32.08 kB / 0.9582 GB, free: 0.5078 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.626e-05/0.341, allocations: 69.12 kB / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.694e-06/0.341, allocations: 0 / 0.9583 GB, free: 448 kB / 0.7325 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001176/0.3411, allocations: 93.48 kB / 0.9584 GB, free: 348 kB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.581e-05/0.3411, allocations: 4 kB / 0.9584 GB, free: 344 kB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.995e-05/0.3412, allocations: 4 kB / 0.9584 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.632e-05/0.3412, allocations: 64 / 0.9584 GB, free: 340 kB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.3412, allocations: 4 kB / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.3412, allocations: 0 / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.002e-05/0.3413, allocations: 0 / 0.9584 GB, free: 336 kB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.3413, allocations: 7.984 kB / 0.9584 GB, free: 328 kB / 0.7325 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.0001168/0.3414, allocations: 121.8 kB / 0.9585 GB, free: 196 kB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.599e-05/0.3414, allocations: 15.78 kB / 0.9585 GB, free: 180 kB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001894/0.3416, allocations: 106.4 kB / 0.9586 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.3416, allocations: 0 / 0.9586 GB, free: 68 kB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.3416, allocations: 4.031 kB / 0.9586 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.467e-06/0.3416, allocations: 0 / 0.9586 GB, free: 64 kB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001913/0.3418, allocations: 201.5 kB / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.847e-06/0.3418, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.41e-07/0.3419, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.463e-06/0.3419, allocations: 0 / 0.9588 GB, free: 15.82 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.378e-06/0.3419, allocations: 4 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.966e-06/0.3419, allocations: 0 / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.3419, allocations: 3.938 kB / 0.9588 GB, free: 15.81 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001434/0.342, allocations: 124.9 kB / 0.9589 GB, free: 15.67 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.706e-05/0.3421, allocations: 92.94 kB / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.77e-05/0.3421, allocations: 0 / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.249e-05/0.3421, allocations: 0 / 0.959 GB, free: 15.56 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.365e-05/0.3422, allocations: 3.984 kB / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.514e-06/0.3422, allocations: 0 / 0.959 GB, free: 15.55 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 9.328e-05/0.3423, allocations: 124.7 kB / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1e-07/0.3423, allocations: 0 / 0.9591 GB, free: 15.43 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0007203/0.343, allocations: 199.9 kB / 0.9593 GB, free: 15.24 MB / 0.7481 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.0007702/0.3438, allocations: 342.6 kB / 0.9597 GB, free: 14.89 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0001757/0.344, allocations: 93.67 kB / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 4.739e-06/0.344, allocations: 0 / 0.9598 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 6.922e-05/0.3441, allocations: 73.56 kB / 0.9598 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002324/0.3443, allocations: 11.92 kB / 0.9598 GB, free: 14.71 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000494/0.3448, allocations: 265.4 kB / 0.9601 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003284/0.3452, allocations: 0.7039 MB / 0.9608 GB, free: 13.68 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.923e-05/0.3452, allocations: 11.44 kB / 0.9608 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of SimCode: time 2.2e-07/0.3452, allocations: 0 / 0.9608 GB, free: 13.67 MB / 0.7481 GB Notification: Performance of Templates: time 0.007901/0.3531, allocations: 3.98 MB / 0.9647 GB, free: 9.703 MB / 0.7481 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