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.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 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.InternalResistancesTwoUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|Rgg1|Rgg2|RCondGro|x",fileNamePrefix="Buildings_9_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_9_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.001069/0.001069, allocations: 99.16 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.00118/0.00118, 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.441/1.441, allocations: 223.2 MB / 239.9 MB, free: 5.375 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.483/2.483, allocations: 390.3 MB / 0.6653 GB, free: 2.984 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003705/0.0003705, allocations: 12 kB / 0.8146 GB, free: 14.25 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9829/0.9833, allocations: 142.3 MB / 0.9536 GB, free: 8.125 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube): time 0.001847/0.9852, allocations: 1.126 MB / 0.9547 GB, free: 7.23 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.00414/0.9894, allocations: 2.574 MB / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.341e-05/0.9894, allocations: 0 / 0.9572 GB, free: 5.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 2.266e-05/0.9895, allocations: 7.984 kB / 0.9572 GB, free: 5.227 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 7.548e-05/0.9895, allocations: 18.16 kB / 0.9572 GB, free: 5.211 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.003138/0.9927, allocations: 1.243 MB / 0.9584 GB, free: 4.363 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 8.06e-05/0.9928, allocations: 28.36 kB / 0.9585 GB, free: 4.352 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 4.622e-05/0.9928, allocations: 9.766 kB / 0.9585 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 2.274e-05/0.9929, allocations: 11.16 kB / 0.9585 GB, free: 4.34 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 3.079e-05/0.9929, allocations: 15.12 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 1.013e-05/0.9929, allocations: 1.75 kB / 0.9585 GB, free: 4.332 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001691/0.9946, allocations: 1.195 MB / 0.9597 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 1.422e-05/0.9946, allocations: 9.469 kB / 0.9597 GB, free: 3.691 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 2.426e-05/0.9947, allocations: 29.7 kB / 0.9597 GB, free: 3.66 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.0009871/0.9957, allocations: 0.7191 MB / 0.9604 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.9957, allocations: 0 / 0.9604 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.653e-06/0.9957, allocations: 0 / 0.9604 GB, free: 3.301 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 4.989e-06/0.9957, allocations: 4 kB / 0.9604 GB, free: 3.297 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.0005002/0.9962, allocations: 0.5108 MB / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 3.889e-05/0.9962, allocations: 8.906 kB / 0.9609 GB, free: 2.797 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.53e-05/0.9963, allocations: 85.19 kB / 0.961 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.421e-05/0.9964, allocations: 250.1 kB / 0.9612 GB, free: 2.434 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.555e-05/0.9964, allocations: 155.5 kB / 0.9614 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.205e-05/0.9965, allocations: 159.5 kB / 0.9615 GB, free: 2.125 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 3.725e-05/0.9965, allocations: 106 kB / 0.9616 GB, free: 2.016 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.237e-05/0.9965, allocations: 75.28 kB / 0.9617 GB, free: 1.941 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.401e-05/0.9965, allocations: 162.5 kB / 0.9619 GB, free: 1.781 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.155e-05/0.9966, allocations: 151.6 kB / 0.962 GB, free: 1.633 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.292e-05/0.9966, allocations: 158.5 kB / 0.9621 GB, free: 1.477 MB / 0.7169 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002057/0.9968, allocations: 466.1 kB / 0.9626 GB, free: 0.9805 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 4.575e-05/0.9969, allocations: 170.1 kB / 0.9628 GB, free: 0.8047 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 1.125e-05/0.9969, allocations: 76.25 kB / 0.9628 GB, free: 0.7305 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.136e-05/0.9969, allocations: 106.9 kB / 0.9629 GB, free: 0.6172 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=0): time 7.92e-07/0.9969, allocations: 4 kB / 0.9629 GB, free: 0.6133 MB / 0.7169 GB Notification: Performance of matching and sorting (n=0): time 6.432e-05/0.997, allocations: 36.55 kB / 0.963 GB, free: 0.5742 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.897e-05/0.997, allocations: 130.6 kB / 0.9631 GB, free: 444 kB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001024/0.9971, allocations: 132.5 kB / 0.9632 GB, free: 324 kB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.025e-06/0.9971, allocations: 26.7 kB / 0.9632 GB, free: 292 kB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 2.98e-05/0.9972, allocations: 94.19 kB / 0.9633 GB, free: 196 kB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-06/0.9972, allocations: 0 / 0.9633 GB, free: 196 kB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.485e-06/0.9972, allocations: 0 / 0.9633 GB, free: 196 kB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0001008/0.9973, allocations: 316.9 kB / 0.9636 GB, free: 15.88 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.211e-05/0.9973, allocations: 6.906 kB / 0.9636 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.437e-05/0.9973, allocations: 3.875 kB / 0.9636 GB, free: 15.87 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.988e-05/0.9974, allocations: 12.14 kB / 0.9637 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.9974, allocations: 0.9688 kB / 0.9637 GB, free: 15.86 MB / 0.7325 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001229/0.9975, allocations: 51.39 kB / 0.9637 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.811e-05/0.9975, allocations: 7.438 kB / 0.9637 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.952e-05/0.9976, allocations: 3.156 kB / 0.9637 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.087e-05/0.9976, allocations: 0.7812 kB / 0.9637 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.01e-07/0.9976, allocations: 64 / 0.9637 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.9976, allocations: 4.688 kB / 0.9637 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.324e-05/0.9976, allocations: 4.641 kB / 0.9637 GB, free: 15.81 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.774e-06/0.9976, allocations: 1.5 kB / 0.9637 GB, free: 15.81 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.0001055/0.9977, allocations: 187.8 kB / 0.9639 GB, free: 15.62 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.824e-05/0.9978, allocations: 106.9 kB / 0.964 GB, free: 15.51 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.544e-05/0.9979, allocations: 114.9 kB / 0.9641 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.256e-05/0.9979, allocations: 181.5 kB / 0.9643 GB, free: 15.21 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.593e-05/0.998, allocations: 189.2 kB / 0.9645 GB, free: 15.02 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.518e-05/0.9981, allocations: 177.4 kB / 0.9646 GB, free: 14.84 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002563/0.9984, allocations: 415.2 kB / 0.965 GB, free: 14.38 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-05/0.9984, allocations: 106.3 kB / 0.9651 GB, free: 14.27 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.486e-05/0.9985, allocations: 102.2 kB / 0.9652 GB, free: 14.17 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.852e-05/0.9985, allocations: 189.2 kB / 0.9654 GB, free: 13.98 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.052e-05/0.9986, allocations: 177.6 kB / 0.9656 GB, free: 13.8 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.602e-05/0.9987, allocations: 176.3 kB / 0.9658 GB, free: 13.62 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.667e-05/0.9988, allocations: 189.7 kB / 0.9659 GB, free: 13.43 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000151/0.9989, allocations: 320.9 kB / 0.9662 GB, free: 13.09 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 9.549e-05/0.999, allocations: 183.5 kB / 0.9664 GB, free: 12.89 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.021e-05/0.9991, allocations: 177.6 kB / 0.9666 GB, free: 12.71 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.167e-05/0.9992, allocations: 110.3 kB / 0.9667 GB, free: 12.6 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.726e-05/0.9993, allocations: 181.4 kB / 0.9669 GB, free: 12.41 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.071e-05/0.9993, allocations: 106.1 kB / 0.967 GB, free: 12.3 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 7.973e-05/0.9994, allocations: 103.9 kB / 0.9671 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 1.1e-07/0.9994, allocations: 0 / 0.9671 GB, free: 12.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.0008899/1, allocations: 280.7 kB / 0.9673 GB, free: 12.14 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.0009647/1.001, allocations: 0.492 MB / 0.9678 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 9.159e-05/1.001, allocations: 38.08 kB / 0.9679 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/1.001, allocations: 0 / 0.9679 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 1.834e-06/1.001, allocations: 1.219 kB / 0.9679 GB, free: 11.8 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003794/1.002, allocations: 0.5338 MB / 0.9684 GB, free: 11.26 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003442/1.002, allocations: 266.2 kB / 0.9686 GB, free: 11.02 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002756/1.002, allocations: 0.6869 MB / 0.9693 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 1.426e-05/1.002, allocations: 0 / 0.9693 GB, free: 10.31 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.273e-05/1.002, allocations: 9.031 kB / 0.9693 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of SimCode: time 2.81e-07/1.002, allocations: 1.375 kB / 0.9693 GB, free: 10.3 MB / 0.7325 GB Notification: Performance of Templates: time 0.01072/1.013, allocations: 5.604 MB / 0.9748 GB, free: 7.441 MB / 0.7325 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesTwoUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesTwoUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches