Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") translateModel(Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|TWal.T|TPip1.T|TPip2.T|intRes1UTub.capFil1.T|intRes1UTub.capFil2.T",fileNamePrefix="Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.267/2.267, allocations: 387.1 MB / 399.7 MB, free: 9.566 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.001076/0.001075, allocations: 180.9 kB / 492.3 MB, free: 0.625 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.468/1.468, allocations: 221.3 MB / 0.7871 GB, free: 12.89 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.0008737/0.0008737, allocations: 93.84 kB / 0.9267 GB, free: 13.94 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.226e-05/3.23e-05, allocations: 0 / 1.073 GB, free: 180.4 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2931/0.2931, allocations: 142.4 MB / 1.212 GB, free: 38.47 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9557/1.249, allocations: 157.8 MB / 1.367 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002751/1.249, allocations: 106.7 kB / 1.367 GB, free: 19.05 MB / 0.823 GB Notification: Performance of FrontEnd - DAE generated: time 0.04412/1.293, allocations: 18.23 MB / 1.384 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of FrontEnd: time 1.442e-06/1.293, allocations: 0 / 1.384 GB, free: 31.5 MB / 0.8386 GB Notification: Performance of Transformations before backend: time 2.535e-05/1.293, allocations: 7.688 kB / 1.384 GB, free: 31.5 MB / 0.8386 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 52 * Number of variables: 52 Notification: Performance of Generate backend data structure: time 0.0008678/1.294, allocations: 0.5758 MB / 1.385 GB, free: 31 MB / 0.8386 GB Notification: Performance of prepare preOptimizeDAE: time 4.346e-05/1.294, allocations: 19.5 kB / 1.385 GB, free: 30.99 MB / 0.8386 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001138/1.294, allocations: 43.2 kB / 1.385 GB, free: 30.97 MB / 0.8386 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005131/1.295, allocations: 352.4 kB / 1.385 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.975e-05/1.295, allocations: 14 kB / 1.385 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.218e-05/1.295, allocations: 23.81 kB / 1.385 GB, free: 30.7 MB / 0.8386 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003113/1.295, allocations: 180.7 kB / 1.386 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.544e-05/1.295, allocations: 0 / 1.386 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.297e-05/1.295, allocations: 10.66 kB / 1.386 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.652e-06/1.295, allocations: 3.812 kB / 1.386 GB, free: 30.65 MB / 0.8386 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002264/1.296, allocations: 144.5 kB / 1.386 GB, free: 30.63 MB / 0.8386 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001117/1.297, allocations: 0.8742 MB / 1.387 GB, free: 30.07 MB / 0.8386 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/1.297, allocations: 136.7 kB / 1.387 GB, free: 30.04 MB / 0.8386 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001192/1.297, allocations: 100.7 kB / 1.387 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of preOpt evalFunc (simulation): time 1.483e-05/1.297, allocations: 3.844 kB / 1.387 GB, free: 30.03 MB / 0.8386 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.989e-05/1.297, allocations: 34.56 kB / 1.387 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of pre-optimization done (n=18): time 1.884e-06/1.297, allocations: 0 / 1.387 GB, free: 29.98 MB / 0.8386 GB Notification: Performance of matching and sorting (n=18): time 0.0003078/1.298, allocations: 168.8 kB / 1.387 GB, free: 29.93 MB / 0.8386 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.153e-05/1.298, allocations: 51.41 kB / 1.387 GB, free: 29.86 MB / 0.8386 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003827/1.298, allocations: 372.9 kB / 1.387 GB, free: 29.73 MB / 0.8386 GB Notification: Performance of collectPreVariables (initialization): time 1.521e-05/1.298, allocations: 25.7 kB / 1.387 GB, free: 29.7 MB / 0.8386 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001176/1.298, allocations: 208.8 kB / 1.388 GB, free: 29.58 MB / 0.8386 GB Notification: Performance of collectInitialBindings (initialization): time 4.965e-05/1.298, allocations: 69.17 kB / 1.388 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.085e-06/1.298, allocations: 6.438 kB / 1.388 GB, free: 29.53 MB / 0.8386 GB Notification: Performance of setup shared object (initialization): time 0.0001222/1.298, allocations: 347.8 kB / 1.388 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.201e-05/1.298, allocations: 43.5 kB / 1.388 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.238e-05/1.298, allocations: 44.48 kB / 1.388 GB, free: 29.2 MB / 0.8386 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.164e-05/1.299, allocations: 58.39 kB / 1.388 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/1.299, allocations: 0 / 1.388 GB, free: 29.19 MB / 0.8386 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002338/1.299, allocations: 185.2 kB / 1.388 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/1.299, allocations: 8.5 kB / 1.388 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.131e-06/1.299, allocations: 0 / 1.388 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.608e-05/1.299, allocations: 4 kB / 1.388 GB, free: 29.12 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002509/1.299, allocations: 57.72 kB / 1.388 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.458e-06/1.299, allocations: 0 / 1.388 GB, free: 29.11 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001798/1.299, allocations: 26.36 kB / 1.388 GB, free: 29.1 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.399e-05/1.299, allocations: 3.844 kB / 1.388 GB, free: 29.1 MB / 0.8386 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 (20): * Single equations (assignments): 20 * 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 prepare postOptimizeDAE: time 8.395e-05/1.299, allocations: 119.6 kB / 1.389 GB, free: 28.98 MB / 0.8386 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.982e-05/1.299, allocations: 34.69 kB / 1.389 GB, free: 28.96 MB / 0.8386 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.237e-05/1.3, allocations: 41.27 kB / 1.389 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.967e-06/1.3, allocations: 4 kB / 1.389 GB, free: 28.95 MB / 0.8386 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.733e-06/1.3, allocations: 7.719 kB / 1.389 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/1.3, allocations: 0 / 1.389 GB, free: 28.94 MB / 0.8386 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003685/1.3, allocations: 378.2 kB / 1.389 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/1.3, allocations: 0 / 1.389 GB, free: 28.68 MB / 0.8386 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002385/1.3, allocations: 57.23 kB / 1.389 GB, free: 28.67 MB / 0.8386 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/1.3, allocations: 7.844 kB / 1.389 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.493e-05/1.3, allocations: 2.938 kB / 1.389 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.204e-06/1.3, allocations: 0 / 1.389 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.192e-06/1.3, allocations: 0 / 1.389 GB, free: 28.66 MB / 0.8386 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003671/1.301, allocations: 346.4 kB / 1.389 GB, free: 28.5 MB / 0.8386 GB Notification: Performance of postOpt removeConstants (simulation): time 8.71e-05/1.301, allocations: 119.9 kB / 1.39 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.003e-05/1.301, allocations: 3.375 kB / 1.39 GB, free: 28.38 MB / 0.8386 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001695/1.301, allocations: 18.92 kB / 1.39 GB, free: 28.37 MB / 0.8386 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.22e-05/1.301, allocations: 11.48 kB / 1.39 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.018e-05/1.301, allocations: 7.438 kB / 1.39 GB, free: 28.36 MB / 0.8386 GB Notification: Performance of sorting global known variables: time 0.0002882/1.301, allocations: 295.2 kB / 1.39 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of sort global known variables: time 1.61e-07/1.301, allocations: 0 / 1.39 GB, free: 28.26 MB / 0.8386 GB Notification: Performance of remove unused functions: time 0.0003505/1.302, allocations: 80.22 kB / 1.39 GB, free: 28.25 MB / 0.8386 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 2 (intRes1UTub.capFil1.T,intRes1UTub.capFil2.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (18): * Single equations (assignments): 18 * 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.0003661/1.302, allocations: 269 kB / 1.39 GB, free: 28.11 MB / 0.8386 GB Notification: Performance of simCode: created initialization part: time 0.0002045/1.302, allocations: 122 kB / 1.39 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/1.302, allocations: 0 / 1.39 GB, free: 28.1 MB / 0.8386 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/1.302, allocations: 72.94 kB / 1.39 GB, free: 28.09 MB / 0.8386 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000439/1.303, allocations: 80.98 kB / 1.39 GB, free: 28.07 MB / 0.8386 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008874/1.304, allocations: 0.5295 MB / 1.391 GB, free: 27.77 MB / 0.8386 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003575/1.304, allocations: 0.8026 MB / 1.392 GB, free: 27.01 MB / 0.8386 GB Notification: Performance of simCode: alias equations: time 0.0001316/1.304, allocations: 38.08 kB / 1.392 GB, free: 26.99 MB / 0.8386 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.095e-05/1.304, allocations: 30.03 kB / 1.392 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of SimCode: time 5.11e-07/1.304, allocations: 0 / 1.392 GB, free: 26.98 MB / 0.8386 GB Notification: Performance of Templates: time 0.009326/1.314, allocations: 5.525 MB / 1.397 GB, free: 24.28 MB / 0.8386 GB make -j1 -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_9.1.x/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_9_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches