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.006617/0.006617, allocations: 101.8 kB / 15.88 MB, free: 5.867 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.001448/0.001448, allocations: 192.6 kB / 16.79 MB, free: 5.809 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.423/1.423, allocations: 222.9 MB / 240.5 MB, free: 4.578 MB / 190.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.414/2.414, allocations: 390.2 MB / 0.6649 GB, free: 0.6367 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.001507/0.001508, allocations: 67.89 kB / 0.8126 GB, free: 14.84 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.852/0.8535, allocations: 140.3 MB / 0.9496 GB, free: 9.203 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.003437/0.857, allocations: 1.449 MB / 0.951 GB, free: 8.059 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003065/0.8601, allocations: 1.829 MB / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.873e-05/0.8602, allocations: 0 / 0.9528 GB, free: 6.656 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.0001138/0.8603, allocations: 13.23 kB / 0.9528 GB, free: 6.645 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001842/0.8605, allocations: 33.8 kB / 0.9529 GB, free: 6.621 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002916/0.8634, allocations: 1.056 MB / 0.9539 GB, free: 5.914 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001488/0.8636, allocations: 87.77 kB / 0.954 GB, free: 5.871 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.585e-05/0.8636, allocations: 6.703 kB / 0.954 GB, free: 5.867 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 9.896e-05/0.8637, allocations: 27.83 kB / 0.954 GB, free: 5.855 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 8.238e-05/0.8638, allocations: 37.67 kB / 0.9541 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.517e-05/0.8639, allocations: 0 / 0.9541 GB, free: 5.836 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001278/0.8651, allocations: 0.8425 MB / 0.9549 GB, free: 5.355 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.677e-05/0.8653, allocations: 71.17 kB / 0.9549 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 6.55e-05/0.8653, allocations: 63.91 kB / 0.955 GB, free: 5.277 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007485/0.8661, allocations: 0.6222 MB / 0.9556 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.8661, allocations: 1.312 kB / 0.9556 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.683e-06/0.8661, allocations: 0 / 0.9556 GB, free: 4.961 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.8661, allocations: 3.938 kB / 0.9556 GB, free: 4.957 MB / 0.7169 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.000599/0.8667, allocations: 0.5851 MB / 0.9562 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.8668, allocations: 9.438 kB / 0.9562 GB, free: 4.406 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.875e-05/0.8668, allocations: 25.19 kB / 0.9562 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.867, allocations: 224 kB / 0.9564 GB, free: 4.152 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.518e-06/0.867, allocations: 4.312 kB / 0.9564 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.118e-05/0.867, allocations: 2.062 kB / 0.9564 GB, free: 4.148 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001509/0.8672, allocations: 107.7 kB / 0.9566 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.8672, allocations: 0 / 0.9566 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.8672, allocations: 0 / 0.9566 GB, free: 4.09 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.382e-06/0.8672, allocations: 3.984 kB / 0.9566 GB, free: 4.086 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.665e-05/0.8673, allocations: 75.23 kB / 0.9566 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002396/0.8676, allocations: 281.1 kB / 0.9569 GB, free: 3.809 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001125/0.8677, allocations: 123.4 kB / 0.957 GB, free: 3.734 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.699e-05/0.8678, allocations: 105.2 kB / 0.9571 GB, free: 3.684 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.776e-05/0.8678, allocations: 5.312 kB / 0.9571 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.285e-05/0.8678, allocations: 35.92 kB / 0.9572 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.082e-06/0.8678, allocations: 4 kB / 0.9572 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0004105/0.8683, allocations: 342.5 kB / 0.9575 GB, free: 3.508 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.913e-05/0.8683, allocations: 51.41 kB / 0.9575 GB, free: 3.445 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002507/0.8686, allocations: 258.7 kB / 0.9578 GB, free: 3.273 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.276e-06/0.8686, allocations: 26.83 kB / 0.9578 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 6.132e-05/0.8686, allocations: 126.3 kB / 0.9579 GB, free: 3.125 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 7.699e-05/0.8687, allocations: 103.6 kB / 0.958 GB, free: 3.035 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.878e-05/0.8688, allocations: 27.14 kB / 0.958 GB, free: 3.012 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.188e-05/0.8689, allocations: 349.5 kB / 0.9584 GB, free: 2.672 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.347e-05/0.8689, allocations: 75.88 kB / 0.9585 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.786e-05/0.869, allocations: 70.58 kB / 0.9585 GB, free: 2.629 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002144/0.8692, allocations: 197.3 kB / 0.9587 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.873e-06/0.8693, allocations: 0 / 0.9587 GB, free: 2.566 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002627/0.8695, allocations: 228.4 kB / 0.9589 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.8695, allocations: 5.625 kB / 0.9589 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.525e-05/0.8696, allocations: 1.156 kB / 0.9589 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.701e-05/0.8696, allocations: 3.938 kB / 0.9589 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.092e-06/0.8696, allocations: 1.25 kB / 0.9589 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/0.8696, allocations: 4 kB / 0.9589 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.141e-05/0.8697, allocations: 13.75 kB / 0.959 GB, free: 2.445 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.654e-06/0.8697, allocations: 5.781 kB / 0.959 GB, free: 2.441 MB / 0.7169 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.0001266/0.8698, allocations: 158.5 kB / 0.9591 GB, free: 2.312 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.868e-05/0.8698, allocations: 24.62 kB / 0.9591 GB, free: 2.297 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003523/0.8702, allocations: 255.5 kB / 0.9594 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.566e-06/0.8702, allocations: 1.031 kB / 0.9594 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.758e-06/0.8702, allocations: 0 / 0.9594 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.877e-06/0.8702, allocations: 0 / 0.9594 GB, free: 2.184 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002478/0.8705, allocations: 282.1 kB / 0.9596 GB, free: 1.934 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.376e-06/0.8705, allocations: 9.375 kB / 0.9597 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.82e-07/0.8705, allocations: 0 / 0.9597 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.804e-06/0.8705, allocations: 0 / 0.9597 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.935e-06/0.8705, allocations: 1.125 kB / 0.9597 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.001e-06/0.8705, allocations: 0 / 0.9597 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.8705, allocations: 5.078 kB / 0.9597 GB, free: 1.922 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003048/0.8708, allocations: 264.4 kB / 0.9599 GB, free: 1.777 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 5.61e-05/0.8709, allocations: 103.2 kB / 0.96 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.288e-05/0.8709, allocations: 1.156 kB / 0.96 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.628e-05/0.871, allocations: 0 / 0.96 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.375e-05/0.871, allocations: 1.188 kB / 0.96 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-06/0.871, allocations: 1.5 kB / 0.96 GB, free: 1.664 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001644/0.8712, allocations: 190.5 kB / 0.9602 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.8712, allocations: 0 / 0.9602 GB, free: 1.543 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007508/0.8719, allocations: 225.1 kB / 0.9604 GB, free: 1.484 MB / 0.7169 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.0007977/0.8727, allocations: 341 kB / 0.9607 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.0003301/0.8731, allocations: 252 kB / 0.961 GB, free: 1.188 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.258e-06/0.8731, allocations: 5.344 kB / 0.961 GB, free: 1.184 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0001705/0.8733, allocations: 178.6 kB / 0.9612 GB, free: 1.094 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002707/0.8736, allocations: 27.06 kB / 0.9612 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007614/0.8743, allocations: 0.5918 MB / 0.9618 GB, free: 0.6914 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002753/0.8746, allocations: 0.7685 MB / 0.9625 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.865e-05/0.8746, allocations: 12.97 kB / 0.9625 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of SimCode: time 2.7e-07/0.8746, allocations: 0 / 0.9625 GB, free: 15.94 MB / 0.7325 GB Notification: Performance of Templates: time 0.008935/0.8836, allocations: 4.683 MB / 0.9671 GB, free: 13.58 MB / 0.7325 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