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.0008156/0.0008156, 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.0009436/0.0009436, allocations: 177 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.9726/0.9726, allocations: 177.1 MB / 203.8 MB, free: 5.48 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.345/2.345, allocations: 438.8 MB / 0.6827 GB, free: 13.62 MB / 0.6511 GB " [Timeout remaining time 177] 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 1.773e-06/1.773e-06, allocations: 0 / 0.8386 GB, free: 14.18 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.289e-05/1.467e-05, allocations: 6.25 kB / 0.8386 GB, free: 14.17 MB / 0.8073 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001272/0.001287, allocations: 0.6297 MB / 0.8393 GB, free: 13.55 MB / 0.8073 GB Notification: Performance of NFInst.instExpressions: time 0.0002063/0.001493, allocations: 103.7 kB / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.986e-05/0.001513, allocations: 0 / 0.8394 GB, free: 13.45 MB / 0.8073 GB Notification: Performance of NFTyping.typeComponents: time 7.654e-05/0.00159, allocations: 11.86 kB / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeBindings: time 4.83e-05/0.001638, allocations: 0 / 0.8394 GB, free: 13.43 MB / 0.8073 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001007/0.001739, allocations: 35.89 kB / 0.8394 GB, free: 13.4 MB / 0.8073 GB Notification: Performance of NFFlatten.flatten: time 6.275e-05/0.001801, allocations: 23.98 kB / 0.8394 GB, free: 13.38 MB / 0.8073 GB Notification: Performance of NFFlatten.resolveConnections: time 2.826e-05/0.00183, allocations: 4 kB / 0.8394 GB, free: 13.37 MB / 0.8073 GB Notification: Performance of NFEvalConstants.evaluate: time 3.675e-05/0.001866, allocations: 23.97 kB / 0.8395 GB, free: 13.35 MB / 0.8073 GB Notification: Performance of NFSimplifyModel.simplify: time 5.427e-05/0.001921, allocations: 15.92 kB / 0.8395 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFPackage.collectConstants: time 1.469e-05/0.001935, allocations: 4 kB / 0.8395 GB, free: 13.33 MB / 0.8073 GB Notification: Performance of NFFlatten.collectFunctions: time 3.187e-05/0.001967, allocations: 7.938 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFScalarize.scalarize: time 8.686e-06/0.001976, allocations: 4 kB / 0.8395 GB, free: 13.32 MB / 0.8073 GB Notification: Performance of NFVerifyModel.verify: time 1.73e-05/0.001993, allocations: 11.98 kB / 0.8395 GB, free: 13.3 MB / 0.8073 GB Notification: Performance of NFConvertDAE.convert: time 8.129e-05/0.002075, allocations: 31.95 kB / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.002076, allocations: 0 / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of FrontEnd: time 5.91e-07/0.002077, allocations: 0 / 0.8395 GB, free: 13.27 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 2.705e-06/0.00208, allocations: 0 / 0.8395 GB, free: 13.27 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.0001754/0.002255, allocations: 262.7 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.002281, allocations: 8.031 kB / 0.8398 GB, free: 12.98 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.28e-05/0.002304, allocations: 8.938 kB / 0.8398 GB, free: 12.97 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.717e-05/0.002371, allocations: 109.8 kB / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.104e-06/0.002379, allocations: 384 / 0.8399 GB, free: 12.84 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.764e-06/0.002386, allocations: 8.312 kB / 0.8399 GB, free: 12.83 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.133e-05/0.002458, allocations: 83.92 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.581e-06/0.002463, allocations: 192 / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.614e-06/0.002471, allocations: 4.375 kB / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.106e-06/0.002474, allocations: 384 / 0.84 GB, free: 12.73 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.217e-05/0.002496, allocations: 45.58 kB / 0.84 GB, free: 12.68 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.535e-05/0.002551, allocations: 61.03 kB / 0.8401 GB, free: 12.61 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 4.622e-05/0.002598, allocations: 48.31 kB / 0.8401 GB, free: 12.54 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.437e-05/0.002622, allocations: 46.55 kB / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-06/0.002624, allocations: 0 / 0.8402 GB, free: 12.49 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.764e-05/0.002642, allocations: 38.56 kB / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=1): time 4.51e-07/0.002642, allocations: 0 / 0.8402 GB, free: 12.44 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1): time 0.0001112/0.002754, allocations: 142.8 kB / 0.8404 GB, free: 12.28 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.709e-05/0.002781, allocations: 77.11 kB / 0.8404 GB, free: 12.18 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.909e-05/0.00283, allocations: 110.8 kB / 0.8405 GB, free: 12.06 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.002841, allocations: 29.7 kB / 0.8406 GB, free: 12.03 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 1.804e-05/0.002859, allocations: 80.14 kB / 0.8406 GB, free: 11.95 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 1.628e-05/0.002876, allocations: 3.938 kB / 0.8406 GB, free: 11.94 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.608e-05/0.002902, allocations: 21.72 kB / 0.8407 GB, free: 11.91 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.873e-05/0.002971, allocations: 318.7 kB / 0.841 GB, free: 11.59 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.823e-05/0.002999, allocations: 41.69 kB / 0.841 GB, free: 11.55 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.06e-05/0.003019, allocations: 37.69 kB / 0.841 GB, free: 11.5 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.243e-05/0.003062, allocations: 80.23 kB / 0.8411 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.003063, allocations: 4.188 kB / 0.8411 GB, free: 11.41 MB / 0.8073 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.545e-05/0.003128, allocations: 109.1 kB / 0.8412 GB, free: 11.28 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.003149, allocations: 33.7 kB / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.697e-06/0.003153, allocations: 0 / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.386e-06/0.003161, allocations: 0 / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.072e-06/0.003162, allocations: 0 / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.204e-06/0.003165, allocations: 0 / 0.8413 GB, free: 11.24 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.993e-05/0.003215, allocations: 11.92 kB / 0.8413 GB, free: 11.23 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.795e-06/0.003222, allocations: 4 kB / 0.8413 GB, free: 11.23 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 5.339e-05/0.003276, allocations: 139.5 kB / 0.8414 GB, free: 11.07 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.019e-05/0.003286, allocations: 16.02 kB / 0.8414 GB, free: 11.06 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.795e-06/0.003294, allocations: 3.156 kB / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.003295, allocations: 3.984 kB / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.81e-07/0.003296, allocations: 0 / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.673e-06/0.003298, allocations: 0 / 0.8414 GB, free: 11.05 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.024e-05/0.003338, allocations: 69.83 kB / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.214e-06/0.00334, allocations: 4 kB / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.11e-07/0.003341, allocations: 0 / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.11e-07/0.003341, allocations: 3.938 kB / 0.8415 GB, free: 10.96 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.522e-06/0.003348, allocations: 7.984 kB / 0.8415 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.61e-07/0.003348, allocations: 0 / 0.8415 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.003349, allocations: 4 kB / 0.8415 GB, free: 10.95 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.456e-05/0.003423, allocations: 136.5 kB / 0.8416 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 3.607e-06/0.003427, allocations: 3.953 kB / 0.8416 GB, free: 10.78 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.287e-06/0.003436, allocations: 7.984 kB / 0.8417 GB, free: 10.77 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.777e-05/0.003464, allocations: 11.94 kB / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.635e-06/0.003472, allocations: 0 / 0.8417 GB, free: 10.76 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.741e-06/0.003477, allocations: 8 kB / 0.8417 GB, free: 10.75 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 6.683e-06/0.003484, allocations: 4.859 kB / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of sort global known variables: time 5e-08/0.003484, allocations: 0 / 0.8417 GB, free: 10.74 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.0001004/0.003584, allocations: 12.12 kB / 0.8417 GB, free: 10.73 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.0001155/0.0037, allocations: 102 kB / 0.8418 GB, free: 10.63 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 8.355e-05/0.003784, allocations: 135.6 kB / 0.8419 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.003785, allocations: 0 / 0.8419 GB, free: 10.47 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 3.748e-05/0.003823, allocations: 97.95 kB / 0.842 GB, free: 10.35 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 4.972e-05/0.003873, allocations: 16.06 kB / 0.842 GB, free: 10.34 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001646/0.004037, allocations: 142.4 kB / 0.8422 GB, free: 10.16 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.181e-05/0.004059, allocations: 55.3 kB / 0.8422 GB, free: 10.09 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 1.856e-05/0.004077, allocations: 7.984 kB / 0.8422 GB, free: 10.08 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.73e-05/0.004145, allocations: 63.38 kB / 0.8423 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of SimCode: time 4.91e-07/0.004145, allocations: 0 / 0.8423 GB, free: 10.02 MB / 0.8073 GB Notification: Performance of Templates: time 0.002212/0.006357, allocations: 1.341 MB / 0.8436 GB, free: 8.699 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 -s gbode -gbm=radauIIA3 -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.823576494120061]