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_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 9.1.2-maint.9.1.x/package.mo", uses=false) Using package Buildings with version 9.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-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_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_9_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_9_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.001831/0.001831, allocations: 99.7 kB / 16.35 MB, free: 5.828 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.002193/0.002193, allocations: 196.8 kB / 17.29 MB, free: 5.484 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.438/1.438, allocations: 222.9 MB / 241 MB, free: 15.15 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.2-maint.9.1.x/package.mo): time 2.238/2.238, allocations: 390.3 MB / 0.6655 GB, free: 0.5625 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001373/0.001373, allocations: 65.42 kB / 0.8141 GB, free: 32.55 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3273/0.3287, allocations: 140.4 MB / 0.9512 GB, free: 7.988 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002788/0.3315, allocations: 1.377 MB / 0.9525 GB, free: 6.602 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.003041/0.3346, allocations: 1.788 MB / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.914e-05/0.3347, allocations: 0 / 0.9543 GB, free: 4.801 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 9.849e-05/0.3348, allocations: 11.92 kB / 0.9543 GB, free: 4.789 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001689/0.335, allocations: 27.89 kB / 0.9543 GB, free: 4.762 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002657/0.3377, allocations: 1.161 MB / 0.9554 GB, free: 3.613 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.3378, allocations: 51.77 kB / 0.9555 GB, free: 3.562 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.363e-05/0.3378, allocations: 4 kB / 0.9555 GB, free: 3.559 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.209e-05/0.3379, allocations: 23.86 kB / 0.9555 GB, free: 3.535 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 6.927e-05/0.338, allocations: 31.91 kB / 0.9555 GB, free: 3.504 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.338, allocations: 4 kB / 0.9555 GB, free: 3.5 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001166/0.3392, allocations: 0.8929 MB / 0.9564 GB, free: 2.605 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 8.399e-05/0.3393, allocations: 63.81 kB / 0.9565 GB, free: 2.543 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.502e-05/0.3394, allocations: 63.38 kB / 0.9565 GB, free: 2.48 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009701/0.3403, allocations: 0.8769 MB / 0.9574 GB, free: 1.602 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.3404, allocations: 3.938 kB / 0.9574 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.974e-06/0.3404, allocations: 0 / 0.9574 GB, free: 1.598 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 5.29e-06/0.3404, allocations: 0 / 0.9574 GB, free: 1.598 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: 32 * Number of variables: 32 Notification: Performance of Generate backend data structure: time 0.0006717/0.341, allocations: 0.5839 MB / 0.958 GB, free: 0.9648 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.716e-05/0.3411, allocations: 16.03 kB / 0.958 GB, free: 0.9492 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.322e-05/0.3411, allocations: 24.56 kB / 0.958 GB, free: 0.9258 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002062/0.3414, allocations: 218.8 kB / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.3414, allocations: 384 / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.3414, allocations: 384 / 0.9582 GB, free: 0.6719 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001438/0.3415, allocations: 109.8 kB / 0.9583 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.802e-06/0.3416, allocations: 0 / 0.9583 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.195e-06/0.3416, allocations: 0 / 0.9583 GB, free: 0.5586 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.193e-06/0.3416, allocations: 3.984 kB / 0.9583 GB, free: 0.5547 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.293e-05/0.3417, allocations: 71.98 kB / 0.9584 GB, free: 496 kB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002683/0.3419, allocations: 281.9 kB / 0.9587 GB, free: 160 kB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001206/0.3421, allocations: 118.8 kB / 0.9588 GB, free: 32 kB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000105/0.3422, allocations: 109.7 kB / 0.9589 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 3.28e-05/0.3422, allocations: 3.938 kB / 0.9589 GB, free: 15.92 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.015e-05/0.3422, allocations: 34.56 kB / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=32): time 1.242e-06/0.3422, allocations: 0 / 0.9589 GB, free: 15.88 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32): time 0.0004096/0.3427, allocations: 345.2 kB / 0.9592 GB, free: 15.53 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.564e-05/0.3427, allocations: 55.44 kB / 0.9593 GB, free: 15.46 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002458/0.343, allocations: 257 kB / 0.9595 GB, free: 15.2 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 1.171e-05/0.343, allocations: 25.7 kB / 0.9596 GB, free: 15.17 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 7.418e-05/0.3431, allocations: 128.7 kB / 0.9597 GB, free: 15.04 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 8.741e-05/0.3431, allocations: 106.4 kB / 0.9598 GB, free: 14.94 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.3432, allocations: 29.7 kB / 0.9598 GB, free: 14.9 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001272/0.3433, allocations: 342.8 kB / 0.9601 GB, free: 14.56 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.637e-05/0.3434, allocations: 75.98 kB / 0.9602 GB, free: 14.48 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.388e-05/0.3435, allocations: 75.97 kB / 0.9603 GB, free: 14.41 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001753/0.3437, allocations: 201.8 kB / 0.9605 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-06/0.3437, allocations: 0 / 0.9605 GB, free: 14.21 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002162/0.3439, allocations: 225.3 kB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.363e-05/0.3439, allocations: 4 kB / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.3439, allocations: 0 / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.3439, allocations: 0 / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.495e-06/0.344, allocations: 0 / 0.9607 GB, free: 13.98 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.284e-06/0.344, allocations: 11.88 kB / 0.9607 GB, free: 13.97 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.097e-05/0.344, allocations: 19.81 kB / 0.9607 GB, free: 13.95 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.332e-06/0.344, allocations: 0 / 0.9607 GB, free: 13.95 MB / 0.7481 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.0001284/0.3442, allocations: 157.8 kB / 0.9609 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.604e-05/0.3442, allocations: 27.66 kB / 0.9609 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002756/0.3445, allocations: 244.4 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.899e-06/0.3445, allocations: 3.984 kB / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.3445, allocations: 0 / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.3445, allocations: 0 / 0.9611 GB, free: 13.51 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002068/0.3447, allocations: 285.7 kB / 0.9614 GB, free: 13.18 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.911e-06/0.3447, allocations: 7.969 kB / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.22e-07/0.3447, allocations: 0 / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.442e-06/0.3447, allocations: 0 / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.145e-06/0.3448, allocations: 4 kB / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.002e-06/0.3448, allocations: 0 / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.41e-07/0.3448, allocations: 0 / 0.9614 GB, free: 13.17 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.345, allocations: 264.7 kB / 0.9617 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 6.426e-05/0.3451, allocations: 112.6 kB / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.873e-05/0.3451, allocations: 0 / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.606e-05/0.3452, allocations: 4.031 kB / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.452e-05/0.3452, allocations: 0 / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.625e-06/0.3452, allocations: 0 / 0.9618 GB, free: 12.76 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001514/0.3453, allocations: 188.5 kB / 0.962 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.2e-07/0.3453, allocations: 0 / 0.962 GB, free: 12.58 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005528/0.3459, allocations: 207.9 kB / 0.9622 GB, free: 12.38 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.0006762/0.3466, allocations: 345 kB / 0.9625 GB, free: 12.03 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0002861/0.3469, allocations: 265.5 kB / 0.9628 GB, free: 11.77 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.404e-06/0.3469, allocations: 4.062 kB / 0.9628 GB, free: 11.76 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001502/0.3471, allocations: 177.6 kB / 0.9629 GB, free: 11.58 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002361/0.3473, allocations: 31.47 kB / 0.963 GB, free: 11.55 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006261/0.3479, allocations: 493.9 kB / 0.9634 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003219/0.3483, allocations: 0.771 MB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 2.435e-05/0.3483, allocations: 4.062 kB / 0.9642 GB, free: 10.24 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.594e-05/0.3483, allocations: 11.44 kB / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of SimCode: time 2.1e-07/0.3483, allocations: 0 / 0.9642 GB, free: 10.23 MB / 0.7481 GB Notification: Performance of Templates: time 0.00857/0.3569, allocations: 4.576 MB / 0.9687 GB, free: 5.707 MB / 0.7481 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_TwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches