Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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_latest_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_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.512/2.512, allocations: 390.3 MB / 402.8 MB, free: 6.715 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00122/0.00122, allocations: 176.9 kB / 496.1 MB, free: 12.88 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.588/1.588, allocations: 221.3 MB / 0.7915 GB, free: 5.43 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001133/0.001133, allocations: 84.02 kB / 0.9317 GB, free: 5.75 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.327e-05/3.33e-05, allocations: 4 kB / 1.079 GB, free: 140.5 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2808/0.2808, allocations: 143 MB / 1.219 GB, free: 13.5 MB / 0.7448 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9309/1.212, allocations: 170.2 MB / 1.385 GB, free: 15.96 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/1.212, allocations: 119.8 kB / 1.385 GB, free: 15.88 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.04331/1.255, allocations: 15.07 MB / 1.4 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.323e-06/1.256, allocations: 0 / 1.4 GB, free: 2.746 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.702e-06/1.256, allocations: 0 / 1.4 GB, free: 2.746 MB / 0.8542 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.0008782/1.256, allocations: 0.5447 MB / 1.4 GB, free: 2.164 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.479e-05/1.256, allocations: 12.03 kB / 1.4 GB, free: 2.152 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.723e-05/1.257, allocations: 83.14 kB / 1.401 GB, free: 2.07 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001443/1.257, allocations: 250.2 kB / 1.401 GB, free: 1.785 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.533e-05/1.257, allocations: 150.6 kB / 1.401 GB, free: 1.637 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.138e-05/1.257, allocations: 150.6 kB / 1.401 GB, free: 1.488 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.112e-05/1.257, allocations: 107.7 kB / 1.401 GB, free: 1.379 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.882e-05/1.257, allocations: 87.27 kB / 1.401 GB, free: 1.293 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.355e-05/1.257, allocations: 150.6 kB / 1.401 GB, free: 1.145 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.671e-05/1.257, allocations: 150.6 kB / 1.402 GB, free: 0.9961 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.368e-05/1.257, allocations: 158.5 kB / 1.402 GB, free: 0.8398 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003063/1.257, allocations: 461.8 kB / 1.402 GB, free: 356 kB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 8.855e-05/1.257, allocations: 173.1 kB / 1.402 GB, free: 172 kB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.663e-05/1.258, allocations: 87.64 kB / 1.402 GB, free: 84 kB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/1.258, allocations: 75.28 kB / 1.402 GB, free: 8 kB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.132e-05/1.258, allocations: 109.8 kB / 1.403 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of pre-optimization done (n=0): time 9.62e-07/1.258, allocations: 4 kB / 1.403 GB, free: 15.89 MB / 0.8698 GB Notification: Performance of matching and sorting (n=0): time 7.602e-05/1.258, allocations: 33.61 kB / 1.403 GB, free: 15.85 MB / 0.8698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.479e-05/1.258, allocations: 126.7 kB / 1.403 GB, free: 15.71 MB / 0.8698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001216/1.258, allocations: 123.7 kB / 1.403 GB, free: 15.59 MB / 0.8698 GB Notification: Performance of collectPreVariables (initialization): time 1.522e-05/1.258, allocations: 25.7 kB / 1.403 GB, free: 15.56 MB / 0.8698 GB Notification: Performance of collectInitialEqns (initialization): time 5.851e-05/1.258, allocations: 94.86 kB / 1.403 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of collectInitialBindings (initialization): time 2.535e-06/1.258, allocations: 0 / 1.403 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/1.258, allocations: 0 / 1.403 GB, free: 15.47 MB / 0.8698 GB Notification: Performance of setup shared object (initialization): time 0.0001185/1.258, allocations: 322.8 kB / 1.403 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.624e-05/1.258, allocations: 7.688 kB / 1.403 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.287e-05/1.258, allocations: 4 kB / 1.403 GB, free: 15.14 MB / 0.8698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.674e-05/1.258, allocations: 4 kB / 1.403 GB, free: 15.13 MB / 0.8698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/1.258, allocations: 7.922 kB / 1.403 GB, free: 15.12 MB / 0.8698 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001112/1.258, allocations: 43.98 kB / 1.403 GB, free: 15.08 MB / 0.8698 GB Notification: Performance of prepare postOptimizeDAE: time 1.684e-05/1.258, allocations: 5.562 kB / 1.403 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.845e-05/1.258, allocations: 4 kB / 1.403 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.371e-05/1.258, allocations: 0 / 1.403 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.123e-06/1.258, allocations: 0 / 1.403 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.54e-06/1.258, allocations: 4.062 kB / 1.403 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.905e-05/1.258, allocations: 0 / 1.403 GB, free: 15.07 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.283e-05/1.258, allocations: 7.984 kB / 1.403 GB, free: 15.06 MB / 0.8698 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 () * 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 9.094e-05/1.259, allocations: 187.2 kB / 1.403 GB, free: 14.87 MB / 0.8698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.16e-05/1.259, allocations: 108.9 kB / 1.404 GB, free: 14.76 MB / 0.8698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.925e-05/1.259, allocations: 104.6 kB / 1.404 GB, free: 14.64 MB / 0.8698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-05/1.259, allocations: 180.3 kB / 1.404 GB, free: 14.46 MB / 0.8698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-05/1.259, allocations: 196.1 kB / 1.404 GB, free: 14.26 MB / 0.8698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.354e-05/1.259, allocations: 180.2 kB / 1.404 GB, free: 14.08 MB / 0.8698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002263/1.259, allocations: 412.4 kB / 1.405 GB, free: 13.62 MB / 0.8698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.268e-05/1.259, allocations: 104.6 kB / 1.405 GB, free: 13.52 MB / 0.8698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.739e-05/1.259, allocations: 104.9 kB / 1.405 GB, free: 13.41 MB / 0.8698 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.527e-05/1.259, allocations: 184.2 kB / 1.405 GB, free: 13.22 MB / 0.8698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.931e-05/1.259, allocations: 184.2 kB / 1.405 GB, free: 13.03 MB / 0.8698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.015e-05/1.259, allocations: 176.3 kB / 1.405 GB, free: 12.85 MB / 0.8698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.291e-05/1.26, allocations: 176.3 kB / 1.406 GB, free: 12.67 MB / 0.8698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001381/1.26, allocations: 314.6 kB / 1.406 GB, free: 12.34 MB / 0.8698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-05/1.26, allocations: 189.9 kB / 1.406 GB, free: 12.13 MB / 0.8698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.238e-05/1.26, allocations: 179.9 kB / 1.406 GB, free: 11.95 MB / 0.8698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.055e-05/1.26, allocations: 101.9 kB / 1.406 GB, free: 11.85 MB / 0.8698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.856e-05/1.26, allocations: 188.2 kB / 1.406 GB, free: 11.66 MB / 0.8698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.68e-05/1.26, allocations: 104.9 kB / 1.407 GB, free: 11.55 MB / 0.8698 GB Notification: Performance of sorting global known variables: time 5.84e-05/1.26, allocations: 99.97 kB / 1.407 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of sort global known variables: time 1.3e-07/1.26, allocations: 0 / 1.407 GB, free: 11.46 MB / 0.8698 GB Notification: Performance of remove unused functions: time 0.0009183/1.261, allocations: 322 kB / 1.407 GB, free: 11.15 MB / 0.8698 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 () * 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.0009926/1.262, allocations: 0.55 MB / 1.407 GB, free: 10.6 MB / 0.8698 GB Notification: Performance of simCode: created initialization part: time 9.676e-05/1.262, allocations: 38.03 kB / 1.408 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.262, allocations: 0 / 1.408 GB, free: 10.56 MB / 0.8698 GB Notification: Performance of simCode: created simulation system equations: time 4.739e-06/1.262, allocations: 6.938 kB / 1.408 GB, free: 10.55 MB / 0.8698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003343/1.263, allocations: 0.5303 MB / 1.408 GB, free: 10.02 MB / 0.8698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001996/1.263, allocations: 144.1 kB / 1.408 GB, free: 9.859 MB / 0.8698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002669/1.263, allocations: 0.6848 MB / 1.409 GB, free: 9.148 MB / 0.8698 GB Notification: Performance of simCode: alias equations: time 1.448e-05/1.263, allocations: 4 kB / 1.409 GB, free: 9.145 MB / 0.8698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.118e-05/1.263, allocations: 7.438 kB / 1.409 GB, free: 9.137 MB / 0.8698 GB Notification: Performance of SimCode: time 2.41e-07/1.263, allocations: 4 kB / 1.409 GB, free: 9.133 MB / 0.8698 GB Notification: Performance of Templates: time 0.008415/1.271, allocations: 5.169 MB / 1.414 GB, free: 4.027 MB / 0.8698 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Functions_Validation_InternalResistancesOneUTube.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Functions.Validation.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches