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.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_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.001622/0.001621, allocations: 107.5 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.001814/0.001814, allocations: 191.5 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.411/1.411, 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.331/2.331, allocations: 390.3 MB / 0.6653 GB, free: 0.6758 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.001368/0.001368, allocations: 63.16 kB / 0.8132 GB, free: 33.13 MB / 0.6231 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2882/0.2896, allocations: 140.4 MB / 0.9503 GB, free: 8.797 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.002572/0.2922, allocations: 1.379 MB / 0.9517 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.002901/0.2951, allocations: 1.788 MB / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.853e-05/0.2952, allocations: 0 / 0.9534 GB, free: 5.605 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.0001019/0.2953, allocations: 11.92 kB / 0.9534 GB, free: 5.594 MB / 0.7325 GB Notification: Performance of NFTyping.typeBindings: time 0.0001783/0.2956, allocations: 35.89 kB / 0.9535 GB, free: 5.559 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.00263/0.2982, allocations: 1.136 MB / 0.9546 GB, free: 4.43 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 9.601e-05/0.2983, allocations: 47.8 kB / 0.9546 GB, free: 4.383 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 4.447e-05/0.2983, allocations: 3.984 kB / 0.9546 GB, free: 4.379 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 8.661e-05/0.2984, allocations: 31.86 kB / 0.9547 GB, free: 4.348 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 7.678e-05/0.2985, allocations: 27.89 kB / 0.9547 GB, free: 4.32 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 1.654e-05/0.2986, allocations: 4 kB / 0.9547 GB, free: 4.316 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001176/0.2997, allocations: 0.85 MB / 0.9555 GB, free: 3.465 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 7.967e-05/0.2998, allocations: 63.81 kB / 0.9556 GB, free: 3.402 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 6.419e-05/0.2999, allocations: 67.38 kB / 0.9556 GB, free: 3.336 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.0009699/0.3009, allocations: 0.881 MB / 0.9565 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.538e-06/0.3009, allocations: 0 / 0.9565 GB, free: 2.453 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.603e-06/0.3009, allocations: 4 kB / 0.9565 GB, free: 2.449 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 6.152e-06/0.3009, allocations: 0 / 0.9565 GB, free: 2.449 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.0006657/0.3016, allocations: 0.5854 MB / 0.9571 GB, free: 1.816 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.503e-05/0.3016, allocations: 8.031 kB / 0.9571 GB, free: 1.809 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.632e-05/0.3017, allocations: 24.56 kB / 0.9571 GB, free: 1.785 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00022/0.3019, allocations: 222.8 kB / 0.9573 GB, free: 1.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.3019, allocations: 4.375 kB / 0.9573 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.3019, allocations: 384 / 0.9573 GB, free: 1.527 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/0.3021, allocations: 105.8 kB / 0.9574 GB, free: 1.418 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.574e-06/0.3021, allocations: 7.984 kB / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.697e-06/0.3021, allocations: 0 / 0.9574 GB, free: 1.41 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.833e-06/0.3021, allocations: 4 kB / 0.9574 GB, free: 1.406 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.833e-05/0.3022, allocations: 75.92 kB / 0.9575 GB, free: 1.332 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002428/0.3024, allocations: 281.9 kB / 0.9578 GB, free: 1.008 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001146/0.3026, allocations: 118.5 kB / 0.9579 GB, free: 0.8828 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.188e-05/0.3027, allocations: 109.4 kB / 0.958 GB, free: 0.7734 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 2.962e-05/0.3027, allocations: 7.938 kB / 0.958 GB, free: 0.7656 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.876e-05/0.3027, allocations: 34.56 kB / 0.958 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=32): time 1.132e-06/0.3027, allocations: 0 / 0.958 GB, free: 0.7227 MB / 0.7325 GB Notification: Performance of matching and sorting (n=32): time 0.0003877/0.3031, allocations: 341.7 kB / 0.9584 GB, free: 392 kB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.3e-05/0.3032, allocations: 51.41 kB / 0.9584 GB, free: 328 kB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002397/0.3034, allocations: 261 kB / 0.9587 GB, free: 52 kB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 1.22e-05/0.3034, allocations: 25.7 kB / 0.9587 GB, free: 20 kB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 8.55e-05/0.3035, allocations: 124.6 kB / 0.9588 GB, free: 15.89 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 9.513e-05/0.3036, allocations: 102.5 kB / 0.9589 GB, free: 15.79 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.343e-05/0.3037, allocations: 33.7 kB / 0.9589 GB, free: 15.75 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001232/0.3038, allocations: 342.8 kB / 0.9593 GB, free: 15.41 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.227e-05/0.3039, allocations: 67.98 kB / 0.9593 GB, free: 15.34 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.923e-05/0.304, allocations: 75.97 kB / 0.9594 GB, free: 15.27 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001787/0.3041, allocations: 201.8 kB / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.3042, allocations: 0 / 0.9596 GB, free: 15.07 MB / 0.7481 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002255/0.3044, allocations: 225.3 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.3044, allocations: 4 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.389e-05/0.3044, allocations: 4.062 kB / 0.9598 GB, free: 14.84 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.326e-05/0.3045, allocations: 4 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.815e-06/0.3045, allocations: 0 / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.241e-06/0.3045, allocations: 3.938 kB / 0.9598 GB, free: 14.83 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.112e-05/0.3045, allocations: 15.69 kB / 0.9598 GB, free: 14.81 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.3045, allocations: 4 kB / 0.9598 GB, free: 14.81 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.0001256/0.3047, allocations: 153.8 kB / 0.96 GB, free: 14.65 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.571e-05/0.3047, allocations: 27.66 kB / 0.96 GB, free: 14.62 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002804/0.305, allocations: 255.9 kB / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.305, allocations: 0 / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.305, allocations: 0 / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.305, allocations: 0 / 0.9603 GB, free: 14.37 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/0.3052, allocations: 285.7 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.39e-06/0.3052, allocations: 3.938 kB / 0.9605 GB, free: 14.04 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.593e-06/0.3053, allocations: 4 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.3053, allocations: 3.984 kB / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.76e-06/0.3053, allocations: 0 / 0.9605 GB, free: 14.03 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.142e-06/0.3053, allocations: 4.031 kB / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.11e-07/0.3053, allocations: 0 / 0.9605 GB, free: 14.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002453/0.3055, allocations: 264.7 kB / 0.9608 GB, free: 13.75 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 5.855e-05/0.3056, allocations: 112.6 kB / 0.9609 GB, free: 13.62 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.949e-05/0.3056, allocations: 3.938 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.498e-05/0.3057, allocations: 0 / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.891e-05/0.3057, allocations: 4 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.887e-06/0.3057, allocations: 4 kB / 0.9609 GB, free: 13.61 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0001537/0.3059, allocations: 192.5 kB / 0.9611 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3059, allocations: 0 / 0.9611 GB, free: 13.42 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0005876/0.3065, allocations: 203.9 kB / 0.9613 GB, free: 13.22 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.0007518/0.3072, allocations: 338.9 kB / 0.9616 GB, free: 12.88 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.0003043/0.3075, allocations: 265.5 kB / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 2.855e-06/0.3075, allocations: 0 / 0.9619 GB, free: 12.61 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/0.3077, allocations: 177.6 kB / 0.962 GB, free: 12.43 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002564/0.308, allocations: 28.59 kB / 0.9621 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000716/0.3087, allocations: 0.527 MB / 0.9626 GB, free: 11.85 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003168/0.309, allocations: 0.7671 MB / 0.9633 GB, free: 11.05 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.809e-05/0.309, allocations: 11.44 kB / 0.9633 GB, free: 11.04 MB / 0.7481 GB Notification: Performance of SimCode: time 5.71e-07/0.309, allocations: 4 kB / 0.9633 GB, free: 11.03 MB / 0.7481 GB Notification: Performance of Templates: time 0.007551/0.3166, allocations: 4.679 MB / 0.9679 GB, free: 6.359 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 -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