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.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_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.001765/0.001765, allocations: 100.1 kB / 15.88 MB, free: 12 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.001722/0.001722, allocations: 198.4 kB / 16.79 MB, free: 6.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.518/1.518, allocations: 222.9 MB / 240.5 MB, free: 4.59 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.37/2.37, allocations: 390.2 MB / 0.6649 GB, free: 0.582 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.00151/0.00151, allocations: 67.89 kB / 0.8126 GB, free: 14.81 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7703/0.7718, allocations: 140.4 MB / 0.9496 GB, free: 9.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002441/0.7743, allocations: 1.435 MB / 0.951 GB, free: 7.992 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.002581/0.7769, allocations: 1.832 MB / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.671e-05/0.777, allocations: 0 / 0.9528 GB, free: 6.586 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 9.816e-05/0.7771, allocations: 5.5 kB / 0.9528 GB, free: 6.582 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.0001486/0.7773, allocations: 26.34 kB / 0.9529 GB, free: 6.562 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002218/0.7795, allocations: 1.054 MB / 0.9539 GB, free: 5.852 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.7796, allocations: 79.23 kB / 0.954 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.094e-05/0.7797, allocations: 2.312 kB / 0.954 GB, free: 5.812 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 8.341e-05/0.7797, allocations: 28.02 kB / 0.954 GB, free: 5.797 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 6.159e-05/0.7798, allocations: 25.38 kB / 0.954 GB, free: 5.785 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.193e-05/0.7798, allocations: 4 kB / 0.954 GB, free: 5.781 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.7809, allocations: 0.8383 MB / 0.9548 GB, free: 5.305 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 6.585e-05/0.781, allocations: 30.75 kB / 0.9549 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 4.198e-05/0.781, allocations: 33.03 kB / 0.9549 GB, free: 5.266 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.000689/0.7817, allocations: 0.5705 MB / 0.9555 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.7818, allocations: 0 / 0.9555 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.243e-06/0.7818, allocations: 0 / 0.9555 GB, free: 4.973 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.278e-06/0.7818, allocations: 1.156 kB / 0.9555 GB, free: 4.973 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0004831/0.7823, allocations: 479.5 kB / 0.9559 GB, free: 4.508 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.877e-05/0.7823, allocations: 13.25 kB / 0.9559 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.218e-05/0.7823, allocations: 8.406 kB / 0.9559 GB, free: 4.5 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7825, allocations: 187.7 kB / 0.9561 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.658e-06/0.7825, allocations: 384 / 0.9561 GB, free: 4.285 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.199e-05/0.7825, allocations: 3.938 kB / 0.9561 GB, free: 4.281 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.637e-05/0.7826, allocations: 55 kB / 0.9562 GB, free: 4.242 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.298e-06/0.7826, allocations: 7.922 kB / 0.9562 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.985e-06/0.7826, allocations: 0 / 0.9562 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.518e-06/0.7826, allocations: 0 / 0.9562 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.683e-05/0.7827, allocations: 27.05 kB / 0.9562 GB, free: 4.227 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001589/0.7828, allocations: 191.4 kB / 0.9564 GB, free: 4.016 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.916e-05/0.7829, allocations: 46.05 kB / 0.9564 GB, free: 3.98 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.592e-05/0.783, allocations: 32.22 kB / 0.9565 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 2.426e-05/0.783, allocations: 1.562 kB / 0.9565 GB, free: 3.965 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.994e-05/0.783, allocations: 39.94 kB / 0.9565 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=8): time 1.383e-06/0.783, allocations: 0 / 0.9565 GB, free: 3.918 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8): time 0.0002249/0.7832, allocations: 124.7 kB / 0.9566 GB, free: 3.855 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.922e-05/0.7833, allocations: 57.22 kB / 0.9567 GB, free: 3.789 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.7834, allocations: 152.5 kB / 0.9568 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 6.733e-06/0.7834, allocations: 25.7 kB / 0.9569 GB, free: 3.629 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.885e-05/0.7834, allocations: 91.7 kB / 0.9569 GB, free: 3.539 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 3.037e-05/0.7835, allocations: 27.2 kB / 0.957 GB, free: 3.516 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.565e-05/0.7835, allocations: 19.09 kB / 0.957 GB, free: 3.496 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.7836, allocations: 326.4 kB / 0.9573 GB, free: 3.172 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.422e-05/0.7836, allocations: 25.83 kB / 0.9573 GB, free: 3.164 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.744e-05/0.7836, allocations: 26.86 kB / 0.9573 GB, free: 3.156 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.979e-05/0.7837, allocations: 64.72 kB / 0.9574 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.7837, allocations: 0 / 0.9574 GB, free: 3.133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001018/0.7838, allocations: 98.16 kB / 0.9575 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.237e-05/0.7838, allocations: 5.5 kB / 0.9575 GB, free: 3.078 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.284e-05/0.7839, allocations: 3.984 kB / 0.9575 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.264e-05/0.7839, allocations: 1.375 kB / 0.9575 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.763e-06/0.7839, allocations: 0 / 0.9575 GB, free: 3.074 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.821e-06/0.7839, allocations: 3.938 kB / 0.9575 GB, free: 3.07 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.807e-05/0.7839, allocations: 9.344 kB / 0.9575 GB, free: 3.062 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.732e-06/0.7839, allocations: 1.375 kB / 0.9575 GB, free: 3.062 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 7.343e-05/0.784, allocations: 124.6 kB / 0.9576 GB, free: 2.941 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.416e-05/0.784, allocations: 11.92 kB / 0.9577 GB, free: 2.934 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001511/0.7842, allocations: 107.4 kB / 0.9578 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.073e-06/0.7842, allocations: 0 / 0.9578 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.7842, allocations: 1.469 kB / 0.9578 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.364e-06/0.7842, allocations: 0 / 0.9578 GB, free: 2.875 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.7843, allocations: 200.7 kB / 0.9579 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.007e-06/0.7843, allocations: 5.219 kB / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.11e-07/0.7843, allocations: 0 / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.7844, allocations: 1.344 kB / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.921e-06/0.7844, allocations: 0 / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.42e-07/0.7844, allocations: 1.094 kB / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7844, allocations: 0 / 0.958 GB, free: 2.652 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000117/0.7845, allocations: 121.9 kB / 0.9581 GB, free: 2.562 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 2.681e-05/0.7845, allocations: 83.58 kB / 0.9582 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.422e-05/0.7845, allocations: 5.5 kB / 0.9582 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.124e-05/0.7846, allocations: 0 / 0.9582 GB, free: 2.461 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.428e-05/0.7846, allocations: 4.641 kB / 0.9582 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.384e-06/0.7846, allocations: 1.281 kB / 0.9582 GB, free: 2.457 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 7.051e-05/0.7847, allocations: 124.4 kB / 0.9583 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7847, allocations: 0 / 0.9583 GB, free: 2.363 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0005571/0.7852, allocations: 209.2 kB / 0.9585 GB, free: 2.312 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.0007265/0.786, allocations: 345.8 kB / 0.9588 GB, free: 2.113 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.000149/0.7861, allocations: 96.98 kB / 0.9589 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.7861, allocations: 0 / 0.9589 GB, free: 2.062 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 5.238e-05/0.7862, allocations: 67.94 kB / 0.959 GB, free: 2.02 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002154/0.7864, allocations: 10.22 kB / 0.959 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003923/0.7868, allocations: 277.4 kB / 0.9592 GB, free: 1.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001404/0.787, allocations: 0.7062 MB / 0.9599 GB, free: 1.086 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.28e-05/0.787, allocations: 13.19 kB / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of SimCode: time 2.9e-07/0.787, allocations: 0 / 0.9599 GB, free: 1.074 MB / 0.7169 GB Notification: Performance of Templates: time 0.007178/0.7942, allocations: 3.973 MB / 0.9638 GB, free: 15.07 MB / 0.7325 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