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.InternalResistancesOneUTubeNegative.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.1-maint.10.0.x/package.mo", uses=false) Using package Buildings with version 10.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001234/0.001233, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.001279/0.001279, allocations: 197.2 kB / 16.14 MB, free: 6.711 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.387/1.387, allocations: 222.9 MB / 239.8 MB, free: 4.617 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.1.1-maint.10.0.x/package.mo): time 2.637/2.637, allocations: 437 MB / 0.7099 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of FrontEnd - loaded program: time 0.001187/0.001187, allocations: 63.91 kB / 0.8686 GB, free: 5.102 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7234/0.7246, allocations: 151.6 MB / 1.017 GB, free: 2.734 MB / 0.7637 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.002632/0.7272, allocations: 1.504 MB / 1.018 GB, free: 1.219 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.004291/0.7316, allocations: 2.967 MB / 1.021 GB, free: 14.24 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.983e-05/0.7316, allocations: 4 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 3.598e-05/0.7317, allocations: 7.984 kB / 1.021 GB, free: 14.23 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 6.425e-05/0.7317, allocations: 11.86 kB / 1.021 GB, free: 14.21 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003249/0.735, allocations: 1.385 MB / 1.022 GB, free: 12.85 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 6.933e-05/0.7351, allocations: 35.75 kB / 1.022 GB, free: 12.81 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 4.324e-05/0.7351, allocations: 11.97 kB / 1.022 GB, free: 12.8 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 2.331e-05/0.7351, allocations: 11.94 kB / 1.022 GB, free: 12.79 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 3.254e-05/0.7352, allocations: 27.86 kB / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 1.105e-05/0.7352, allocations: 0 / 1.022 GB, free: 12.76 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001893/0.7371, allocations: 1.423 MB / 1.024 GB, free: 11.34 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 1.274e-05/0.7371, allocations: 7.984 kB / 1.024 GB, free: 11.33 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 3.147e-05/0.7372, allocations: 15.88 kB / 1.024 GB, free: 11.31 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001327/0.7385, allocations: 1.094 MB / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.7385, allocations: 0 / 1.025 GB, free: 10.22 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.212e-06/0.7385, allocations: 4 kB / 1.025 GB, free: 10.21 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 7.474e-06/0.7385, allocations: 0 / 1.025 GB, free: 10.21 MB / 0.7794 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.0005645/0.7391, allocations: 0.5146 MB / 1.025 GB, free: 9.652 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 3.978e-05/0.7391, allocations: 8.031 kB / 1.025 GB, free: 9.645 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.758e-05/0.7392, allocations: 88.06 kB / 1.026 GB, free: 9.559 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001558/0.7394, allocations: 249.1 kB / 1.026 GB, free: 9.277 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.954e-05/0.7394, allocations: 154.9 kB / 1.026 GB, free: 9.125 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.809e-05/0.7395, allocations: 150.9 kB / 1.026 GB, free: 8.977 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.813e-05/0.7395, allocations: 109.1 kB / 1.026 GB, free: 8.863 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.655e-05/0.7396, allocations: 79.28 kB / 1.026 GB, free: 8.785 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.938e-05/0.7396, allocations: 154.5 kB / 1.026 GB, free: 8.633 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.68e-05/0.7397, allocations: 150.6 kB / 1.027 GB, free: 8.484 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.283e-05/0.7398, allocations: 158.5 kB / 1.027 GB, free: 8.328 MB / 0.7794 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002888/0.7401, allocations: 469.9 kB / 1.027 GB, free: 7.82 MB / 0.7794 GB Notification: Performance of preOpt comSubExp (simulation): time 7.198e-05/0.7402, allocations: 165.1 kB / 1.027 GB, free: 7.648 MB / 0.7794 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.366e-05/0.7402, allocations: 80.14 kB / 1.027 GB, free: 7.566 MB / 0.7794 GB Notification: Performance of preOpt evalFunc (simulation): time 2.571e-05/0.7402, allocations: 79.28 kB / 1.027 GB, free: 7.488 MB / 0.7794 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.093e-05/0.7403, allocations: 113.8 kB / 1.028 GB, free: 7.367 MB / 0.7794 GB Notification: Performance of pre-optimization done (n=0): time 8.31e-07/0.7403, allocations: 4 kB / 1.028 GB, free: 7.363 MB / 0.7794 GB Notification: Performance of matching and sorting (n=0): time 7.152e-05/0.7404, allocations: 37.53 kB / 1.028 GB, free: 7.32 MB / 0.7794 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.856e-05/0.7404, allocations: 126.7 kB / 1.028 GB, free: 7.184 MB / 0.7794 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000137/0.7406, allocations: 132 kB / 1.028 GB, free: 7.047 MB / 0.7794 GB Notification: Performance of collectPreVariables (initialization): time 1.276e-05/0.7406, allocations: 25.7 kB / 1.028 GB, free: 7.016 MB / 0.7794 GB Notification: Performance of collectInitialEqns (initialization): time 5.378e-05/0.7406, allocations: 92.12 kB / 1.028 GB, free: 6.922 MB / 0.7794 GB Notification: Performance of collectInitialBindings (initialization): time 1.753e-06/0.7407, allocations: 3.938 kB / 1.028 GB, free: 6.918 MB / 0.7794 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.44e-05/0.7407, allocations: 17.7 kB / 1.028 GB, free: 6.895 MB / 0.7794 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.7408, allocations: 322.8 kB / 1.028 GB, free: 6.57 MB / 0.7794 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.261e-05/0.7409, allocations: 4 kB / 1.028 GB, free: 6.566 MB / 0.7794 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.571e-05/0.7409, allocations: 4 kB / 1.028 GB, free: 6.562 MB / 0.7794 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.789e-05/0.7409, allocations: 20.78 kB / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.924e-06/0.7409, allocations: 0 / 1.028 GB, free: 6.539 MB / 0.7794 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001201/0.741, allocations: 53.58 kB / 1.028 GB, free: 6.48 MB / 0.7794 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.7411, allocations: 4 kB / 1.028 GB, free: 6.477 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.639e-05/0.7411, allocations: 4 kB / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.166e-05/0.7411, allocations: 0 / 1.028 GB, free: 6.473 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.7411, allocations: 4.062 kB / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.899e-06/0.7411, allocations: 0 / 1.028 GB, free: 6.469 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.218e-05/0.7412, allocations: 7.984 kB / 1.028 GB, free: 6.461 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.783e-06/0.7412, allocations: 0 / 1.028 GB, free: 6.461 MB / 0.7794 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 9.963e-05/0.7413, allocations: 181.1 kB / 1.029 GB, free: 6.273 MB / 0.7794 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.212e-05/0.7413, allocations: 116.8 kB / 1.029 GB, free: 6.152 MB / 0.7794 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.882e-05/0.7414, allocations: 112.9 kB / 1.029 GB, free: 6.035 MB / 0.7794 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.291e-05/0.7415, allocations: 184.2 kB / 1.029 GB, free: 5.848 MB / 0.7794 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.291e-05/0.7416, allocations: 180.2 kB / 1.029 GB, free: 5.664 MB / 0.7794 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.276e-05/0.7416, allocations: 180.3 kB / 1.029 GB, free: 5.48 MB / 0.7794 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002548/0.7419, allocations: 417.2 kB / 1.03 GB, free: 5.016 MB / 0.7794 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.293e-05/0.7419, allocations: 108.9 kB / 1.03 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.594e-05/0.742, allocations: 109 kB / 1.03 GB, free: 4.789 MB / 0.7794 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.904e-05/0.742, allocations: 184.2 kB / 1.03 GB, free: 4.602 MB / 0.7794 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.779e-05/0.7421, allocations: 176.3 kB / 1.03 GB, free: 4.422 MB / 0.7794 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.76e-05/0.7422, allocations: 180.2 kB / 1.03 GB, free: 4.238 MB / 0.7794 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.735e-05/0.7423, allocations: 184.5 kB / 1.031 GB, free: 4.051 MB / 0.7794 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.7424, allocations: 315.7 kB / 1.031 GB, free: 3.719 MB / 0.7794 GB Notification: Performance of postOpt removeConstants (simulation): time 9.169e-05/0.7425, allocations: 182 kB / 1.031 GB, free: 3.516 MB / 0.7794 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.586e-05/0.7426, allocations: 188.2 kB / 1.031 GB, free: 3.324 MB / 0.7794 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.592e-05/0.7427, allocations: 101 kB / 1.031 GB, free: 3.219 MB / 0.7794 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.442e-05/0.7428, allocations: 180.2 kB / 1.032 GB, free: 3.035 MB / 0.7794 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.582e-05/0.7428, allocations: 108.9 kB / 1.032 GB, free: 2.922 MB / 0.7794 GB Notification: Performance of sorting global known variables: time 5.763e-05/0.7429, allocations: 103.3 kB / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7429, allocations: 0 / 1.032 GB, free: 2.82 MB / 0.7794 GB Notification: Performance of remove unused functions: time 0.0007341/0.7436, allocations: 283.8 kB / 1.032 GB, free: 2.543 MB / 0.7794 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.001044/0.7447, allocations: 0.5175 MB / 1.033 GB, free: 2.012 MB / 0.7794 GB Notification: Performance of simCode: created initialization part: time 9.424e-05/0.7448, allocations: 33.7 kB / 1.033 GB, free: 1.973 MB / 0.7794 GB Notification: Performance of simCode: created event and clocks part: time 2.435e-06/0.7448, allocations: 4.062 kB / 1.033 GB, free: 1.969 MB / 0.7794 GB Notification: Performance of simCode: created simulation system equations: time 3.176e-06/0.7448, allocations: 11.88 kB / 1.033 GB, free: 1.957 MB / 0.7794 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004414/0.7453, allocations: 0.5418 MB / 1.033 GB, free: 1.41 MB / 0.7794 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.7456, allocations: 226.2 kB / 1.033 GB, free: 1.164 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002799/0.7459, allocations: 0.6809 MB / 1.034 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: alias equations: time 1.3e-05/0.7459, allocations: 0 / 1.034 GB, free: 468 kB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.296e-05/0.7459, allocations: 11.44 kB / 1.034 GB, free: 456 kB / 0.7794 GB Notification: Performance of SimCode: time 1.963e-06/0.7459, allocations: 0 / 1.034 GB, free: 456 kB / 0.7794 GB Notification: Performance of Templates: time 0.009258/0.7552, allocations: 5.482 MB / 1.039 GB, free: 11.01 MB / 0.795 GB make -j1 -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_10.0.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_10_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches