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.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 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.InternalResistancesOneUTubeNegative,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.001104/0.001104, allocations: 99.7 kB / 15.05 MB, free: 1.105 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.001321/0.001321, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.2 MB / 239.9 MB, free: 5.453 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.417/2.417, allocations: 390.3 MB / 0.6653 GB, free: 2.988 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003962/0.0003963, allocations: 8 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9383/0.9387, allocations: 142.3 MB / 0.9536 GB, free: 8.074 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative): time 0.001625/0.9404, allocations: 1.11 MB / 0.9546 GB, free: 7.191 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.004124/0.9446, allocations: 2.553 MB / 0.9571 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.662e-05/0.9446, allocations: 0 / 0.9571 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.9447, allocations: 7.922 kB / 0.9571 GB, free: 5.203 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.616e-05/0.9447, allocations: 18.03 kB / 0.9572 GB, free: 5.188 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003229/0.948, allocations: 1.209 MB / 0.9583 GB, free: 4.367 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 7.847e-05/0.9481, allocations: 29.33 kB / 0.9584 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.836e-05/0.9481, allocations: 6.516 kB / 0.9584 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.753e-05/0.9482, allocations: 10.91 kB / 0.9584 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.368e-05/0.9482, allocations: 19.22 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.046e-05/0.9482, allocations: 1.438 kB / 0.9584 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001785/0.95, allocations: 1.159 MB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 9.739e-06/0.95, allocations: 1.188 kB / 0.9595 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.852e-05/0.9501, allocations: 37.2 kB / 0.9596 GB, free: 3.68 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001009/0.9511, allocations: 0.6995 MB / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.886e-06/0.9511, allocations: 0 / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.204e-06/0.9511, allocations: 0 / 0.9603 GB, free: 3.328 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.57e-06/0.9511, allocations: 1.062 kB / 0.9603 GB, free: 3.328 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000477/0.9516, allocations: 0.508 MB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.054e-05/0.9516, allocations: 9.219 kB / 0.9608 GB, free: 2.828 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.198e-05/0.9517, allocations: 84.95 kB / 0.9608 GB, free: 2.746 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001094/0.9518, allocations: 248.1 kB / 0.9611 GB, free: 2.469 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.653e-05/0.9518, allocations: 156 kB / 0.9612 GB, free: 2.316 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.51e-05/0.9519, allocations: 150.6 kB / 0.9614 GB, free: 2.168 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.227e-05/0.9519, allocations: 105.8 kB / 0.9615 GB, free: 2.059 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.659e-05/0.9519, allocations: 75.28 kB / 0.9616 GB, free: 1.984 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.899e-05/0.952, allocations: 151.4 kB / 0.9617 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.524e-05/0.952, allocations: 158.5 kB / 0.9618 GB, free: 1.68 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.727e-05/0.952, allocations: 159.4 kB / 0.962 GB, free: 1.523 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001979/0.9522, allocations: 461.7 kB / 0.9624 GB, free: 1.031 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.585e-05/0.9523, allocations: 170.1 kB / 0.9626 GB, free: 0.8555 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.397e-05/0.9523, allocations: 79.28 kB / 0.9627 GB, free: 0.7773 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.949e-05/0.9523, allocations: 106.9 kB / 0.9628 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 8.42e-07/0.9524, allocations: 0 / 0.9628 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.891e-05/0.9524, allocations: 36.36 kB / 0.9628 GB, free: 0.625 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.9525, allocations: 139.7 kB / 0.9629 GB, free: 488 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.9526, allocations: 134.7 kB / 0.9631 GB, free: 364 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.9526, allocations: 25.7 kB / 0.9631 GB, free: 332 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.897e-05/0.9527, allocations: 95.02 kB / 0.9632 GB, free: 236 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.985e-06/0.9527, allocations: 0 / 0.9632 GB, free: 236 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.594e-06/0.9527, allocations: 3.938 kB / 0.9632 GB, free: 232 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 9.213e-05/0.9528, allocations: 317.1 kB / 0.9635 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.405e-05/0.9528, allocations: 7.188 kB / 0.9635 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.276e-05/0.9528, allocations: 2.25 kB / 0.9635 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.841e-05/0.9529, allocations: 3.906 kB / 0.9635 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.9529, allocations: 0.7812 kB / 0.9635 GB, free: 15.91 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001324/0.953, allocations: 54.53 kB / 0.9636 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.751e-05/0.953, allocations: 10.84 kB / 0.9636 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.121e-05/0.953, allocations: 6.266 kB / 0.9636 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.445e-05/0.9531, allocations: 5.156 kB / 0.9636 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.82e-07/0.9531, allocations: 0 / 0.9636 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.739e-06/0.9531, allocations: 0 / 0.9636 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.89e-05/0.9531, allocations: 1.062 kB / 0.9636 GB, free: 15.85 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.039e-05/0.9531, allocations: 5.234 kB / 0.9636 GB, free: 15.84 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002002/0.9533, allocations: 183 kB / 0.9638 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001896/0.9535, allocations: 112 kB / 0.9639 GB, free: 15.54 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.752e-05/0.9536, allocations: 123.1 kB / 0.964 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001677/0.9538, allocations: 176.3 kB / 0.9642 GB, free: 15.24 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.638e-05/0.9538, allocations: 181.8 kB / 0.9643 GB, free: 15.05 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.343e-05/0.9539, allocations: 177.2 kB / 0.9645 GB, free: 14.88 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002702/0.9542, allocations: 419.6 kB / 0.9649 GB, free: 14.41 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.1e-05/0.9542, allocations: 109.8 kB / 0.965 GB, free: 14.3 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.804e-05/0.9543, allocations: 102.1 kB / 0.9651 GB, free: 14.2 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.94e-05/0.9544, allocations: 181.3 kB / 0.9653 GB, free: 14.01 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.304e-05/0.9544, allocations: 177.2 kB / 0.9654 GB, free: 13.83 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.034e-05/0.9545, allocations: 177.1 kB / 0.9656 GB, free: 13.65 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.785e-05/0.9546, allocations: 193.2 kB / 0.9658 GB, free: 13.46 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001537/0.9547, allocations: 308.7 kB / 0.9661 GB, free: 13.14 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.737e-05/0.9548, allocations: 184.2 kB / 0.9663 GB, free: 12.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.382e-05/0.9549, allocations: 185 kB / 0.9664 GB, free: 12.75 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.107e-05/0.955, allocations: 106.5 kB / 0.9665 GB, free: 12.64 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.255e-05/0.9551, allocations: 181 kB / 0.9667 GB, free: 12.45 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.508e-05/0.9552, allocations: 105.9 kB / 0.9668 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.702e-05/0.9552, allocations: 97.2 kB / 0.9669 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1e-07/0.9552, allocations: 0 / 0.9669 GB, free: 12.26 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008485/0.9561, allocations: 283.8 kB / 0.9672 GB, free: 12.18 MB / 0.7325 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001071/0.9572, allocations: 499.6 kB / 0.9677 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001284/0.9573, allocations: 41.23 kB / 0.9677 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/0.9573, allocations: 0 / 0.9677 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.854e-06/0.9573, allocations: 1.344 kB / 0.9677 GB, free: 11.84 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004524/0.9578, allocations: 0.5409 MB / 0.9682 GB, free: 11.29 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004422/0.9582, allocations: 249.3 kB / 0.9685 GB, free: 11.06 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003422/0.9586, allocations: 0.6858 MB / 0.9691 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.443e-05/0.9586, allocations: 1.281 kB / 0.9691 GB, free: 10.36 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.339e-05/0.9586, allocations: 8.75 kB / 0.9691 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of SimCode: time 2.11e-07/0.9586, allocations: 3.875 kB / 0.9691 GB, free: 10.35 MB / 0.7325 GB Notification: Performance of Templates: time 0.01107/0.9697, allocations: 5.407 MB / 0.9744 GB, free: 7.59 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTubeNegative.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTubeNegative.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches