Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.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.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|Rgb|RCondGro|x|Rgg",fileNamePrefix="Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.264/2.264, allocations: 393.5 MB / 408.4 MB, free: 11.04 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.001148/0.001148, allocations: 178.8 kB / 0.4902 GB, free: 2.242 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.481/1.481, allocations: 223.1 MB / 0.7992 GB, free: 14.7 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.001085/0.001085, allocations: 100.3 kB / 0.9396 GB, free: 1.91 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.0004141/0.000414, allocations: 6.938 kB / 1.09 GB, free: 216.4 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2986/0.299, allocations: 143 MB / 1.229 GB, free: 105.8 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1963/0.4954, allocations: 153.1 MB / 1.379 GB, free: 452 kB / 0.8698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002841/0.4958, allocations: 95.92 kB / 1.379 GB, free: 356 kB / 0.8698 GB Notification: Performance of FrontEnd - DAE generated: time 0.01387/0.5096, allocations: 3.485 MB / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of FrontEnd: time 2.034e-06/0.5097, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 GB Notification: Performance of Transformations before backend: time 7.614e-06/0.5097, allocations: 0 / 1.382 GB, free: 12.83 MB / 0.8855 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.000469/0.5102, allocations: 379 kB / 1.383 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of prepare preOptimizeDAE: time 4.146e-05/0.5102, allocations: 8.031 kB / 1.383 GB, free: 12.41 MB / 0.8855 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.723e-05/0.5103, allocations: 79.28 kB / 1.383 GB, free: 12.33 MB / 0.8855 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002505/0.5106, allocations: 272 kB / 1.383 GB, free: 12.02 MB / 0.8855 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/0.5106, allocations: 158.5 kB / 1.383 GB, free: 11.87 MB / 0.8855 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.818e-05/0.5107, allocations: 150.8 kB / 1.383 GB, free: 11.72 MB / 0.8855 GB Notification: Performance of preOpt clockPartitioning (simulation): time 6.38e-05/0.5108, allocations: 101 kB / 1.383 GB, free: 11.61 MB / 0.8855 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.823e-05/0.5108, allocations: 83.22 kB / 1.383 GB, free: 11.53 MB / 0.8855 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.598e-05/0.5109, allocations: 154.6 kB / 1.384 GB, free: 11.38 MB / 0.8855 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.152e-05/0.5109, allocations: 154.6 kB / 1.384 GB, free: 11.23 MB / 0.8855 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.452e-05/0.511, allocations: 150.6 kB / 1.384 GB, free: 11.08 MB / 0.8855 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000315/0.5113, allocations: 477.7 kB / 1.384 GB, free: 10.56 MB / 0.8855 GB Notification: Performance of preOpt comSubExp (simulation): time 8.933e-05/0.5114, allocations: 177.1 kB / 1.384 GB, free: 10.38 MB / 0.8855 GB Notification: Performance of preOpt evalFunc (simulation): time 3.293e-05/0.5114, allocations: 75.28 kB / 1.385 GB, free: 10.3 MB / 0.8855 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.077e-05/0.5115, allocations: 105.8 kB / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of pre-optimization done (n=0): time 1.332e-06/0.5115, allocations: 0 / 1.385 GB, free: 10.19 MB / 0.8855 GB Notification: Performance of matching and sorting (n=0): time 8.202e-05/0.5116, allocations: 33.64 kB / 1.385 GB, free: 10.15 MB / 0.8855 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.668e-05/0.5116, allocations: 126.7 kB / 1.385 GB, free: 10.02 MB / 0.8855 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001233/0.5118, allocations: 129.1 kB / 1.385 GB, free: 9.879 MB / 0.8855 GB Notification: Performance of collectPreVariables (initialization): time 1.185e-05/0.5118, allocations: 25.7 kB / 1.385 GB, free: 9.848 MB / 0.8855 GB Notification: Performance of collectInitialEqns (initialization): time 5.82e-05/0.5119, allocations: 92.12 kB / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of collectInitialBindings (initialization): time 2.354e-06/0.5119, allocations: 0 / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.655e-06/0.5119, allocations: 0 / 1.385 GB, free: 9.754 MB / 0.8855 GB Notification: Performance of setup shared object (initialization): time 0.0001101/0.512, allocations: 318.8 kB / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.967e-05/0.512, allocations: 0 / 1.385 GB, free: 9.434 MB / 0.8855 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.6e-05/0.512, allocations: 8 kB / 1.385 GB, free: 9.426 MB / 0.8855 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.9e-05/0.5121, allocations: 11.94 kB / 1.385 GB, free: 9.414 MB / 0.8855 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.5121, allocations: 4.031 kB / 1.385 GB, free: 9.41 MB / 0.8855 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001227/0.5122, allocations: 41.7 kB / 1.385 GB, free: 9.363 MB / 0.8855 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.5122, allocations: 9.031 kB / 1.385 GB, free: 9.355 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.598e-05/0.5123, allocations: 4 kB / 1.385 GB, free: 9.352 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.453e-05/0.5123, allocations: 3.938 kB / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.453e-06/0.5123, allocations: 0 / 1.385 GB, free: 9.348 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.017e-06/0.5123, allocations: 3.984 kB / 1.385 GB, free: 9.344 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.705e-05/0.5123, allocations: 7.891 kB / 1.385 GB, free: 9.336 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.124e-06/0.5124, allocations: 4 kB / 1.385 GB, free: 9.332 MB / 0.8855 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 9.876e-05/0.5125, allocations: 190 kB / 1.386 GB, free: 9.137 MB / 0.8855 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.45e-05/0.5125, allocations: 109 kB / 1.386 GB, free: 9.023 MB / 0.8855 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.184e-05/0.5126, allocations: 116.6 kB / 1.386 GB, free: 8.906 MB / 0.8855 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.903e-05/0.5126, allocations: 184.2 kB / 1.386 GB, free: 8.719 MB / 0.8855 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.037e-05/0.5127, allocations: 176.3 kB / 1.386 GB, free: 8.539 MB / 0.8855 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.433e-05/0.5128, allocations: 180.2 kB / 1.386 GB, free: 8.355 MB / 0.8855 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002282/0.513, allocations: 417.2 kB / 1.387 GB, free: 7.891 MB / 0.8855 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.482e-05/0.5131, allocations: 112.8 kB / 1.387 GB, free: 7.773 MB / 0.8855 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.357e-05/0.5131, allocations: 105 kB / 1.387 GB, free: 7.664 MB / 0.8855 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.239e-05/0.5132, allocations: 180.3 kB / 1.387 GB, free: 7.48 MB / 0.8855 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.154e-05/0.5132, allocations: 180.2 kB / 1.387 GB, free: 7.297 MB / 0.8855 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.605e-05/0.5133, allocations: 180.3 kB / 1.387 GB, free: 7.113 MB / 0.8855 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.384e-05/0.5134, allocations: 184.2 kB / 1.388 GB, free: 6.926 MB / 0.8855 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001377/0.5135, allocations: 307.7 kB / 1.388 GB, free: 6.602 MB / 0.8855 GB Notification: Performance of postOpt removeConstants (simulation): time 8.051e-05/0.5136, allocations: 189.9 kB / 1.388 GB, free: 6.391 MB / 0.8855 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.42e-05/0.5137, allocations: 180.3 kB / 1.388 GB, free: 6.207 MB / 0.8855 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.96e-05/0.5138, allocations: 116.9 kB / 1.388 GB, free: 6.086 MB / 0.8855 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.168e-05/0.5138, allocations: 180.6 kB / 1.389 GB, free: 5.902 MB / 0.8855 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.805e-05/0.5139, allocations: 101 kB / 1.389 GB, free: 5.797 MB / 0.8855 GB Notification: Performance of sorting global known variables: time 6.648e-05/0.5139, allocations: 100.2 kB / 1.389 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of sort global known variables: time 2.064e-06/0.5139, allocations: 0 / 1.389 GB, free: 5.699 MB / 0.8855 GB Notification: Performance of remove unused functions: time 0.000304/0.5143, allocations: 51.86 kB / 1.389 GB, free: 5.648 MB / 0.8855 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.0003334/0.5146, allocations: 226.4 kB / 1.389 GB, free: 5.414 MB / 0.8855 GB Notification: Performance of simCode: created initialization part: time 9.231e-05/0.5147, allocations: 41.7 kB / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of simCode: created event and clocks part: time 2.264e-06/0.5147, allocations: 0 / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of simCode: created simulation system equations: time 2.595e-06/0.5147, allocations: 0 / 1.389 GB, free: 5.367 MB / 0.8855 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003979/0.5151, allocations: 0.5328 MB / 1.39 GB, free: 4.832 MB / 0.8855 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003226/0.5155, allocations: 239.7 kB / 1.39 GB, free: 4.57 MB / 0.8855 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000229/0.5157, allocations: 0.6926 MB / 1.39 GB, free: 3.852 MB / 0.8855 GB Notification: Performance of simCode: alias equations: time 2.511e-05/0.5157, allocations: 3.984 kB / 1.391 GB, free: 3.848 MB / 0.8855 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.454e-05/0.5157, allocations: 11.44 kB / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of SimCode: time 3.71e-07/0.5158, allocations: 0 / 1.391 GB, free: 3.84 MB / 0.8855 GB Notification: Performance of Templates: time 0.003948/0.5197, allocations: 1.291 MB / 1.392 GB, free: 2.586 MB / 0.8855 GB make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.makefile (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.pipe 2>&1) diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_SingleUTubeResistances.csv","../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.SingleUTubeResistances.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches