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.InternalResistancesOneUTube.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.InternalResistancesOneUTube,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.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube,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.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009712/0.0009711, allocations: 99.86 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.000941/0.000941, allocations: 177.3 kB / 15.94 MB, free: 228 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.405/1.405, allocations: 223.2 MB / 239.9 MB, free: 5.43 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.392/2.392, allocations: 390.3 MB / 0.6653 GB, free: 2.945 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003698/0.0003698, allocations: 12 kB / 0.8146 GB, free: 14.17 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8816/0.882, allocations: 142.3 MB / 0.9536 GB, free: 8.152 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube): time 0.001538/0.8836, allocations: 1.114 MB / 0.9547 GB, free: 7.266 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.003803/0.8874, allocations: 2.548 MB / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.57e-05/0.8874, allocations: 0 / 0.9571 GB, free: 5.289 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 1.938e-05/0.8875, allocations: 3.938 kB / 0.9571 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.207e-05/0.8876, allocations: 14.28 kB / 0.9572 GB, free: 5.273 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003611/0.8912, allocations: 1.213 MB / 0.9583 GB, free: 4.449 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 9.621e-05/0.8913, allocations: 29.69 kB / 0.9584 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 5.259e-05/0.8913, allocations: 1.375 kB / 0.9584 GB, free: 4.434 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 3.304e-05/0.8914, allocations: 16.19 kB / 0.9584 GB, free: 4.426 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.776e-05/0.8914, allocations: 18.73 kB / 0.9584 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.246e-05/0.8914, allocations: 1.375 kB / 0.9584 GB, free: 4.414 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002078/0.8935, allocations: 1.163 MB / 0.9595 GB, free: 3.797 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.371e-05/0.8936, allocations: 5.312 kB / 0.9595 GB, free: 3.793 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 3.245e-05/0.8936, allocations: 28.45 kB / 0.9596 GB, free: 3.762 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001187/0.8948, allocations: 0.6994 MB / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 3.407e-06/0.8948, allocations: 0 / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.495e-06/0.8948, allocations: 0 / 0.9603 GB, free: 3.41 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.22e-06/0.8948, allocations: 0.7188 kB / 0.9603 GB, free: 3.41 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.0005454/0.8954, allocations: 0.5084 MB / 0.9608 GB, free: 2.91 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.282e-05/0.8954, allocations: 12.84 kB / 0.9608 GB, free: 2.906 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.052e-05/0.8955, allocations: 89.67 kB / 0.9609 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001203/0.8956, allocations: 243.6 kB / 0.9611 GB, free: 2.547 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.357e-05/0.8956, allocations: 151.5 kB / 0.9612 GB, free: 2.398 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.357e-05/0.8957, allocations: 151.7 kB / 0.9614 GB, free: 2.25 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 4.42e-05/0.8957, allocations: 105 kB / 0.9615 GB, free: 2.141 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.466e-05/0.8958, allocations: 76.56 kB / 0.9615 GB, free: 2.066 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.561e-05/0.8958, allocations: 154.6 kB / 0.9617 GB, free: 1.914 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.438e-05/0.8958, allocations: 154.5 kB / 0.9618 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.289e-05/0.8959, allocations: 163.7 kB / 0.962 GB, free: 1.602 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002121/0.8961, allocations: 457.3 kB / 0.9624 GB, free: 1.113 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 5.938e-05/0.8961, allocations: 182.4 kB / 0.9626 GB, free: 0.9258 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.8962, allocations: 75.28 kB / 0.9627 GB, free: 0.8516 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.894e-05/0.8962, allocations: 107 kB / 0.9628 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.01e-07/0.8962, allocations: 0 / 0.9628 GB, free: 0.7383 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 8.479e-05/0.8963, allocations: 35.98 kB / 0.9628 GB, free: 0.6992 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.684e-05/0.8963, allocations: 127.9 kB / 0.9629 GB, free: 0.5625 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001459/0.8965, allocations: 142.8 kB / 0.9631 GB, free: 444 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.546e-06/0.8965, allocations: 25.7 kB / 0.9631 GB, free: 412 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 3.836e-05/0.8966, allocations: 91.28 kB / 0.9632 GB, free: 320 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.8966, allocations: 3.938 kB / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.8966, allocations: 0 / 0.9632 GB, free: 316 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 8.551e-05/0.8967, allocations: 321.5 kB / 0.9635 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.162e-05/0.8967, allocations: 2.438 kB / 0.9635 GB, free: 15.99 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.77e-05/0.8967, allocations: 6.469 kB / 0.9635 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.796e-05/0.8967, allocations: 4.906 kB / 0.9635 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.8968, allocations: 4.031 kB / 0.9635 GB, free: 15.98 MB / 0.7325 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001232/0.8969, allocations: 55.34 kB / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.537e-05/0.8969, allocations: 4.031 kB / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.111e-05/0.8969, allocations: 2.375 kB / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.23e-05/0.8969, allocations: 1.156 kB / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.897, allocations: 0 / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.352e-06/0.897, allocations: 1.375 kB / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.061e-05/0.897, allocations: 0 / 0.9636 GB, free: 15.93 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.849e-06/0.897, allocations: 5.172 kB / 0.9636 GB, free: 15.93 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.0001069/0.8971, allocations: 190.6 kB / 0.9638 GB, free: 15.73 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.644e-05/0.8972, allocations: 108.5 kB / 0.9639 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.613e-05/0.8973, allocations: 115 kB / 0.964 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.646e-05/0.8974, allocations: 180.3 kB / 0.9641 GB, free: 15.32 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.397e-05/0.8975, allocations: 181.3 kB / 0.9643 GB, free: 15.14 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001022/0.8976, allocations: 181.4 kB / 0.9645 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002704/0.8979, allocations: 415.5 kB / 0.9649 GB, free: 14.5 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.497e-05/0.8979, allocations: 110.3 kB / 0.965 GB, free: 14.39 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.504e-05/0.8979, allocations: 106.3 kB / 0.9651 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-05/0.898, allocations: 180.2 kB / 0.9653 GB, free: 14.09 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.903e-05/0.8981, allocations: 181.6 kB / 0.9654 GB, free: 13.91 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.762e-05/0.8981, allocations: 181.7 kB / 0.9656 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.183e-05/0.8982, allocations: 185.4 kB / 0.9658 GB, free: 13.54 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000141/0.8984, allocations: 311.8 kB / 0.9661 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 8.116e-05/0.8984, allocations: 184.2 kB / 0.9663 GB, free: 13.01 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.895e-05/0.8985, allocations: 182.3 kB / 0.9664 GB, free: 12.83 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.062e-05/0.8986, allocations: 104.9 kB / 0.9665 GB, free: 12.72 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.538e-05/0.8987, allocations: 181.5 kB / 0.9667 GB, free: 12.54 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.466e-05/0.8988, allocations: 113.8 kB / 0.9668 GB, free: 12.42 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 6.449e-05/0.8988, allocations: 97.39 kB / 0.9669 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.503e-06/0.8988, allocations: 0 / 0.9669 GB, free: 12.34 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001195/0.9, allocations: 275.9 kB / 0.9672 GB, free: 12.26 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.001201/0.9012, allocations: 0.4942 MB / 0.9677 GB, free: 11.95 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.0001124/0.9014, allocations: 36.06 kB / 0.9677 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9014, allocations: 0 / 0.9677 GB, free: 11.92 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 4.448e-06/0.9014, allocations: 5.188 kB / 0.9677 GB, free: 11.91 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003852/0.9018, allocations: 0.5333 MB / 0.9682 GB, free: 11.38 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004353/0.9022, allocations: 255.1 kB / 0.9685 GB, free: 11.14 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002556/0.9025, allocations: 0.6873 MB / 0.9691 GB, free: 10.44 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.765e-05/0.9025, allocations: 7.984 kB / 0.9691 GB, free: 10.43 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.46e-05/0.9025, allocations: 9.719 kB / 0.9691 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of SimCode: time 5.51e-07/0.9025, allocations: 0 / 0.9691 GB, free: 10.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.01027/0.9128, allocations: 5.404 MB / 0.9744 GB, free: 7.668 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches