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.00109/0.001091, allocations: 97.78 kB / 16.02 MB, free: 76 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001522/0.001522, allocations: 187.3 kB / 16.92 MB, free: 6.75 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.413/1.413, allocations: 223.3 MB / 241 MB, free: 5.336 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.421/2.421, allocations: 390.9 MB / 0.667 GB, free: 2.426 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003758/0.0003758, allocations: 11.94 kB / 0.8167 GB, free: 13.21 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8006/0.801, allocations: 142.4 MB / 0.9558 GB, free: 7.613 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_TwoUTube): time 0.001473/0.8025, allocations: 1.107 MB / 0.9568 GB, free: 6.73 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002651/0.8052, allocations: 1.797 MB / 0.9586 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.675e-05/0.8052, allocations: 0 / 0.9586 GB, free: 5.348 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.379e-05/0.8053, allocations: 5.078 kB / 0.9586 GB, free: 5.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001708/0.8055, allocations: 34.67 kB / 0.9586 GB, free: 5.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002222/0.8077, allocations: 1.042 MB / 0.9597 GB, free: 4.621 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001145/0.8079, allocations: 95.91 kB / 0.9597 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.275e-05/0.8079, allocations: 2.281 kB / 0.9597 GB, free: 4.57 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.532e-05/0.808, allocations: 27.83 kB / 0.9598 GB, free: 4.559 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 7.099e-05/0.8081, allocations: 36.27 kB / 0.9598 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.29e-05/0.8081, allocations: 1.219 kB / 0.9598 GB, free: 4.539 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00106/0.8092, allocations: 0.8455 MB / 0.9606 GB, free: 4.055 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 8.225e-05/0.8093, allocations: 67.55 kB / 0.9607 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 5.761e-05/0.8093, allocations: 93.7 kB / 0.9608 GB, free: 3.945 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0007293/0.81, allocations: 0.6157 MB / 0.9614 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.038e-06/0.8101, allocations: 0 / 0.9614 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8101, allocations: 0 / 0.9614 GB, free: 3.637 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.459e-06/0.8101, allocations: 1 kB / 0.9614 GB, free: 3.637 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.0005459/0.8106, allocations: 0.5725 MB / 0.962 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.511e-05/0.8107, allocations: 9.562 kB / 0.962 GB, free: 3.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.887e-05/0.8107, allocations: 24.75 kB / 0.962 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000154/0.8109, allocations: 220.8 kB / 0.9622 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.214e-06/0.8109, allocations: 384 / 0.9622 GB, free: 2.84 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.151e-05/0.8109, allocations: 9.188 kB / 0.9622 GB, free: 2.832 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.8111, allocations: 111 kB / 0.9623 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.396e-06/0.8111, allocations: 0 / 0.9623 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.745e-06/0.8111, allocations: 1.188 kB / 0.9623 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.009e-06/0.8111, allocations: 0 / 0.9623 GB, free: 2.77 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.688e-05/0.8112, allocations: 79.84 kB / 0.9624 GB, free: 2.742 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002484/0.8115, allocations: 281.2 kB / 0.9627 GB, free: 2.488 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001095/0.8116, allocations: 115.8 kB / 0.9628 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.053e-05/0.8117, allocations: 112.1 kB / 0.9629 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.517e-05/0.8117, allocations: 5.969 kB / 0.9629 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.335e-05/0.8117, allocations: 31.59 kB / 0.9629 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=32): time 1.072e-06/0.8117, allocations: 0 / 0.9629 GB, free: 2.32 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32): time 0.0004017/0.8121, allocations: 346.5 kB / 0.9632 GB, free: 2.191 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.234e-05/0.8122, allocations: 51.41 kB / 0.9633 GB, free: 2.129 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002278/0.8124, allocations: 258.6 kB / 0.9635 GB, free: 1.957 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.173e-06/0.8124, allocations: 26.89 kB / 0.9636 GB, free: 1.926 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 5.788e-05/0.8125, allocations: 127.1 kB / 0.9637 GB, free: 1.809 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 6.642e-05/0.8125, allocations: 102.4 kB / 0.9638 GB, free: 1.719 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.738e-05/0.8126, allocations: 22.44 kB / 0.9638 GB, free: 1.699 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.241e-05/0.8126, allocations: 344.8 kB / 0.9641 GB, free: 1.363 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.684e-05/0.8127, allocations: 78.89 kB / 0.9642 GB, free: 1.336 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.625e-05/0.8128, allocations: 75.75 kB / 0.9643 GB, free: 1.312 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001841/0.813, allocations: 192.3 kB / 0.9645 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.824e-06/0.813, allocations: 0 / 0.9645 GB, free: 1.254 MB / 0.7169 GB Notification: Performance of matching and sorting (n=32) (initialization): time 0.0002246/0.8132, allocations: 229.5 kB / 0.9647 GB, free: 1.152 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.8133, allocations: 8.672 kB / 0.9647 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.8133, allocations: 1 kB / 0.9647 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.359e-05/0.8133, allocations: 1.156 kB / 0.9647 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.272e-06/0.8133, allocations: 0 / 0.9647 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.65e-06/0.8133, allocations: 0 / 0.9647 GB, free: 1.148 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.598e-05/0.8134, allocations: 15.16 kB / 0.9647 GB, free: 1.137 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.883e-06/0.8134, allocations: 1.156 kB / 0.9647 GB, free: 1.137 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.0001092/0.8135, allocations: 163.2 kB / 0.9649 GB, free: 1.004 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.118e-05/0.8135, allocations: 27.72 kB / 0.9649 GB, free: 0.9844 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000296/0.8138, allocations: 247.9 kB / 0.9651 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.756e-06/0.8138, allocations: 0 / 0.9651 GB, free: 0.8789 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.201e-06/0.8138, allocations: 7.938 kB / 0.9651 GB, free: 0.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.8138, allocations: 7.922 kB / 0.9651 GB, free: 0.8672 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001622/0.814, allocations: 273.9 kB / 0.9654 GB, free: 0.6211 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.528e-06/0.814, allocations: 5.969 kB / 0.9654 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.51e-07/0.814, allocations: 0 / 0.9654 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.954e-06/0.814, allocations: 0.9688 kB / 0.9654 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.091e-06/0.814, allocations: 3.938 kB / 0.9654 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.383e-06/0.8141, allocations: 1 kB / 0.9654 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.82e-07/0.8141, allocations: 0 / 0.9654 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002501/0.8143, allocations: 268.5 kB / 0.9657 GB, free: 476 kB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 3.941e-05/0.8144, allocations: 103.8 kB / 0.9658 GB, free: 360 kB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.263e-05/0.8144, allocations: 8.953 kB / 0.9658 GB, free: 352 kB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.64e-05/0.8144, allocations: 3.984 kB / 0.9658 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.567e-05/0.8145, allocations: 1.031 kB / 0.9658 GB, free: 348 kB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.8145, allocations: 1.969 kB / 0.9658 GB, free: 348 kB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0001486/0.8146, allocations: 186.7 kB / 0.966 GB, free: 228 kB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8146, allocations: 0 / 0.966 GB, free: 228 kB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0007283/0.8154, allocations: 220.8 kB / 0.9662 GB, free: 172 kB / 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.0007966/0.8162, allocations: 335.6 kB / 0.9665 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0003293/0.8165, allocations: 259.9 kB / 0.9667 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.955e-06/0.8165, allocations: 1.062 kB / 0.9667 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0001925/0.8167, allocations: 181.6 kB / 0.9669 GB, free: 15.77 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.817, allocations: 19.39 kB / 0.9669 GB, free: 15.76 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000844/0.8178, allocations: 0.6136 MB / 0.9675 GB, free: 15.36 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003685/0.8182, allocations: 0.7643 MB / 0.9683 GB, free: 14.62 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.758e-05/0.8182, allocations: 9.5 kB / 0.9683 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of SimCode: time 4.11e-07/0.8182, allocations: 0 / 0.9683 GB, free: 14.61 MB / 0.7325 GB Notification: Performance of Templates: time 0.009494/0.8277, allocations: 4.649 MB / 0.9728 GB, free: 12.28 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