Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001345/0.001345, allocations: 82.64 kB / 20.68 MB, free: 3.816 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001419/0.001419, allocations: 181 kB / 24.09 MB, free: 420 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.8914/0.8914, allocations: 177.1 MB / 204.5 MB, free: 5.492 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.729/1.729, allocations: 359 MB / 0.6055 GB, free: 10.86 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") translateModel(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|y",fileNamePrefix="Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.194e-06/2.194e-06, allocations: 0 / 0.7876 GB, free: 12.16 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.625e-05/2.844e-05, allocations: 6.906 kB / 0.7876 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002043/0.002071, allocations: 0.5627 MB / 0.7881 GB, free: 11.61 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002443/0.002316, allocations: 104.8 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.744e-05/0.002343, allocations: 0 / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001002/0.002443, allocations: 8.719 kB / 0.7882 GB, free: 11.5 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.307e-05/0.002496, allocations: 3.938 kB / 0.7882 GB, free: 11.49 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001482/0.002644, allocations: 33.72 kB / 0.7883 GB, free: 11.46 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.021e-05/0.002725, allocations: 27.97 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.602e-05/0.002761, allocations: 5.531 kB / 0.7883 GB, free: 11.43 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 4.908e-05/0.00281, allocations: 19.98 kB / 0.7883 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.312e-05/0.002873, allocations: 11.97 kB / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.736e-05/0.00289, allocations: 0 / 0.7883 GB, free: 11.4 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 4.196e-05/0.002932, allocations: 17.44 kB / 0.7883 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.246e-05/0.002945, allocations: 0 / 0.7883 GB, free: 11.38 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.637e-05/0.002971, allocations: 11.98 kB / 0.7884 GB, free: 11.37 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001075/0.003079, allocations: 35.89 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.204e-06/0.003081, allocations: 3.125 kB / 0.7884 GB, free: 11.34 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.12e-07/0.003082, allocations: 3.938 kB / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.196e-06/0.003085, allocations: 0 / 0.7884 GB, free: 11.33 MB / 0.7448 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002716/0.003356, allocations: 378.1 kB / 0.7888 GB, free: 10.92 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.685e-05/0.003393, allocations: 8.031 kB / 0.7888 GB, free: 10.91 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.403e-05/0.003427, allocations: 8.938 kB / 0.7888 GB, free: 10.9 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.661e-05/0.003504, allocations: 108.6 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.069e-05/0.003515, allocations: 4.375 kB / 0.7889 GB, free: 10.77 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.103e-05/0.003526, allocations: 5.469 kB / 0.7889 GB, free: 10.76 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.336e-05/0.003619, allocations: 80.55 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.691e-06/0.003625, allocations: 0.7188 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.775e-06/0.003632, allocations: 384 / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.483e-06/0.003639, allocations: 1.094 kB / 0.789 GB, free: 10.67 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.35e-05/0.003672, allocations: 42.12 kB / 0.789 GB, free: 10.62 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.066e-05/0.003763, allocations: 101.2 kB / 0.7891 GB, free: 10.5 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 6.21e-05/0.003825, allocations: 66.31 kB / 0.7892 GB, free: 10.42 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.574e-05/0.003861, allocations: 53.42 kB / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 3.156e-06/0.003864, allocations: 0 / 0.7892 GB, free: 10.36 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.476e-05/0.003889, allocations: 33.39 kB / 0.7893 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 9.52e-07/0.00389, allocations: 0.625 kB / 0.7893 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001969/0.004087, allocations: 167.5 kB / 0.7894 GB, free: 10.12 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.502e-05/0.004122, allocations: 77.11 kB / 0.7895 GB, free: 10.03 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.79e-05/0.0042, allocations: 155.4 kB / 0.7896 GB, free: 9.863 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.004212, allocations: 25.7 kB / 0.7897 GB, free: 9.832 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.16e-05/0.004254, allocations: 131.5 kB / 0.7898 GB, free: 9.699 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.155e-05/0.004275, allocations: 11.88 kB / 0.7898 GB, free: 9.688 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.819e-05/0.004314, allocations: 32.69 kB / 0.7898 GB, free: 9.648 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001327/0.004446, allocations: 0.4883 MB / 0.7903 GB, free: 9.148 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.066e-05/0.004477, allocations: 37.69 kB / 0.7903 GB, free: 9.105 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.089e-05/0.004508, allocations: 43.34 kB / 0.7904 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.803e-05/0.004566, allocations: 79.09 kB / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.733e-06/0.004568, allocations: 0 / 0.7905 GB, free: 8.965 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001094/0.004677, allocations: 127 kB / 0.7906 GB, free: 8.824 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.894e-05/0.004706, allocations: 35.73 kB / 0.7906 GB, free: 8.785 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.581e-06/0.004712, allocations: 3.984 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.004722, allocations: 0 / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.11e-07/0.004723, allocations: 0 / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.734e-06/0.004725, allocations: 0.625 kB / 0.7906 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.732e-05/0.004792, allocations: 4 kB / 0.7906 GB, free: 8.777 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.067e-05/0.004803, allocations: 10.41 kB / 0.7906 GB, free: 8.77 MB / 0.7448 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: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.908e-05/0.004882, allocations: 186.3 kB / 0.7908 GB, free: 8.57 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.562e-05/0.004898, allocations: 8 kB / 0.7908 GB, free: 8.562 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.315e-05/0.004911, allocations: 3.156 kB / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.21e-07/0.004912, allocations: 0 / 0.7908 GB, free: 8.559 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.82e-07/0.004913, allocations: 4 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.843e-06/0.004915, allocations: 1.812 kB / 0.7908 GB, free: 8.555 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.08e-05/0.004975, allocations: 101.2 kB / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.61e-07/0.004976, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.21e-07/0.004976, allocations: 0 / 0.7909 GB, free: 8.43 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.104e-06/0.004978, allocations: 3.984 kB / 0.7909 GB, free: 8.426 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.196e-06/0.004987, allocations: 4.531 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.004987, allocations: 0.5625 kB / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.004988, allocations: 0 / 0.7909 GB, free: 8.422 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001471/0.005135, allocations: 173.3 kB / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 4.659e-06/0.00514, allocations: 0 / 0.7911 GB, free: 8.219 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.667e-05/0.005157, allocations: 4 kB / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.225e-05/0.005199, allocations: 0 / 0.7911 GB, free: 8.215 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.498e-05/0.005214, allocations: 10.17 kB / 0.7911 GB, free: 8.207 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.704e-06/0.005222, allocations: 4 kB / 0.7911 GB, free: 8.203 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.056e-05/0.005262, allocations: 119.2 kB / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8e-08/0.005262, allocations: 0 / 0.7912 GB, free: 8.086 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001929/0.005455, allocations: 12 kB / 0.7912 GB, free: 8.074 MB / 0.7448 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 (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001845/0.00564, allocations: 124.1 kB / 0.7914 GB, free: 7.953 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001298/0.00577, allocations: 143.3 kB / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.383e-06/0.005771, allocations: 0 / 0.7915 GB, free: 7.785 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.289e-05/0.005824, allocations: 105.6 kB / 0.7916 GB, free: 7.66 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001344/0.005958, allocations: 13.56 kB / 0.7916 GB, free: 7.648 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002319/0.00619, allocations: 147.8 kB / 0.7917 GB, free: 7.473 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.938e-05/0.006219, allocations: 51.36 kB / 0.7918 GB, free: 7.402 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.332e-05/0.006243, allocations: 4 kB / 0.7918 GB, free: 7.398 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.742e-05/0.00633, allocations: 94.19 kB / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of SimCode: time 8.81e-07/0.006331, allocations: 0 / 0.7919 GB, free: 7.305 MB / 0.7448 GB Notification: Performance of Templates: time 0.002534/0.008865, allocations: 1.349 MB / 0.7932 GB, free: 5.984 MB / 0.7448 GB " [Timeout remaining time 300] make -j1 -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/maint_11.x/Buildings_Fluid_Geothermal_Boreholes_BaseClasses_Examples_ExchangeValues.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.543999338988215]