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.001373/0.001373, allocations: 71.75 kB / 20.97 MB, free: 3.578 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.001595/0.001595, allocations: 169 kB / 24.28 MB, free: 276 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.9417/0.9417, allocations: 177.1 MB / 204.6 MB, free: 5.617 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.744/1.744, allocations: 359 MB / 0.6055 GB, free: 11.03 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 1.463e-06/1.463e-06, allocations: 0 / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.249e-05/2.396e-05, allocations: 2.312 kB / 0.7871 GB, free: 12.81 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001316/0.00134, allocations: 0.5676 MB / 0.7877 GB, free: 12.26 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0001846/0.001524, allocations: 107.7 kB / 0.7878 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.69e-05/0.001551, allocations: 0.9062 kB / 0.7878 GB, free: 12.15 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 9.597e-05/0.001647, allocations: 11.88 kB / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.003e-05/0.001697, allocations: 0 / 0.7878 GB, free: 12.14 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001102/0.001807, allocations: 38.5 kB / 0.7878 GB, free: 12.11 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 8.354e-05/0.001891, allocations: 23.98 kB / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.67e-05/0.001928, allocations: 0 / 0.7878 GB, free: 12.08 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 3.777e-05/0.001965, allocations: 20.55 kB / 0.7879 GB, free: 12.06 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 5.618e-05/0.002022, allocations: 15.97 kB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 1.54e-05/0.002037, allocations: 0.6875 kB / 0.7879 GB, free: 12.05 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 3.53e-05/0.002072, allocations: 11.94 kB / 0.7879 GB, free: 12.04 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.173e-05/0.002084, allocations: 8.781 kB / 0.7879 GB, free: 12.03 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 2.683e-05/0.002111, allocations: 12 kB / 0.7879 GB, free: 12.02 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 9.783e-05/0.002209, allocations: 36.59 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.002211, allocations: 0 / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of FrontEnd: time 8.81e-07/0.002212, allocations: 1.594 kB / 0.7879 GB, free: 11.98 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 3.417e-06/0.002215, allocations: 0 / 0.7879 GB, free: 11.98 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.0002746/0.00249, allocations: 378.1 kB / 0.7883 GB, free: 11.57 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 3.58e-05/0.002526, allocations: 8.031 kB / 0.7883 GB, free: 11.56 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.044e-05/0.002566, allocations: 16.38 kB / 0.7883 GB, free: 11.55 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.234e-05/0.002648, allocations: 104.6 kB / 0.7884 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.179e-05/0.00266, allocations: 4.375 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.163e-05/0.002672, allocations: 4.375 kB / 0.7884 GB, free: 11.41 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001068/0.002779, allocations: 88.47 kB / 0.7885 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.899e-06/0.002783, allocations: 192 / 0.7885 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.027e-05/0.002794, allocations: 384 / 0.7885 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.0028, allocations: 384 / 0.7885 GB, free: 11.31 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.299e-05/0.002833, allocations: 50.19 kB / 0.7886 GB, free: 11.26 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.854e-05/0.002921, allocations: 104.6 kB / 0.7887 GB, free: 11.12 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 5.453e-05/0.002976, allocations: 69.38 kB / 0.7887 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.139e-05/0.003007, allocations: 47.09 kB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.358e-06/0.003011, allocations: 3.938 kB / 0.7888 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.073e-05/0.003032, allocations: 37.39 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 6.91e-07/0.003033, allocations: 3.938 kB / 0.7888 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0001893/0.003222, allocations: 163.9 kB / 0.789 GB, free: 10.74 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.003256, allocations: 81.09 kB / 0.7891 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.389e-05/0.00333, allocations: 159.2 kB / 0.7892 GB, free: 10.47 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.147e-05/0.003342, allocations: 25.7 kB / 0.7892 GB, free: 10.44 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.003371, allocations: 131.4 kB / 0.7894 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.044e-05/0.003392, allocations: 7.891 kB / 0.7894 GB, free: 10.3 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.971e-05/0.003421, allocations: 28.47 kB / 0.7894 GB, free: 10.27 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 9.928e-05/0.003521, allocations: 0.4884 MB / 0.7899 GB, free: 9.766 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.938e-05/0.00355, allocations: 37.7 kB / 0.7899 GB, free: 9.723 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.553e-05/0.003576, allocations: 38.5 kB / 0.7899 GB, free: 9.68 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.343e-05/0.003629, allocations: 84.14 kB / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.00363, allocations: 0 / 0.79 GB, free: 9.582 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 9.28e-05/0.003723, allocations: 126.5 kB / 0.7901 GB, free: 9.441 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 2.419e-05/0.003747, allocations: 33.7 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.687e-06/0.003751, allocations: 0 / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.003762, allocations: 0 / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.31e-07/0.003762, allocations: 0.5625 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.003767, allocations: 0.5625 kB / 0.7902 GB, free: 9.402 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.138e-05/0.003838, allocations: 11.92 kB / 0.7902 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.003846, allocations: 5.375 kB / 0.7902 GB, free: 9.387 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 6.755e-05/0.003914, allocations: 186.3 kB / 0.7904 GB, free: 9.188 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.121e-05/0.003925, allocations: 8 kB / 0.7904 GB, free: 9.18 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.115e-05/0.003936, allocations: 3.844 kB / 0.7904 GB, free: 9.176 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.003939, allocations: 3.984 kB / 0.7904 GB, free: 9.172 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.585e-06/0.003941, allocations: 5.906 kB / 0.7904 GB, free: 9.168 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.138e-06/0.003945, allocations: 7.922 kB / 0.7904 GB, free: 9.16 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.252e-05/0.003998, allocations: 112.6 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.62e-07/0.003999, allocations: 0 / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.1e-07/0.003999, allocations: 0 / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.242e-06/0.004, allocations: 0.625 kB / 0.7905 GB, free: 9.016 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.518e-06/0.00401, allocations: 8 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.61e-07/0.004011, allocations: 0.7188 kB / 0.7905 GB, free: 9.008 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.004013, allocations: 3.984 kB / 0.7905 GB, free: 9.004 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001121/0.004125, allocations: 176.9 kB / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.697e-06/0.004129, allocations: 0 / 0.7907 GB, free: 8.797 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.171e-05/0.00414, allocations: 4.594 kB / 0.7907 GB, free: 8.793 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.468e-05/0.004175, allocations: 4 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.59e-05/0.004191, allocations: 0.6562 kB / 0.7907 GB, free: 8.789 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.41e-06/0.004196, allocations: 7.984 kB / 0.7907 GB, free: 8.781 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.695e-05/0.004233, allocations: 124.3 kB / 0.7908 GB, free: 8.66 MB / 0.7448 GB Notification: Performance of sort global known variables: time 6e-08/0.004233, allocations: 4 kB / 0.7908 GB, free: 8.656 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0001289/0.004362, allocations: 17 kB / 0.7908 GB, free: 8.641 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.0001509/0.004513, allocations: 112 kB / 0.791 GB, free: 8.527 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001166/0.00463, allocations: 146.5 kB / 0.7911 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.004631, allocations: 0 / 0.7911 GB, free: 8.355 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 5.331e-05/0.004684, allocations: 100.8 kB / 0.7912 GB, free: 8.234 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001056/0.00479, allocations: 14.77 kB / 0.7912 GB, free: 8.223 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002367/0.005027, allocations: 144.1 kB / 0.7913 GB, free: 8.047 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.741e-05/0.005054, allocations: 55.34 kB / 0.7914 GB, free: 7.973 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 2.063e-05/0.005075, allocations: 4 kB / 0.7914 GB, free: 7.969 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.265e-05/0.005087, allocations: 8.5 kB / 0.7914 GB, free: 7.961 MB / 0.7448 GB Notification: Performance of SimCode: time 6.81e-07/0.005088, allocations: 4 kB / 0.7914 GB, free: 7.957 MB / 0.7448 GB Notification: Performance of Templates: time 0.002436/0.007524, allocations: 1.265 MB / 0.7926 GB, free: 6.738 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.65932084294036]