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.001354/0.001354, allocations: 83.59 kB / 20.45 MB, free: 4.117 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.001479/0.001479, allocations: 169 kB / 23.82 MB, free: 0.7461 MB / 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.8853/0.8853, allocations: 177.1 MB / 204.2 MB, free: 5.645 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.684/1.684, allocations: 359 MB / 0.6052 GB, free: 11 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.603e-06/1.603e-06, allocations: 0 / 0.7871 GB, free: 12.49 MB / 0.7448 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.694e-05/2.854e-05, allocations: 6.25 kB / 0.7871 GB, free: 12.48 MB / 0.7448 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001907/0.001936, allocations: 0.5888 MB / 0.7877 GB, free: 11.91 MB / 0.7448 GB Notification: Performance of NFInst.instExpressions: time 0.0002533/0.002189, allocations: 100.3 kB / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.01e-05/0.002219, allocations: 0 / 0.7878 GB, free: 11.82 MB / 0.7448 GB Notification: Performance of NFTyping.typeComponents: time 0.0001116/0.002331, allocations: 12.53 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeBindings: time 5.696e-05/0.002388, allocations: 1.406 kB / 0.7878 GB, free: 11.8 MB / 0.7448 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001598/0.002547, allocations: 36.75 kB / 0.7878 GB, free: 11.77 MB / 0.7448 GB Notification: Performance of NFFlatten.flatten: time 0.0001009/0.002648, allocations: 23.98 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFFlatten.resolveConnections: time 3.95e-05/0.002688, allocations: 0.5625 kB / 0.7878 GB, free: 11.75 MB / 0.7448 GB Notification: Performance of NFEvalConstants.evaluate: time 5.251e-05/0.00274, allocations: 24.88 kB / 0.7879 GB, free: 11.72 MB / 0.7448 GB Notification: Performance of NFSimplifyModel.simplify: time 6.729e-05/0.002808, allocations: 11.92 kB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFPackage.collectConstants: time 2.151e-05/0.002829, allocations: 4 kB / 0.7879 GB, free: 11.71 MB / 0.7448 GB Notification: Performance of NFFlatten.collectFunctions: time 5.062e-05/0.00288, allocations: 8.656 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFScalarize.scalarize: time 1.426e-05/0.002894, allocations: 4 kB / 0.7879 GB, free: 11.7 MB / 0.7448 GB Notification: Performance of NFVerifyModel.verify: time 3.55e-05/0.002929, allocations: 13.22 kB / 0.7879 GB, free: 11.68 MB / 0.7448 GB Notification: Performance of NFConvertDAE.convert: time 0.0001196/0.003049, allocations: 31.91 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd - DAE generated: time 2.275e-06/0.003051, allocations: 0 / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of FrontEnd: time 5.41e-07/0.003052, allocations: 5.531 kB / 0.7879 GB, free: 11.65 MB / 0.7448 GB Notification: Performance of Transformations before backend: time 4.809e-06/0.003057, allocations: 0 / 0.7879 GB, free: 11.65 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.0003723/0.003429, allocations: 382.1 kB / 0.7883 GB, free: 11.23 MB / 0.7448 GB Notification: Performance of prepare preOptimizeDAE: time 4.364e-05/0.003473, allocations: 12.03 kB / 0.7883 GB, free: 11.22 MB / 0.7448 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.578e-05/0.003528, allocations: 6.156 kB / 0.7883 GB, free: 11.21 MB / 0.7448 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001152/0.003644, allocations: 108.6 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.519e-05/0.003659, allocations: 4.359 kB / 0.7884 GB, free: 11.08 MB / 0.7448 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.605e-05/0.003675, allocations: 5.125 kB / 0.7884 GB, free: 11.07 MB / 0.7448 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001478/0.003823, allocations: 80.55 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.137e-06/0.003832, allocations: 5.719 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.554e-05/0.003847, allocations: 4.375 kB / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.987e-06/0.003856, allocations: 384 / 0.7885 GB, free: 10.98 MB / 0.7448 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.254e-05/0.003909, allocations: 41.62 kB / 0.7886 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001207/0.00403, allocations: 117.7 kB / 0.7887 GB, free: 10.78 MB / 0.7448 GB Notification: Performance of preOpt comSubExp (simulation): time 7.757e-05/0.004107, allocations: 64.72 kB / 0.7887 GB, free: 10.7 MB / 0.7448 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.004155, allocations: 56.62 kB / 0.7888 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt evalFunc (simulation): time 4.628e-06/0.00416, allocations: 0 / 0.7888 GB, free: 10.64 MB / 0.7448 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.726e-05/0.004187, allocations: 33.39 kB / 0.7888 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of pre-optimization done (n=1): time 1.183e-06/0.004188, allocations: 0 / 0.7888 GB, free: 10.59 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1): time 0.0002704/0.004458, allocations: 166.7 kB / 0.789 GB, free: 10.41 MB / 0.7448 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.715e-05/0.004506, allocations: 81.11 kB / 0.7891 GB, free: 10.31 MB / 0.7448 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.073e-05/0.004596, allocations: 153.9 kB / 0.7892 GB, free: 10.14 MB / 0.7448 GB Notification: Performance of collectPreVariables (initialization): time 1.783e-05/0.004614, allocations: 34.42 kB / 0.7892 GB, free: 10.1 MB / 0.7448 GB Notification: Performance of collectInitialEqns (initialization): time 4.114e-05/0.004655, allocations: 126.9 kB / 0.7894 GB, free: 9.973 MB / 0.7448 GB Notification: Performance of collectInitialBindings (initialization): time 2.57e-05/0.004681, allocations: 9.953 kB / 0.7894 GB, free: 9.965 MB / 0.7448 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.914e-05/0.00473, allocations: 27.36 kB / 0.7894 GB, free: 9.93 MB / 0.7448 GB Notification: Performance of setup shared object (initialization): time 0.0001427/0.004873, allocations: 496.1 kB / 0.7899 GB, free: 9.434 MB / 0.7448 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.156e-05/0.004914, allocations: 37.69 kB / 0.7899 GB, free: 9.391 MB / 0.7448 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.826e-05/0.004953, allocations: 39.34 kB / 0.7899 GB, free: 9.348 MB / 0.7448 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.486e-05/0.005038, allocations: 83.09 kB / 0.79 GB, free: 9.25 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.005042, allocations: 4 kB / 0.79 GB, free: 9.246 MB / 0.7448 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001544/0.005196, allocations: 130.4 kB / 0.7902 GB, free: 9.102 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 3.663e-05/0.005233, allocations: 29.7 kB / 0.7902 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.11e-06/0.005238, allocations: 0 / 0.7902 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/0.005251, allocations: 0 / 0.7902 GB, free: 9.066 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.689e-06/0.005256, allocations: 5.406 kB / 0.7902 GB, free: 9.062 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.322e-06/0.005262, allocations: 3.984 kB / 0.7902 GB, free: 9.059 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.758e-05/0.00536, allocations: 7.938 kB / 0.7902 GB, free: 9.051 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.153e-05/0.005371, allocations: 0.5625 kB / 0.7902 GB, free: 9.051 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 9.886e-05/0.00547, allocations: 188 kB / 0.7904 GB, free: 8.852 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.197e-05/0.005492, allocations: 11.98 kB / 0.7904 GB, free: 8.84 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.754e-05/0.00552, allocations: 3.156 kB / 0.7904 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.763e-06/0.005522, allocations: 0 / 0.7904 GB, free: 8.836 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.005527, allocations: 3.984 kB / 0.7904 GB, free: 8.832 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.005531, allocations: 4.844 kB / 0.7904 GB, free: 8.828 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.007e-05/0.005611, allocations: 116.6 kB / 0.7905 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.32e-06/0.005616, allocations: 0.5312 kB / 0.7905 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.52e-07/0.005617, allocations: 0 / 0.7905 GB, free: 8.68 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.038e-06/0.005621, allocations: 4.484 kB / 0.7905 GB, free: 8.676 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.005633, allocations: 4.531 kB / 0.7905 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.005635, allocations: 1.156 kB / 0.7905 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.005636, allocations: 0 / 0.7905 GB, free: 8.672 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001821/0.005818, allocations: 167.7 kB / 0.7907 GB, free: 8.473 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 8.726e-06/0.005827, allocations: 8.453 kB / 0.7907 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.005842, allocations: 0.5312 kB / 0.7907 GB, free: 8.465 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.317e-05/0.005905, allocations: 7.984 kB / 0.7907 GB, free: 8.457 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.751e-05/0.005923, allocations: 9.375 kB / 0.7907 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.00593, allocations: 0 / 0.7907 GB, free: 8.449 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 4.268e-05/0.005973, allocations: 123.2 kB / 0.7908 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of sort global known variables: time 8.1e-08/0.005973, allocations: 1.156 kB / 0.7908 GB, free: 8.328 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002411/0.006214, allocations: 19.88 kB / 0.7908 GB, free: 8.309 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.0002529/0.006467, allocations: 106.7 kB / 0.7909 GB, free: 8.199 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001756/0.006642, allocations: 147.4 kB / 0.7911 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.904e-06/0.006644, allocations: 1.344 kB / 0.7911 GB, free: 8.027 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 7.15e-05/0.006716, allocations: 108.7 kB / 0.7912 GB, free: 7.898 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.006887, allocations: 10.06 kB / 0.7912 GB, free: 7.891 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003384/0.007226, allocations: 145 kB / 0.7913 GB, free: 7.715 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.808e-05/0.007264, allocations: 51.36 kB / 0.7914 GB, free: 7.645 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.429e-05/0.007298, allocations: 10.22 kB / 0.7914 GB, free: 7.637 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.807e-05/0.007316, allocations: 12.48 kB / 0.7914 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of SimCode: time 1.182e-06/0.007317, allocations: 0 / 0.7914 GB, free: 7.625 MB / 0.7448 GB Notification: Performance of Templates: time 0.004233/0.01155, allocations: 1.362 MB / 0.7927 GB, free: 6.312 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.551297605037689]