Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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_maint.7.0.x_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_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.452/1.452, allocations: 249.5 MB / 257 MB, free: 6.957 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001036/0.001036, allocations: 180.9 kB / 316.3 MB, free: 3.246 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.721/1.721, allocations: 205.3 MB / 0.5671 GB, free: 15.79 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000811/0.0008109, allocations: 98.45 kB / 0.6714 GB, free: 4.898 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.517e-05/2.52e-05, allocations: 4 kB / 0.7814 GB, free: 102.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2262/0.2262, allocations: 106.3 MB / 0.8853 GB, free: 12.21 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7727/0.9989, allocations: 140.5 MB / 1.023 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000304/0.9993, allocations: 113.5 kB / 1.023 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 0.04591/1.045, allocations: 17.75 MB / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of FrontEnd: time 1.954e-06/1.045, allocations: 0 / 1.04 GB, free: 14.7 MB / 0.6667 GB Notification: Performance of Transformations before backend: time 1.152e-05/1.045, allocations: 4 kB / 1.04 GB, free: 14.7 MB / 0.6667 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.0007238/1.046, allocations: 0.5802 MB / 1.041 GB, free: 14.1 MB / 0.6667 GB Notification: Performance of prepare preOptimizeDAE: time 4.223e-05/1.046, allocations: 8.031 kB / 1.041 GB, free: 14.09 MB / 0.6667 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.795e-05/1.046, allocations: 51.73 kB / 1.041 GB, free: 14.04 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004498/1.047, allocations: 350.1 kB / 1.041 GB, free: 13.7 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.697e-05/1.047, allocations: 12 kB / 1.041 GB, free: 13.69 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.991e-05/1.047, allocations: 12 kB / 1.041 GB, free: 13.68 MB / 0.6667 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002449/1.047, allocations: 126.7 kB / 1.041 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003179/1.047, allocations: 148.3 kB / 1.041 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.78e-05/1.047, allocations: 7.891 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.085e-05/1.047, allocations: 0 / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.827e-06/1.047, allocations: 7.953 kB / 1.041 GB, free: 13.48 MB / 0.6667 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001045/1.048, allocations: 0.8136 MB / 1.042 GB, free: 12.77 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002057/1.049, allocations: 135 kB / 1.042 GB, free: 12.67 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001251/1.049, allocations: 87.42 kB / 1.042 GB, free: 12.62 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 1.835e-05/1.049, allocations: 4.219 kB / 1.042 GB, free: 12.61 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.569e-05/1.049, allocations: 34.25 kB / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=18): time 5e-06/1.049, allocations: 7.922 kB / 1.042 GB, free: 12.57 MB / 0.6667 GB Notification: Performance of matching and sorting (n=18): time 0.0003022/1.049, allocations: 158.2 kB / 1.042 GB, free: 12.43 MB / 0.6667 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/1.049, allocations: 58.72 kB / 1.042 GB, free: 12.37 MB / 0.6667 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003761/1.05, allocations: 332.9 kB / 1.043 GB, free: 12.1 MB / 0.6667 GB Notification: Performance of collectPreVariables (initialization): time 1.898e-05/1.05, allocations: 25.7 kB / 1.043 GB, free: 12.07 MB / 0.6667 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001263/1.05, allocations: 199.8 kB / 1.043 GB, free: 11.93 MB / 0.6667 GB Notification: Performance of collectInitialBindings (initialization): time 5.618e-05/1.05, allocations: 64.72 kB / 1.043 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.434e-06/1.05, allocations: 0 / 1.043 GB, free: 11.88 MB / 0.6667 GB Notification: Performance of setup shared object (initialization): time 0.0001238/1.05, allocations: 345 kB / 1.043 GB, free: 11.54 MB / 0.6667 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.526e-05/1.05, allocations: 37.44 kB / 1.043 GB, free: 11.52 MB / 0.6667 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.191e-05/1.05, allocations: 45.56 kB / 1.043 GB, free: 11.5 MB / 0.6667 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.38e-05/1.05, allocations: 51.09 kB / 1.044 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/1.05, allocations: 0 / 1.044 GB, free: 11.47 MB / 0.6667 GB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002129/1.05, allocations: 172 kB / 1.044 GB, free: 11.33 MB / 0.6667 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/1.05, allocations: 8 kB / 1.044 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.019e-06/1.05, allocations: 0 / 1.044 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.838e-05/1.05, allocations: 3.984 kB / 1.044 GB, free: 11.32 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002658/1.051, allocations: 51.97 kB / 1.044 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.779e-06/1.051, allocations: 0 / 1.044 GB, free: 11.27 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001513/1.051, allocations: 27.83 kB / 1.044 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.163e-05/1.051, allocations: 4 kB / 1.044 GB, free: 11.23 MB / 0.6667 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 7.944e-05/1.051, allocations: 112.4 kB / 1.044 GB, free: 11.12 MB / 0.6667 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.414e-05/1.051, allocations: 31.62 kB / 1.044 GB, free: 11.09 MB / 0.6667 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.026e-05/1.051, allocations: 34.25 kB / 1.044 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/1.051, allocations: 0 / 1.044 GB, free: 11.07 MB / 0.6667 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/1.051, allocations: 4 kB / 1.044 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/1.051, allocations: 3.984 kB / 1.044 GB, free: 11.06 MB / 0.6667 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003444/1.051, allocations: 335.2 kB / 1.044 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.252e-06/1.051, allocations: 0 / 1.044 GB, free: 10.76 MB / 0.6667 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002565/1.052, allocations: 55.95 kB / 1.044 GB, free: 10.71 MB / 0.6667 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/1.052, allocations: 3.953 kB / 1.044 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.449e-05/1.052, allocations: 4 kB / 1.044 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/1.052, allocations: 0 / 1.044 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.554e-06/1.052, allocations: 3.938 kB / 1.044 GB, free: 10.7 MB / 0.6667 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003788/1.052, allocations: 325.3 kB / 1.045 GB, free: 10.43 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 9.536e-05/1.052, allocations: 115.8 kB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.159e-05/1.052, allocations: 3.938 kB / 1.045 GB, free: 10.3 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000163/1.052, allocations: 11.98 kB / 1.045 GB, free: 10.29 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.952e-05/1.053, allocations: 15.23 kB / 1.045 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.554e-06/1.053, allocations: 4.062 kB / 1.045 GB, free: 10.27 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0002504/1.053, allocations: 268.3 kB / 1.045 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of sort global known variables: time 3.11e-07/1.053, allocations: 0 / 1.045 GB, free: 10.07 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.0003169/1.053, allocations: 75.78 kB / 1.045 GB, free: 10 MB / 0.6667 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.0004066/1.054, allocations: 270.2 kB / 1.045 GB, free: 9.746 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.0001994/1.054, allocations: 106.3 kB / 1.045 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 1.923e-06/1.054, allocations: 0 / 1.045 GB, free: 9.68 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 8.824e-05/1.054, allocations: 66.92 kB / 1.046 GB, free: 9.633 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004482/1.054, allocations: 62.42 kB / 1.046 GB, free: 9.586 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009736/1.055, allocations: 0.5171 MB / 1.046 GB, free: 9.102 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003628/1.056, allocations: 0.8055 MB / 1.047 GB, free: 8.277 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0001155/1.056, allocations: 31.28 kB / 1.047 GB, free: 8.25 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.391e-05/1.056, allocations: 27.38 kB / 1.047 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of SimCode: time 2.3e-07/1.056, allocations: 0 / 1.047 GB, free: 8.223 MB / 0.6667 GB Notification: Performance of Templates: time 0.007164/1.063, allocations: 3.57 MB / 1.05 GB, free: 4.742 MB / 0.6667 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.pipe 2>&1) diffSimulationResults("Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube_res.mat","/mnt/ReferenceFiles/Buildings/csv/Buildings_Fluid_Geothermal_Borefields_BaseClasses_Boreholes_BaseClasses_Examples_InternalResistancesOneUTube.csv","../files/Buildings_maint.7.0.x_Buildings.Fluid.Geothermal.Borefields.BaseClasses.Boreholes.BaseClasses.Examples.InternalResistancesOneUTube.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches