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.00102/0.00102, allocations: 87.58 kB / 20.45 MB, free: 4.113 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.00148/0.00148, allocations: 161 kB / 23.82 MB, free: 0.75 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.9227/0.9227, allocations: 177.1 MB / 204.2 MB, free: 5.207 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.724/1.724, 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.333e-06/1.333e-06, allocations: 0 / 0.7871 GB, free: 12.45 MB / 0.7449 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.938e-05/2.071e-05, allocations: 5.828 kB / 0.7871 GB, free: 12.45 MB / 0.7449 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001152/0.001172, allocations: 0.5739 MB / 0.7877 GB, free: 11.89 MB / 0.7449 GB Notification: Performance of NFInst.instExpressions: time 0.0001952/0.001367, allocations: 104.7 kB / 0.7878 GB, free: 11.79 MB / 0.7449 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.264e-05/0.00139, allocations: 0 / 0.7878 GB, free: 11.79 MB / 0.7449 GB Notification: Performance of NFTyping.typeComponents: time 9.723e-05/0.001487, allocations: 13.08 kB / 0.7878 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of NFTyping.typeBindings: time 5.118e-05/0.001539, allocations: 0 / 0.7878 GB, free: 11.77 MB / 0.7449 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001163/0.001655, allocations: 37.14 kB / 0.7878 GB, free: 11.74 MB / 0.7449 GB Notification: Performance of NFFlatten.flatten: time 7.772e-05/0.001733, allocations: 28.83 kB / 0.7878 GB, free: 11.71 MB / 0.7449 GB Notification: Performance of NFFlatten.resolveConnections: time 3.555e-05/0.001768, allocations: 0 / 0.7878 GB, free: 11.71 MB / 0.7449 GB Notification: Performance of NFEvalConstants.evaluate: time 3.867e-05/0.001807, allocations: 16.64 kB / 0.7879 GB, free: 11.7 MB / 0.7449 GB Notification: Performance of NFSimplifyModel.simplify: time 5.634e-05/0.001863, allocations: 19.97 kB / 0.7879 GB, free: 11.68 MB / 0.7449 GB Notification: Performance of NFPackage.collectConstants: time 1.753e-05/0.001881, allocations: 3.531 kB / 0.7879 GB, free: 11.68 MB / 0.7449 GB Notification: Performance of NFFlatten.collectFunctions: time 3.899e-05/0.00192, allocations: 11.94 kB / 0.7879 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of NFScalarize.scalarize: time 1.115e-05/0.001931, allocations: 0 / 0.7879 GB, free: 11.66 MB / 0.7449 GB Notification: Performance of NFVerifyModel.verify: time 2.713e-05/0.001958, allocations: 11.98 kB / 0.7879 GB, free: 11.65 MB / 0.7449 GB Notification: Performance of NFConvertDAE.convert: time 9.618e-05/0.002054, allocations: 39.89 kB / 0.7879 GB, free: 11.61 MB / 0.7449 GB Notification: Performance of FrontEnd - DAE generated: time 1.754e-06/0.002056, allocations: 0 / 0.7879 GB, free: 11.61 MB / 0.7449 GB Notification: Performance of FrontEnd: time 4.91e-07/0.002056, allocations: 0 / 0.7879 GB, free: 11.61 MB / 0.7449 GB Notification: Performance of Transformations before backend: time 3.587e-06/0.00206, allocations: 0 / 0.7879 GB, free: 11.61 MB / 0.7449 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.0002661/0.002326, allocations: 382 kB / 0.7883 GB, free: 11.2 MB / 0.7449 GB Notification: Performance of prepare preOptimizeDAE: time 3.345e-05/0.002359, allocations: 8.031 kB / 0.7883 GB, free: 11.19 MB / 0.7449 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.803e-05/0.002398, allocations: 9.625 kB / 0.7883 GB, free: 11.18 MB / 0.7449 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.525e-05/0.002473, allocations: 106.3 kB / 0.7884 GB, free: 11.05 MB / 0.7449 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.083e-05/0.002484, allocations: 4.375 kB / 0.7884 GB, free: 11.05 MB / 0.7449 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.198e-05/0.002496, allocations: 4.375 kB / 0.7884 GB, free: 11.04 MB / 0.7449 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.668e-05/0.002592, allocations: 80.53 kB / 0.7885 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.502e-06/0.002599, allocations: 5.531 kB / 0.7885 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.718e-06/0.002608, allocations: 384 / 0.7885 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.15e-06/0.002614, allocations: 384 / 0.7885 GB, free: 10.95 MB / 0.7449 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.202e-05/0.002646, allocations: 49.56 kB / 0.7886 GB, free: 10.89 MB / 0.7449 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.288e-05/0.002739, allocations: 110.2 kB / 0.7887 GB, free: 10.75 MB / 0.7449 GB Notification: Performance of preOpt comSubExp (simulation): time 6.554e-05/0.002804, allocations: 68.78 kB / 0.7887 GB, free: 10.67 MB / 0.7449 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.399e-05/0.002838, allocations: 45.44 kB / 0.7888 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of preOpt evalFunc (simulation): time 4.047e-06/0.002842, allocations: 0 / 0.7888 GB, free: 10.61 MB / 0.7449 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.002868, allocations: 38.2 kB / 0.7888 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of pre-optimization done (n=1): time 5.01e-07/0.002869, allocations: 0 / 0.7888 GB, free: 10.57 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1): time 0.0002176/0.003086, allocations: 172.5 kB / 0.789 GB, free: 10.38 MB / 0.7449 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.554e-05/0.003122, allocations: 77.11 kB / 0.7891 GB, free: 10.28 MB / 0.7449 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.018e-05/0.003202, allocations: 158.2 kB / 0.7892 GB, free: 10.11 MB / 0.7449 GB Notification: Performance of collectPreVariables (initialization): time 9.568e-06/0.003212, allocations: 26.33 kB / 0.7892 GB, free: 10.08 MB / 0.7449 GB Notification: Performance of collectInitialEqns (initialization): time 3.722e-05/0.003249, allocations: 126.9 kB / 0.7894 GB, free: 9.949 MB / 0.7449 GB Notification: Performance of collectInitialBindings (initialization): time 2.654e-05/0.003275, allocations: 12.58 kB / 0.7894 GB, free: 9.938 MB / 0.7449 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.421e-05/0.00331, allocations: 31.89 kB / 0.7894 GB, free: 9.898 MB / 0.7449 GB Notification: Performance of setup shared object (initialization): time 0.0001246/0.003434, allocations: 492.1 kB / 0.7899 GB, free: 9.406 MB / 0.7449 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.901e-05/0.003473, allocations: 46.84 kB / 0.7899 GB, free: 9.355 MB / 0.7449 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.769e-05/0.003501, allocations: 33.7 kB / 0.7899 GB, free: 9.316 MB / 0.7449 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.411e-05/0.003565, allocations: 79.61 kB / 0.79 GB, free: 9.223 MB / 0.7449 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.003568, allocations: 1.219 kB / 0.79 GB, free: 9.223 MB / 0.7449 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0001111/0.003679, allocations: 129 kB / 0.7901 GB, free: 9.078 MB / 0.7449 GB Notification: Performance of prepare postOptimizeDAE: time 2.863e-05/0.003707, allocations: 33.7 kB / 0.7902 GB, free: 9.039 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.547e-06/0.003711, allocations: 1.062 kB / 0.7902 GB, free: 9.039 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.164e-05/0.003723, allocations: 0 / 0.7902 GB, free: 9.039 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.388e-06/0.003727, allocations: 3.938 kB / 0.7902 GB, free: 9.035 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.118e-06/0.003731, allocations: 0.9688 kB / 0.7902 GB, free: 9.035 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.838e-05/0.0038, allocations: 11.92 kB / 0.7902 GB, free: 9.023 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.047e-06/0.003809, allocations: 8.906 kB / 0.7902 GB, free: 9.016 MB / 0.7449 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.381e-05/0.003872, allocations: 182.3 kB / 0.7904 GB, free: 8.82 MB / 0.7449 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.096e-05/0.003883, allocations: 9.031 kB / 0.7904 GB, free: 8.812 MB / 0.7449 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.316e-05/0.003897, allocations: 7.141 kB / 0.7904 GB, free: 8.805 MB / 0.7449 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.003898, allocations: 0 / 0.7904 GB, free: 8.805 MB / 0.7449 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.755e-06/0.0039, allocations: 1.156 kB / 0.7904 GB, free: 8.805 MB / 0.7449 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.003905, allocations: 7.938 kB / 0.7904 GB, free: 8.797 MB / 0.7449 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.226e-05/0.003967, allocations: 108.6 kB / 0.7905 GB, free: 8.656 MB / 0.7449 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.71e-07/0.003967, allocations: 4.844 kB / 0.7905 GB, free: 8.652 MB / 0.7449 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.61e-07/0.003968, allocations: 0 / 0.7905 GB, free: 8.652 MB / 0.7449 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.292e-06/0.00397, allocations: 2.219 kB / 0.7905 GB, free: 8.652 MB / 0.7449 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.16e-05/0.003981, allocations: 11.98 kB / 0.7905 GB, free: 8.641 MB / 0.7449 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.72e-07/0.003982, allocations: 0 / 0.7905 GB, free: 8.641 MB / 0.7449 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.12e-07/0.003983, allocations: 0 / 0.7905 GB, free: 8.641 MB / 0.7449 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001373/0.00412, allocations: 171.7 kB / 0.7907 GB, free: 8.438 MB / 0.7449 GB Notification: Performance of postOpt removeConstants (simulation): time 4.599e-06/0.004125, allocations: 2.844 kB / 0.7907 GB, free: 8.438 MB / 0.7449 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.004138, allocations: 4 kB / 0.7907 GB, free: 8.434 MB / 0.7449 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.884e-05/0.004177, allocations: 7.984 kB / 0.7907 GB, free: 8.426 MB / 0.7449 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.746e-05/0.004194, allocations: 3.984 kB / 0.7907 GB, free: 8.422 MB / 0.7449 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.532e-06/0.004201, allocations: 4 kB / 0.7907 GB, free: 8.418 MB / 0.7449 GB Notification: Performance of sorting global known variables: time 3.851e-05/0.004239, allocations: 123.2 kB / 0.7908 GB, free: 8.297 MB / 0.7449 GB Notification: Performance of sort global known variables: time 5e-08/0.004239, allocations: 0 / 0.7908 GB, free: 8.297 MB / 0.7449 GB Notification: Performance of remove unused functions: time 0.0001338/0.004373, allocations: 17.47 kB / 0.7908 GB, free: 8.281 MB / 0.7449 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.0001624/0.004536, allocations: 118.8 kB / 0.791 GB, free: 8.16 MB / 0.7449 GB Notification: Performance of simCode: created initialization part: time 0.0001324/0.004668, allocations: 143 kB / 0.7911 GB, free: 7.992 MB / 0.7449 GB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.00467, allocations: 3.938 kB / 0.7911 GB, free: 7.988 MB / 0.7449 GB Notification: Performance of simCode: created simulation system equations: time 0.0004041/0.005074, allocations: 105.5 kB / 0.7912 GB, free: 7.863 MB / 0.7449 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001121/0.005186, allocations: 10.19 kB / 0.7912 GB, free: 7.855 MB / 0.7449 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000273/0.005459, allocations: 148.1 kB / 0.7913 GB, free: 7.676 MB / 0.7449 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.032e-05/0.005489, allocations: 52.11 kB / 0.7914 GB, free: 7.605 MB / 0.7449 GB Notification: Performance of simCode: alias equations: time 2.578e-05/0.005515, allocations: 7.938 kB / 0.7914 GB, free: 7.598 MB / 0.7449 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.529e-05/0.00553, allocations: 9.5 kB / 0.7914 GB, free: 7.59 MB / 0.7449 GB Notification: Performance of SimCode: time 4.21e-07/0.005531, allocations: 0 / 0.7914 GB, free: 7.59 MB / 0.7449 GB Notification: Performance of Templates: time 0.002535/0.008066, allocations: 1.269 MB / 0.7927 GB, free: 6.359 MB / 0.7449 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.8685254799202085]