Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_latest_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.0008043/0.0008043, allocations: 80.94 kB / 19.94 MB, free: 4.543 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.0009206/0.0009206, allocations: 181 kB / 23.36 MB, free: 1.129 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.9157/0.9157, allocations: 177.1 MB / 203.8 MB, free: 5.504 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/package.mo): time 2.246/2.246, allocations: 438.8 MB / 0.6827 GB, free: 13.64 MB / 0.6511 GB " [Timeout remaining time 178] Using package Buildings with version 14.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings master/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_latest_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_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 7.31e-07/7.31e-07, allocations: 0 / 0.8386 GB, free: 14.25 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.304e-05/1.377e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.24 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001063/0.001077, allocations: 0.5814 MB / 0.8392 GB, free: 13.66 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0001536/0.001231, allocations: 99.72 kB / 0.8393 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.131e-05/0.001242, allocations: 0 / 0.8393 GB, free: 13.57 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 4.038e-05/0.001282, allocations: 7.875 kB / 0.8393 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 2.146e-05/0.001304, allocations: 0 / 0.8393 GB, free: 13.56 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 7.384e-05/0.001378, allocations: 39.95 kB / 0.8393 GB, free: 13.52 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 4.481e-05/0.001422, allocations: 31.91 kB / 0.8393 GB, free: 13.49 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 1.738e-05/0.00144, allocations: 4 kB / 0.8393 GB, free: 13.48 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 2.395e-05/0.001464, allocations: 15.98 kB / 0.8394 GB, free: 13.47 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 3.168e-05/0.001495, allocations: 19.92 kB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 9.537e-06/0.001505, allocations: 3.984 kB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 2.2e-05/0.001527, allocations: 11.94 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 5.991e-06/0.001533, allocations: 0 / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.001547, allocations: 8 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 5.244e-05/0.001599, allocations: 31.95 kB / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.112e-06/0.001601, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of FrontEnd: time 4e-07/0.001601, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 1.573e-06/0.001603, allocations: 0 / 0.8394 GB, free: 13.39 MB / 0.8073 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.0001349/0.001737, allocations: 258.7 kB / 0.8397 GB, free: 13.11 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 1.978e-05/0.001757, allocations: 12.03 kB / 0.8397 GB, free: 13.1 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.673e-05/0.001774, allocations: 4.938 kB / 0.8397 GB, free: 13.09 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 4.768e-05/0.001822, allocations: 109.8 kB / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.859e-06/0.001827, allocations: 384 / 0.8398 GB, free: 12.96 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-06/0.001835, allocations: 8.375 kB / 0.8398 GB, free: 12.95 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 5.773e-05/0.001893, allocations: 87.81 kB / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.046e-06/0.001896, allocations: 192 / 0.8399 GB, free: 12.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.012e-06/0.001902, allocations: 4.375 kB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.766e-06/0.001905, allocations: 4.359 kB / 0.8399 GB, free: 12.85 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.137e-05/0.001926, allocations: 41.62 kB / 0.8399 GB, free: 12.8 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 4.451e-05/0.001971, allocations: 61.05 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 3.491e-05/0.002005, allocations: 52.3 kB / 0.84 GB, free: 12.66 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.245e-05/0.002028, allocations: 42.61 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.825e-06/0.002031, allocations: 3.938 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.381e-05/0.002045, allocations: 34.56 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 4.71e-07/0.002045, allocations: 4 kB / 0.8401 GB, free: 12.56 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 8.785e-05/0.002133, allocations: 146.8 kB / 0.8403 GB, free: 12.39 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.385e-05/0.002157, allocations: 81.11 kB / 0.8403 GB, free: 12.29 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.446e-05/0.002191, allocations: 94.72 kB / 0.8404 GB, free: 12.19 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.037e-05/0.002202, allocations: 29.7 kB / 0.8405 GB, free: 12.15 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.635e-05/0.002218, allocations: 80.14 kB / 0.8405 GB, free: 12.07 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.294e-05/0.002231, allocations: 11.92 kB / 0.8406 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.367e-05/0.002255, allocations: 17.72 kB / 0.8406 GB, free: 12.04 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.199e-05/0.002317, allocations: 322.8 kB / 0.8409 GB, free: 11.71 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.931e-05/0.002336, allocations: 41.94 kB / 0.8409 GB, free: 11.66 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.772e-05/0.002354, allocations: 45.62 kB / 0.841 GB, free: 11.61 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.654e-05/0.00239, allocations: 72.25 kB / 0.841 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.41e-07/0.002391, allocations: 0 / 0.841 GB, free: 11.53 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 5.648e-05/0.002447, allocations: 113.1 kB / 0.8411 GB, free: 11.4 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.002464, allocations: 29.7 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.054e-06/0.002466, allocations: 0 / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.318e-06/0.002471, allocations: 0 / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.583e-06/0.002472, allocations: 0 / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.635e-06/0.002475, allocations: 4 kB / 0.8412 GB, free: 11.36 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.325e-05/0.002528, allocations: 8.078 kB / 0.8412 GB, free: 11.35 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.402e-06/0.002535, allocations: 8 kB / 0.8412 GB, free: 11.34 MB / 0.8073 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 4.748e-05/0.002582, allocations: 143.4 kB / 0.8413 GB, free: 11.19 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.025e-05/0.002592, allocations: 11.98 kB / 0.8413 GB, free: 11.18 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.562e-06/0.002599, allocations: 3.156 kB / 0.8413 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.51e-07/0.002599, allocations: 0 / 0.8413 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.021e-06/0.0026, allocations: 4 kB / 0.8413 GB, free: 11.17 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.793e-06/0.002602, allocations: 3.938 kB / 0.8413 GB, free: 11.16 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 3.775e-05/0.00264, allocations: 65.84 kB / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.11e-07/0.002641, allocations: 0 / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.91e-07/0.002641, allocations: 4 kB / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.42e-07/0.002641, allocations: 0 / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.749e-06/0.002646, allocations: 0 / 0.8414 GB, free: 11.08 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.002648, allocations: 7.984 kB / 0.8414 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.41e-07/0.002648, allocations: 0 / 0.8414 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.868e-05/0.002717, allocations: 136.5 kB / 0.8415 GB, free: 10.91 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 4.438e-06/0.002721, allocations: 7.953 kB / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.264e-06/0.002728, allocations: 0 / 0.8416 GB, free: 10.9 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.7e-05/0.002755, allocations: 11.98 kB / 0.8416 GB, free: 10.89 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.536e-06/0.002764, allocations: 3.984 kB / 0.8416 GB, free: 10.88 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.107e-06/0.002768, allocations: 11.97 kB / 0.8416 GB, free: 10.87 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 5.901e-06/0.002774, allocations: 4.859 kB / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of sort global known variables: time 4e-08/0.002774, allocations: 0 / 0.8416 GB, free: 10.86 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001128/0.002887, allocations: 12 kB / 0.8416 GB, free: 10.85 MB / 0.8073 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.0001007/0.002987, allocations: 97.86 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 7.873e-05/0.003066, allocations: 143.7 kB / 0.8418 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.003068, allocations: 0 / 0.8418 GB, free: 10.59 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.547e-05/0.003103, allocations: 97.95 kB / 0.8419 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 3.917e-05/0.003142, allocations: 15.69 kB / 0.8419 GB, free: 10.46 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001375/0.00328, allocations: 134.4 kB / 0.8421 GB, free: 10.29 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 1.861e-05/0.003298, allocations: 51.36 kB / 0.8421 GB, free: 10.22 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.392e-05/0.003312, allocations: 11.88 kB / 0.8421 GB, free: 10.21 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.896e-05/0.003371, allocations: 71.36 kB / 0.8422 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of SimCode: time 2.9e-07/0.003372, allocations: 0 / 0.8422 GB, free: 10.14 MB / 0.8073 GB Notification: Performance of Templates: time 0.002101/0.005472, allocations: 1.334 MB / 0.8435 GB, free: 8.824 MB / 0.8073 GB " [Timeout remaining time 300] make -j1 -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_latest_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/mnt/ReferenceFiles/Buildings/csv/master/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.78185132984072]