Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_10_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 10.1.0-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.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_10_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_10_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.001125/0.001125, allocations: 104 kB / 16.35 MB, free: 5.824 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.001045/0.001045, allocations: 192.4 kB / 17.29 MB, free: 5.48 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.309/1.309, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.0-maint.10.0.x/package.mo): time 2.402/2.402, allocations: 437.1 MB / 0.7112 GB, free: 4.332 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001262/0.001262, allocations: 64.25 kB / 0.8707 GB, free: 1.336 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3102/0.3115, allocations: 151.6 MB / 1.019 GB, free: 9.75 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube): time 0.002668/0.3142, allocations: 1.389 MB / 1.02 GB, free: 8.344 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.002719/0.3169, allocations: 1.784 MB / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.725e-05/0.317, allocations: 0 / 1.022 GB, free: 6.547 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 9.263e-05/0.3171, allocations: 15.92 kB / 1.022 GB, free: 6.531 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 0.0001502/0.3173, allocations: 19.91 kB / 1.022 GB, free: 6.512 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.002633/0.3199, allocations: 1.158 MB / 1.023 GB, free: 5.367 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001076/0.3201, allocations: 47.83 kB / 1.023 GB, free: 5.32 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.455e-05/0.3201, allocations: 3.938 kB / 1.023 GB, free: 5.316 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 8.434e-05/0.3202, allocations: 23.91 kB / 1.023 GB, free: 5.293 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 6.037e-05/0.3203, allocations: 27.91 kB / 1.023 GB, free: 5.266 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.384e-05/0.3203, allocations: 4 kB / 1.023 GB, free: 5.262 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001184/0.3215, allocations: 0.889 MB / 1.024 GB, free: 4.371 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 6.6e-05/0.3215, allocations: 27.91 kB / 1.024 GB, free: 4.344 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 4.054e-05/0.3216, allocations: 23.81 kB / 1.024 GB, free: 4.32 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.0009381/0.3225, allocations: 0.803 MB / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.61e-06/0.3226, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3226, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.603e-06/0.3226, allocations: 0 / 1.025 GB, free: 3.516 MB / 0.795 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.0005904/0.3232, allocations: 467 kB / 1.025 GB, free: 3.012 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 3.969e-05/0.3232, allocations: 8.922 kB / 1.025 GB, free: 3.004 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.536e-05/0.3233, allocations: 20.75 kB / 1.025 GB, free: 2.984 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001856/0.3235, allocations: 182.1 kB / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.164e-05/0.3235, allocations: 384 / 1.026 GB, free: 2.77 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.3235, allocations: 11.88 kB / 1.026 GB, free: 2.758 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001136/0.3236, allocations: 49.69 kB / 1.026 GB, free: 2.703 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.706e-06/0.3236, allocations: 4 kB / 1.026 GB, free: 2.699 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.3236, allocations: 3.984 kB / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.3237, allocations: 0 / 1.026 GB, free: 2.695 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.868e-05/0.3237, allocations: 23.92 kB / 1.026 GB, free: 2.672 MB / 0.795 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002197/0.3239, allocations: 205.5 kB / 1.026 GB, free: 2.422 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 7.147e-05/0.324, allocations: 42.52 kB / 1.026 GB, free: 2.371 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.033e-05/0.324, allocations: 36.88 kB / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 2.718e-05/0.3241, allocations: 0 / 1.026 GB, free: 2.332 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.703e-05/0.3241, allocations: 30.56 kB / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of pre-optimization done (n=8): time 8.81e-07/0.3241, allocations: 0 / 1.026 GB, free: 2.293 MB / 0.795 GB Notification: Performance of matching and sorting (n=8): time 0.000226/0.3244, allocations: 125.6 kB / 1.026 GB, free: 2.164 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.705e-05/0.3244, allocations: 59.44 kB / 1.026 GB, free: 2.094 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001336/0.3245, allocations: 152.3 kB / 1.026 GB, free: 1.934 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 1.559e-05/0.3246, allocations: 25.7 kB / 1.026 GB, free: 1.902 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 4.604e-05/0.3246, allocations: 96.14 kB / 1.026 GB, free: 1.805 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 3.853e-05/0.3247, allocations: 27.64 kB / 1.026 GB, free: 1.777 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.819e-05/0.3247, allocations: 13.72 kB / 1.026 GB, free: 1.758 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3248, allocations: 326.8 kB / 1.027 GB, free: 1.43 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.275e-05/0.3249, allocations: 23.98 kB / 1.027 GB, free: 1.406 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.467e-05/0.3249, allocations: 24 kB / 1.027 GB, free: 1.383 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.956e-05/0.325, allocations: 64.83 kB / 1.027 GB, free: 1.316 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.325, allocations: 3.938 kB / 1.027 GB, free: 1.312 MB / 0.795 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001109/0.3251, allocations: 97.42 kB / 1.027 GB, free: 1.211 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 1.24e-05/0.3251, allocations: 4 kB / 1.027 GB, free: 1.207 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.331e-05/0.3251, allocations: 4 kB / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.3252, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.51e-07/0.3252, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.999e-06/0.3252, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.745e-05/0.3252, allocations: 0 / 1.027 GB, free: 1.203 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.81e-06/0.3252, allocations: 4.062 kB / 1.027 GB, free: 1.199 MB / 0.795 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.945e-05/0.3253, allocations: 129.8 kB / 1.027 GB, free: 1.062 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.396e-05/0.3253, allocations: 11.89 kB / 1.027 GB, free: 1.051 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001537/0.3255, allocations: 110.3 kB / 1.027 GB, free: 0.9336 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3255, allocations: 3.938 kB / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.3255, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.994e-06/0.3255, allocations: 0 / 1.027 GB, free: 0.9297 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001291/0.3256, allocations: 197.5 kB / 1.027 GB, free: 0.6875 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.14e-06/0.3256, allocations: 4 kB / 1.027 GB, free: 0.6836 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.3257, allocations: 4.031 kB / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.272e-06/0.3257, allocations: 0 / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.54e-06/0.3257, allocations: 0 / 1.027 GB, free: 0.6797 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.3257, allocations: 4 kB / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3257, allocations: 0 / 1.027 GB, free: 0.6758 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001157/0.3258, allocations: 121.2 kB / 1.027 GB, free: 0.5391 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 4.715e-05/0.3259, allocations: 88.95 kB / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.534e-05/0.3259, allocations: 0 / 1.028 GB, free: 444 kB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.22e-05/0.3259, allocations: 4.031 kB / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.366e-05/0.3259, allocations: 0 / 1.028 GB, free: 440 kB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.079e-06/0.3259, allocations: 7.922 kB / 1.028 GB, free: 432 kB / 0.795 GB Notification: Performance of sorting global known variables: time 7.8e-05/0.326, allocations: 129.4 kB / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of sort global known variables: time 1.4e-07/0.326, allocations: 0 / 1.028 GB, free: 304 kB / 0.795 GB Notification: Performance of remove unused functions: time 0.0004947/0.3265, allocations: 199.9 kB / 1.028 GB, free: 104 kB / 0.795 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.0006997/0.3272, allocations: 338.8 kB / 1.028 GB, free: 15.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001494/0.3274, allocations: 93.67 kB / 1.028 GB, free: 15.67 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.3274, allocations: 4.062 kB / 1.028 GB, free: 15.66 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 5.635e-05/0.3275, allocations: 65.69 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002219/0.3277, allocations: 10.5 kB / 1.028 GB, free: 15.59 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.3281, allocations: 235.5 kB / 1.029 GB, free: 15.33 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002845/0.3284, allocations: 0.7041 MB / 1.029 GB, free: 14.6 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.959e-05/0.3284, allocations: 7.797 kB / 1.029 GB, free: 14.59 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.432e-05/0.3284, allocations: 11.5 kB / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of SimCode: time 2e-07/0.3285, allocations: 0 / 1.029 GB, free: 14.58 MB / 0.8106 GB Notification: Performance of Templates: time 0.008121/0.3366, allocations: 4.297 MB / 1.034 GB, free: 10.33 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_MultipoleThermalResistances_OneUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.MultipoleThermalResistances_OneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches