Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0007579/0.0007579, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001068/0.001826, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007047/0.0007047, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001064/0.001768, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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.8968/0.8968, allocations: 177.2 MB / 189.8 MB, free: 5.246 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08068/0.9775, allocations: 53.66 MB / 243.4 MB, free: 15.5 MB / 250.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.x/package.mo): time 1.758/1.758, allocations: 378.4 MB / 0.6079 GB, free: 7.68 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.4686/2.227, allocations: 123.3 MB / 0.7283 GB, free: 5.707 MB / 0.698 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.3-maint.12.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_12_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_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.353e-06/1.353e-06, allocations: 0 / 0.7297 GB, free: 4.375 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.33e-05/1.465e-05, allocations: 5.016 kB / 0.7297 GB, free: 4.371 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.001085/0.001099, allocations: 0.6131 MB / 0.7303 GB, free: 3.785 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001603/0.00126, allocations: 120.2 kB / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.787e-05/0.001278, allocations: 0 / 0.7304 GB, free: 3.672 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.552e-05/0.001313, allocations: 7.875 kB / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 9.688e-06/0.001323, allocations: 0 / 0.7304 GB, free: 3.664 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 9.071e-05/0.001413, allocations: 42.08 kB / 0.7304 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.982e-05/0.001493, allocations: 26.06 kB / 0.7305 GB, free: 3.602 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.206e-05/0.001525, allocations: 4 kB / 0.7305 GB, free: 3.598 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 5.053e-05/0.001576, allocations: 17.03 kB / 0.7305 GB, free: 3.582 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.08e-05/0.001637, allocations: 22.17 kB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.808e-05/0.001655, allocations: 0.6562 kB / 0.7305 GB, free: 3.562 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 4.051e-05/0.001695, allocations: 11.94 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.3e-05/0.001708, allocations: 0.9844 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.968e-05/0.001728, allocations: 8.656 kB / 0.7305 GB, free: 3.543 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.348e-05/0.001811, allocations: 25.72 kB / 0.7305 GB, free: 3.52 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 9.869e-06/0.001821, allocations: 0.6875 kB / 0.7305 GB, free: 3.52 MB / 0.698 GB Notification: Performance of FrontEnd: time 8.02e-07/0.001822, allocations: 0 / 0.7305 GB, free: 3.52 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.937e-06/0.001831, allocations: 1.719 kB / 0.7305 GB, free: 3.52 MB / 0.698 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.0002567/0.002088, allocations: 259.3 kB / 0.7308 GB, free: 3.234 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 2.856e-05/0.002116, allocations: 8.031 kB / 0.7308 GB, free: 3.227 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.002149, allocations: 8.938 kB / 0.7308 GB, free: 3.219 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.622e-05/0.002225, allocations: 114.5 kB / 0.7309 GB, free: 3.082 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.057e-06/0.002234, allocations: 4.359 kB / 0.7309 GB, free: 3.078 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.102e-05/0.002245, allocations: 4.875 kB / 0.7309 GB, free: 3.074 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.823e-05/0.002324, allocations: 81.23 kB / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.469e-06/0.002328, allocations: 1.281 kB / 0.731 GB, free: 2.984 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.865e-06/0.002336, allocations: 4.375 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.607e-06/0.00234, allocations: 1.25 kB / 0.731 GB, free: 2.98 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.169e-05/0.002361, allocations: 41.62 kB / 0.7311 GB, free: 2.934 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 5.876e-05/0.00242, allocations: 57.64 kB / 0.7311 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 4.388e-05/0.002464, allocations: 56.25 kB / 0.7312 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.355e-05/0.002487, allocations: 47.33 kB / 0.7312 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.796e-06/0.00249, allocations: 5.75 kB / 0.7312 GB, free: 2.734 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.804e-05/0.002508, allocations: 30.56 kB / 0.7312 GB, free: 2.695 MB / 0.698 GB Notification: Performance of pre-optimization done (n=1): time 8.41e-07/0.002509, allocations: 0 / 0.7312 GB, free: 2.695 MB / 0.698 GB Notification: Performance of matching and sorting (n=1): time 0.0001218/0.002631, allocations: 147.3 kB / 0.7314 GB, free: 2.527 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.21e-05/0.002653, allocations: 55.94 kB / 0.7314 GB, free: 2.461 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.443e-05/0.002707, allocations: 107.6 kB / 0.7315 GB, free: 2.344 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.918e-06/0.002717, allocations: 25.7 kB / 0.7316 GB, free: 2.312 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.743e-05/0.002735, allocations: 84.12 kB / 0.7316 GB, free: 2.227 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.356e-05/0.002758, allocations: 13.91 kB / 0.7317 GB, free: 2.215 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.661e-05/0.002785, allocations: 14.84 kB / 0.7317 GB, free: 2.195 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.161e-05/0.002857, allocations: 318.8 kB / 0.732 GB, free: 1.875 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.146e-05/0.002878, allocations: 37.69 kB / 0.732 GB, free: 1.832 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.944e-05/0.002897, allocations: 42.41 kB / 0.732 GB, free: 1.785 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.576e-05/0.002943, allocations: 76.77 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.002945, allocations: 0.9375 kB / 0.7321 GB, free: 1.695 MB / 0.698 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002015/0.003147, allocations: 109.1 kB / 0.7322 GB, free: 1.57 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 4.133e-05/0.003188, allocations: 39.3 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/0.003193, allocations: 0 / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.003206, allocations: 0.875 kB / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.884e-06/0.003208, allocations: 0 / 0.7323 GB, free: 1.527 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.811e-06/0.003214, allocations: 5.484 kB / 0.7323 GB, free: 1.523 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.508e-05/0.003309, allocations: 4.875 kB / 0.7323 GB, free: 1.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.291e-05/0.003322, allocations: 7.984 kB / 0.7323 GB, free: 1.512 MB / 0.698 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 7.705e-05/0.003399, allocations: 140 kB / 0.7324 GB, free: 1.359 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.839e-05/0.003417, allocations: 15.98 kB / 0.7324 GB, free: 1.344 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.466e-05/0.003432, allocations: 3.719 kB / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.675e-06/0.003434, allocations: 1.156 kB / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.525e-06/0.003437, allocations: 0 / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.00344, allocations: 0 / 0.7324 GB, free: 1.34 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.152e-05/0.003492, allocations: 66.61 kB / 0.7325 GB, free: 1.258 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.693e-06/0.003493, allocations: 5.016 kB / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.21e-07/0.003494, allocations: 0 / 0.7325 GB, free: 1.254 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.462e-06/0.0035, allocations: 9.234 kB / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.132e-06/0.003502, allocations: 0 / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.131e-06/0.003508, allocations: 0 / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.433e-06/0.003509, allocations: 0 / 0.7325 GB, free: 1.246 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.00351, allocations: 5.688 kB / 0.7325 GB, free: 1.242 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.209e-05/0.003602, allocations: 140.4 kB / 0.7327 GB, free: 1.074 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.201e-05/0.003614, allocations: 4.562 kB / 0.7327 GB, free: 1.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.52e-05/0.00365, allocations: 5.75 kB / 0.7327 GB, free: 1.066 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.007e-05/0.00366, allocations: 4 kB / 0.7327 GB, free: 1.062 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.003664, allocations: 4 kB / 0.7327 GB, free: 1.059 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.048e-05/0.003674, allocations: 9.5 kB / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.003674, allocations: 1.219 kB / 0.7327 GB, free: 1.047 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001044/0.003779, allocations: 12 kB / 0.7327 GB, free: 1.035 MB / 0.698 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.0001726/0.003951, allocations: 102.5 kB / 0.7328 GB, free: 0.9336 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001065/0.004058, allocations: 140.3 kB / 0.7329 GB, free: 0.7695 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.004063, allocations: 4.75 kB / 0.7329 GB, free: 0.7656 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.768e-05/0.004111, allocations: 98.61 kB / 0.733 GB, free: 0.6484 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.26e-05/0.004183, allocations: 16.86 kB / 0.733 GB, free: 0.6328 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002608/0.004444, allocations: 143.7 kB / 0.7332 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.939e-05/0.004473, allocations: 60.06 kB / 0.7332 GB, free: 392 kB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.951e-05/0.004503, allocations: 4 kB / 0.7332 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.802e-05/0.004571, allocations: 71.89 kB / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of SimCode: time 4.41e-07/0.004571, allocations: 0 / 0.7333 GB, free: 316 kB / 0.698 GB Notification: Performance of Templates: time 0.002482/0.007054, allocations: 1.39 MB / 0.7347 GB, free: 15 MB / 0.7136 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; mkfifo Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe >> ../files/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.sim & ./Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues/Buildings_12_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.ref.csv","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 4.541866390034556]