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.001552/0.001552, allocations: 79.28 kB / 19.18 MB, free: 2.516 MB / 14.72 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.001667/0.001667, allocations: 163.3 kB / 22.46 MB, free: 5.375 MB / 14.72 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 1.496/1.496, allocations: 177.2 MB / 202.8 MB, free: 9.137 MB / 190.1 MB " [Timeout remaining time 178] 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 2.809/2.809, allocations: 359 MB / 0.6037 GB, free: 14.96 MB / 0.5762 GB " [Timeout remaining time 176] 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 4.759e-06/4.759e-06, allocations: 4 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.663e-05/3.139e-05, allocations: 2.281 kB / 0.951 GB, free: 11.54 MB / 0.8575 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues): time 0.002476/0.002507, allocations: 0.5605 MB / 0.9515 GB, free: 10.97 MB / 0.8575 GB Notification: Performance of NFInst.instExpressions: time 0.0003874/0.002895, allocations: 111.6 kB / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.6e-05/0.002931, allocations: 0 / 0.9516 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.0001187/0.00305, allocations: 4 kB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 6.897e-05/0.003119, allocations: 4 kB / 0.9517 GB, free: 10.86 MB / 0.8575 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002413/0.00336, allocations: 35.84 kB / 0.9517 GB, free: 10.82 MB / 0.8575 GB Notification: Performance of NFFlatten.flatten: time 0.0001347/0.003495, allocations: 19.98 kB / 0.9517 GB, free: 10.8 MB / 0.8575 GB Notification: Performance of NFFlatten.resolveConnections: time 6.071e-05/0.003555, allocations: 15.97 kB / 0.9517 GB, free: 10.79 MB / 0.8575 GB Notification: Performance of NFEvalConstants.evaluate: time 5.941e-05/0.003615, allocations: 15.98 kB / 0.9517 GB, free: 10.77 MB / 0.8575 GB Notification: Performance of NFSimplifyModel.simplify: time 9.342e-05/0.003708, allocations: 15.98 kB / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.003738, allocations: 0 / 0.9518 GB, free: 10.75 MB / 0.8575 GB Notification: Performance of NFFlatten.collectFunctions: time 6.351e-05/0.003802, allocations: 11.94 kB / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFScalarize.scalarize: time 1.193e-05/0.003814, allocations: 0 / 0.9518 GB, free: 10.74 MB / 0.8575 GB Notification: Performance of NFVerifyModel.verify: time 4.293e-05/0.003857, allocations: 11.98 kB / 0.9518 GB, free: 10.73 MB / 0.8575 GB Notification: Performance of NFConvertDAE.convert: time 0.0001606/0.004017, allocations: 39.83 kB / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.00402, allocations: 0 / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of FrontEnd: time 7.22e-07/0.004021, allocations: 0 / 0.9518 GB, free: 10.69 MB / 0.8575 GB Notification: Performance of Transformations before backend: time 8.346e-06/0.004029, allocations: 4 kB / 0.9518 GB, free: 10.69 MB / 0.8575 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.0004685/0.004497, allocations: 276.1 kB / 0.9521 GB, free: 10.38 MB / 0.8575 GB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.004545, allocations: 16.02 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.357e-05/0.004599, allocations: 8.891 kB / 0.9521 GB, free: 10.36 MB / 0.8575 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001436/0.004742, allocations: 101.8 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.004765, allocations: 4.375 kB / 0.9522 GB, free: 10.23 MB / 0.8575 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.555e-05/0.00479, allocations: 4.375 kB / 0.9522 GB, free: 10.22 MB / 0.8575 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000198/0.004988, allocations: 79.88 kB / 0.9523 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.455e-05/0.005003, allocations: 4.172 kB / 0.9523 GB, free: 10.13 MB / 0.8575 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.859e-05/0.005022, allocations: 4.375 kB / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.759e-06/0.005026, allocations: 384 / 0.9523 GB, free: 10.12 MB / 0.8575 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.47e-05/0.005111, allocations: 45.64 kB / 0.9523 GB, free: 10.07 MB / 0.8575 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001782/0.005289, allocations: 101.3 kB / 0.9524 GB, free: 9.945 MB / 0.8575 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001411/0.00543, allocations: 60.23 kB / 0.9525 GB, free: 9.871 MB / 0.8575 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.981e-05/0.00551, allocations: 42.62 kB / 0.9525 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt evalFunc (simulation): time 1.11e-05/0.005521, allocations: 0 / 0.9525 GB, free: 9.82 MB / 0.8575 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.891e-05/0.00556, allocations: 30.56 kB / 0.9526 GB, free: 9.781 MB / 0.8575 GB Notification: Performance of pre-optimization done (n=1): time 1.423e-06/0.005562, allocations: 7.938 kB / 0.9526 GB, free: 9.773 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1): time 0.0004079/0.005969, allocations: 158.8 kB / 0.9527 GB, free: 9.594 MB / 0.8575 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.544e-05/0.006045, allocations: 81.11 kB / 0.9528 GB, free: 9.496 MB / 0.8575 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001152/0.00616, allocations: 105.9 kB / 0.9529 GB, free: 9.383 MB / 0.8575 GB Notification: Performance of collectPreVariables (initialization): time 2.552e-05/0.006186, allocations: 25.7 kB / 0.9529 GB, free: 9.352 MB / 0.8575 GB Notification: Performance of collectInitialEqns (initialization): time 5.348e-05/0.006239, allocations: 80.14 kB / 0.953 GB, free: 9.27 MB / 0.8575 GB Notification: Performance of collectInitialBindings (initialization): time 3.099e-05/0.00627, allocations: 4 kB / 0.953 GB, free: 9.266 MB / 0.8575 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.721e-05/0.006337, allocations: 21.72 kB / 0.953 GB, free: 9.238 MB / 0.8575 GB Notification: Performance of setup shared object (initialization): time 0.0001769/0.006514, allocations: 310.8 kB / 0.9533 GB, free: 8.926 MB / 0.8575 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.716e-05/0.006591, allocations: 41.69 kB / 0.9534 GB, free: 8.879 MB / 0.8575 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.531e-05/0.006657, allocations: 37.69 kB / 0.9534 GB, free: 8.836 MB / 0.8575 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001487/0.006805, allocations: 88.19 kB / 0.9535 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.953e-06/0.006807, allocations: 192 / 0.9535 GB, free: 8.734 MB / 0.8575 GB Notification: Performance of matching and sorting (n=1) (initialization): time 0.0002472/0.007054, allocations: 125 kB / 0.9536 GB, free: 8.594 MB / 0.8575 GB Notification: Performance of prepare postOptimizeDAE: time 4.452e-05/0.007099, allocations: 33.69 kB / 0.9536 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.38e-06/0.007104, allocations: 0 / 0.9536 GB, free: 8.555 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.887e-05/0.007123, allocations: 3.984 kB / 0.9536 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.062e-06/0.007124, allocations: 0 / 0.9536 GB, free: 8.551 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.31e-06/0.00713, allocations: 4 kB / 0.9536 GB, free: 8.547 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001948/0.007324, allocations: 7.938 kB / 0.9537 GB, free: 8.539 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.505e-05/0.007349, allocations: 7.984 kB / 0.9537 GB, free: 8.531 MB / 0.8575 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 0.0001405/0.00749, allocations: 139.5 kB / 0.9538 GB, free: 8.379 MB / 0.8575 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.796e-05/0.007518, allocations: 11.97 kB / 0.9538 GB, free: 8.367 MB / 0.8575 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.524e-05/0.007533, allocations: 3.156 kB / 0.9538 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.913e-06/0.007535, allocations: 0 / 0.9538 GB, free: 8.363 MB / 0.8575 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.416e-06/0.007544, allocations: 4 kB / 0.9538 GB, free: 8.359 MB / 0.8575 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.671e-06/0.007549, allocations: 3.938 kB / 0.9538 GB, free: 8.355 MB / 0.8575 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001211/0.00767, allocations: 101.3 kB / 0.9539 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.007672, allocations: 0 / 0.9539 GB, free: 8.227 MB / 0.8575 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.338e-06/0.007676, allocations: 3.938 kB / 0.9539 GB, free: 8.223 MB / 0.8575 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.545e-06/0.007679, allocations: 4 kB / 0.9539 GB, free: 8.219 MB / 0.8575 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.899e-05/0.007698, allocations: 4 kB / 0.9539 GB, free: 8.215 MB / 0.8575 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.562e-06/0.007699, allocations: 3.938 kB / 0.9539 GB, free: 8.211 MB / 0.8575 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.302e-06/0.007701, allocations: 8 kB / 0.9539 GB, free: 8.203 MB / 0.8575 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002816/0.007982, allocations: 148.5 kB / 0.9541 GB, free: 8.027 MB / 0.8575 GB Notification: Performance of postOpt removeConstants (simulation): time 9.067e-06/0.007991, allocations: 3.984 kB / 0.9541 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.25e-05/0.008014, allocations: 0 / 0.9541 GB, free: 8.023 MB / 0.8575 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.008167, allocations: 8 kB / 0.9541 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.608e-05/0.008193, allocations: 0 / 0.9541 GB, free: 8.016 MB / 0.8575 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.044e-05/0.008213, allocations: 11.98 kB / 0.9541 GB, free: 8.004 MB / 0.8575 GB Notification: Performance of sorting global known variables: time 5.156e-05/0.008265, allocations: 75.28 kB / 0.9542 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of sort global known variables: time 1.2e-07/0.008265, allocations: 0 / 0.9542 GB, free: 7.93 MB / 0.8575 GB Notification: Performance of remove unused functions: time 0.0003905/0.008656, allocations: 20.06 kB / 0.9542 GB, free: 7.91 MB / 0.8575 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.0003216/0.008977, allocations: 118.7 kB / 0.9543 GB, free: 7.793 MB / 0.8575 GB Notification: Performance of simCode: created initialization part: time 0.0002535/0.009231, allocations: 138.7 kB / 0.9544 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of simCode: created event and clocks part: time 2.254e-06/0.009233, allocations: 0 / 0.9544 GB, free: 7.633 MB / 0.8575 GB Notification: Performance of simCode: created simulation system equations: time 0.0001222/0.009355, allocations: 97.09 kB / 0.9545 GB, free: 7.52 MB / 0.8575 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002137/0.009569, allocations: 8.125 kB / 0.9545 GB, free: 7.512 MB / 0.8575 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003914/0.00996, allocations: 141.2 kB / 0.9547 GB, free: 7.344 MB / 0.8575 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.934e-05/0.01002, allocations: 55.36 kB / 0.9547 GB, free: 7.27 MB / 0.8575 GB Notification: Performance of simCode: alias equations: time 6.529e-05/0.01008, allocations: 3.984 kB / 0.9547 GB, free: 7.266 MB / 0.8575 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.131e-05/0.01011, allocations: 12.5 kB / 0.9547 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of SimCode: time 3.71e-07/0.01011, allocations: 0 / 0.9547 GB, free: 7.254 MB / 0.8575 GB Notification: Performance of Templates: time 0.005429/0.01554, allocations: 1.235 MB / 0.9559 GB, free: 6.035 MB / 0.8575 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=400 -emit_protected -lv LOG_STATS > Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.pipe 2>&1) [Timeout 400] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_11_Buildings.Fluid.Geothermal.Boreholes.BaseClasses.Examples.ExchangeValues.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 300] "" [Timeout remaining time 300] Reference file matches [Calling sys.exit(0), Time elapsed: 8.163806460797787]