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.InternalResistancesTwoUTube.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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001667/0.001667, allocations: 107.6 kB / 16.37 MB, free: 6.477 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.001963/0.001963, allocations: 193.8 kB / 17.31 MB, free: 5.824 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.433/1.433, allocations: 222.9 MB / 241 MB, free: 15.16 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.468/2.468, allocations: 437.1 MB / 0.7112 GB, free: 4.336 MB / 0.5762 GB Notification: Performance of FrontEnd - loaded program: time 0.001397/0.001397, allocations: 68.12 kB / 0.8708 GB, free: 1.371 MB / 0.6387 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3255/0.327, allocations: 151.6 MB / 1.019 GB, free: 9.781 MB / 0.795 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.00264/0.3296, allocations: 1.447 MB / 1.02 GB, free: 8.316 MB / 0.795 GB Notification: Performance of NFInst.instExpressions: time 0.004337/0.334, allocations: 2.889 MB / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.236e-05/0.3341, allocations: 0 / 1.023 GB, free: 5.41 MB / 0.795 GB Notification: Performance of NFTyping.typeComponents: time 2.76e-05/0.3342, allocations: 7.875 kB / 1.023 GB, free: 5.402 MB / 0.795 GB Notification: Performance of NFTyping.typeBindings: time 6.446e-05/0.3342, allocations: 19.84 kB / 1.023 GB, free: 5.383 MB / 0.795 GB Notification: Performance of NFTyping.typeClassSections: time 0.004328/0.3386, allocations: 1.601 MB / 1.025 GB, free: 3.801 MB / 0.795 GB Notification: Performance of NFFlatten.flatten: time 0.0001081/0.3387, allocations: 51.67 kB / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of NFFlatten.resolveConnections: time 4.49e-05/0.3387, allocations: 0 / 1.025 GB, free: 3.75 MB / 0.795 GB Notification: Performance of NFEvalConstants.evaluate: time 2.772e-05/0.3388, allocations: 11.94 kB / 1.025 GB, free: 3.738 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 3.22e-05/0.3388, allocations: 15.92 kB / 1.025 GB, free: 3.723 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 1.409e-05/0.3388, allocations: 4 kB / 1.025 GB, free: 3.719 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002403/0.3412, allocations: 1.537 MB / 1.026 GB, free: 2.18 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 1.584e-05/0.3413, allocations: 3.938 kB / 1.026 GB, free: 2.176 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 3.407e-05/0.3413, allocations: 15.88 kB / 1.026 GB, free: 2.16 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.001546/0.3429, allocations: 1.111 MB / 1.027 GB, free: 1.047 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.37e-06/0.3429, allocations: 4 kB / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.162e-06/0.3429, allocations: 0 / 1.027 GB, free: 1.043 MB / 0.795 GB Notification: Performance of Transformations before backend: time 5.03e-06/0.3429, allocations: 0 / 1.027 GB, free: 1.043 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000629/0.3435, allocations: 0.5185 MB / 1.028 GB, free: 488 kB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.3436, allocations: 8.625 kB / 1.028 GB, free: 480 kB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.298e-05/0.3437, allocations: 84.12 kB / 1.028 GB, free: 396 kB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001725/0.3439, allocations: 247.6 kB / 1.028 GB, free: 108 kB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.527e-05/0.344, allocations: 154.9 kB / 1.028 GB, free: 15.95 MB / 0.8106 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.212e-05/0.344, allocations: 154.9 kB / 1.028 GB, free: 15.8 MB / 0.8106 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001106/0.3441, allocations: 109.1 kB / 1.029 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.072e-05/0.3442, allocations: 75.28 kB / 1.029 GB, free: 15.61 MB / 0.8106 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000144/0.3443, allocations: 150.6 kB / 1.029 GB, free: 15.46 MB / 0.8106 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.013e-05/0.3444, allocations: 154.5 kB / 1.029 GB, free: 15.31 MB / 0.8106 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.3445, allocations: 162.5 kB / 1.029 GB, free: 15.15 MB / 0.8106 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003764/0.3449, allocations: 465.9 kB / 1.03 GB, free: 14.65 MB / 0.8106 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001176/0.3451, allocations: 177.1 kB / 1.03 GB, free: 14.46 MB / 0.8106 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.25e-05/0.3451, allocations: 80.14 kB / 1.03 GB, free: 14.38 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001295/0.3452, allocations: 83.28 kB / 1.03 GB, free: 14.3 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.564e-05/0.3453, allocations: 109.8 kB / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=0): time 1.022e-06/0.3453, allocations: 0 / 1.03 GB, free: 14.18 MB / 0.8106 GB Notification: Performance of matching and sorting (n=0): time 8.736e-05/0.3454, allocations: 37.55 kB / 1.03 GB, free: 14.14 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.068e-05/0.3455, allocations: 126.7 kB / 1.03 GB, free: 14 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001617/0.3456, allocations: 136.4 kB / 1.03 GB, free: 13.86 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.3457, allocations: 25.7 kB / 1.03 GB, free: 13.83 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 5.276e-05/0.3457, allocations: 100 kB / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 2.756e-06/0.3457, allocations: 0 / 1.03 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-05/0.3458, allocations: 17.72 kB / 1.03 GB, free: 13.71 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.3459, allocations: 322.8 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.546e-05/0.3459, allocations: 0 / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.729e-05/0.3459, allocations: 4 kB / 1.031 GB, free: 13.38 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.234e-05/0.346, allocations: 16.86 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.397e-06/0.346, allocations: 4.062 kB / 1.031 GB, free: 13.36 MB / 0.8106 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001273/0.3461, allocations: 61.59 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.316e-05/0.3461, allocations: 4 kB / 1.031 GB, free: 13.29 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.376e-05/0.3462, allocations: 4 kB / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.424e-05/0.3462, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.32e-07/0.3462, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.3462, allocations: 0 / 1.031 GB, free: 13.28 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.612e-05/0.3462, allocations: 7.891 kB / 1.031 GB, free: 13.27 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.558e-06/0.3462, allocations: 4 kB / 1.031 GB, free: 13.27 MB / 0.8106 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.0001058/0.3464, allocations: 185.1 kB / 1.031 GB, free: 13.08 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.837e-05/0.3464, allocations: 113 kB / 1.031 GB, free: 12.96 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.416e-05/0.3465, allocations: 112.8 kB / 1.031 GB, free: 12.84 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.666e-05/0.3466, allocations: 180.3 kB / 1.031 GB, free: 12.66 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.087e-05/0.3466, allocations: 180.2 kB / 1.032 GB, free: 12.48 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.544e-05/0.3467, allocations: 180.3 kB / 1.032 GB, free: 12.29 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002411/0.347, allocations: 417.2 kB / 1.032 GB, free: 11.83 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.943e-05/0.347, allocations: 108.9 kB / 1.032 GB, free: 11.71 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.055e-05/0.3471, allocations: 101 kB / 1.032 GB, free: 11.61 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.4e-05/0.3471, allocations: 184.2 kB / 1.032 GB, free: 11.42 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.165e-05/0.3472, allocations: 180.3 kB / 1.033 GB, free: 11.24 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.989e-05/0.3473, allocations: 180.2 kB / 1.033 GB, free: 11.05 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 0.0001136/0.3474, allocations: 188.2 kB / 1.033 GB, free: 10.86 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.3476, allocations: 307.7 kB / 1.033 GB, free: 10.54 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 8.202e-05/0.3477, allocations: 193.9 kB / 1.033 GB, free: 10.32 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.886e-05/0.3478, allocations: 180.2 kB / 1.034 GB, free: 10.14 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.218e-05/0.3479, allocations: 112.9 kB / 1.034 GB, free: 10.02 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.928e-05/0.348, allocations: 176.3 kB / 1.034 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001197/0.3481, allocations: 108.9 kB / 1.034 GB, free: 9.73 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 6.119e-05/0.3482, allocations: 105.6 kB / 1.034 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.21e-07/0.3482, allocations: 0 / 1.034 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.0008251/0.349, allocations: 283.8 kB / 1.034 GB, free: 9.352 MB / 0.8106 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 (0): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.001088/0.3501, allocations: 0.5347 MB / 1.035 GB, free: 8.805 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.0001042/0.3502, allocations: 37.7 kB / 1.035 GB, free: 8.762 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/0.3502, allocations: 4 kB / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 2.204e-06/0.3503, allocations: 0 / 1.035 GB, free: 8.758 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004204/0.3507, allocations: 479.6 kB / 1.035 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003569/0.351, allocations: 232.1 kB / 1.036 GB, free: 8.031 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003514/0.3514, allocations: 0.6846 MB / 1.036 GB, free: 7.32 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 1.435e-05/0.3514, allocations: 4 kB / 1.036 GB, free: 7.316 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.167e-05/0.3514, allocations: 11.44 kB / 1.036 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of SimCode: time 6.61e-07/0.3515, allocations: 0 / 1.036 GB, free: 7.305 MB / 0.8106 GB Notification: Performance of Templates: time 0.01011/0.3616, allocations: 5.62 MB / 1.042 GB, free: 1.734 MB / 0.8106 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches