Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.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.001367/0.001367, allocations: 80.92 kB / 20.75 MB, free: 3.738 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.001493/0.001493, allocations: 165 kB / 24.17 MB, free: 328 kB / 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 1.017/1.017, allocations: 177.1 MB / 204.6 MB, free: 5.484 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 1.943/1.943, allocations: 389.6 MB / 0.6354 GB, free: 12.3 MB / 0.6042 GB " [Timeout remaining time 178] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 0 / 0.7753 GB, free: 5.316 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.419e-05/2.591e-05, allocations: 2.312 kB / 0.7753 GB, free: 5.312 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.002075/0.002101, allocations: 0.6739 MB / 0.7759 GB, free: 4.664 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0002971/0.002398, allocations: 59.78 kB / 0.776 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.77e-05/0.002415, allocations: 0.7656 kB / 0.776 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 2.109e-05/0.002436, allocations: 0 / 0.776 GB, free: 4.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 1.017e-05/0.002447, allocations: 3.938 kB / 0.776 GB, free: 4.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002375/0.002684, allocations: 22.72 kB / 0.776 GB, free: 4.582 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 5.315e-05/0.002737, allocations: 4.656 kB / 0.776 GB, free: 4.578 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.002782, allocations: 7.984 kB / 0.776 GB, free: 4.57 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 4.098e-05/0.002823, allocations: 8.766 kB / 0.776 GB, free: 4.562 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 5.293e-05/0.002876, allocations: 12.84 kB / 0.776 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.369e-05/0.002889, allocations: 0 / 0.776 GB, free: 4.551 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 9.184e-05/0.002981, allocations: 14.47 kB / 0.776 GB, free: 4.539 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.8e-05/0.002999, allocations: 5.078 kB / 0.776 GB, free: 4.535 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.773e-05/0.003017, allocations: 8.875 kB / 0.7761 GB, free: 4.527 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 9.731e-05/0.003114, allocations: 16.56 kB / 0.7761 GB, free: 4.512 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.284e-06/0.003117, allocations: 4 kB / 0.7761 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.31e-07/0.003117, allocations: 0 / 0.7761 GB, free: 4.508 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.097e-06/0.003121, allocations: 0 / 0.7761 GB, free: 4.508 MB / 0.7292 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000281/0.003403, allocations: 230.8 kB / 0.7763 GB, free: 4.258 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.97e-05/0.003442, allocations: 10.03 kB / 0.7763 GB, free: 4.25 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.003472, allocations: 4.938 kB / 0.7763 GB, free: 4.246 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.895e-05/0.003541, allocations: 102.4 kB / 0.7764 GB, free: 4.121 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.441e-05/0.003555, allocations: 4.938 kB / 0.7764 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.362e-06/0.003562, allocations: 384 / 0.7764 GB, free: 4.117 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001095/0.003671, allocations: 75.06 kB / 0.7765 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.075e-06/0.003679, allocations: 1.688 kB / 0.7765 GB, free: 4.023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.003687, allocations: 4.375 kB / 0.7765 GB, free: 4.02 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.003695, allocations: 4.375 kB / 0.7765 GB, free: 4.016 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.308e-05/0.003718, allocations: 13 kB / 0.7765 GB, free: 4.004 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001195/0.003837, allocations: 89.42 kB / 0.7766 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 8.441e-05/0.003922, allocations: 101.9 kB / 0.7767 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.341e-05/0.003955, allocations: 36.3 kB / 0.7767 GB, free: 3.695 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001248/0.00408, allocations: 13.3 kB / 0.7767 GB, free: 3.684 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.782e-05/0.004108, allocations: 39.25 kB / 0.7768 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=5): time 1.243e-06/0.004109, allocations: 0 / 0.7768 GB, free: 3.637 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5): time 0.0001299/0.004239, allocations: 59.09 kB / 0.7768 GB, free: 3.574 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.908e-05/0.004308, allocations: 163.6 kB / 0.777 GB, free: 3.379 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.975e-05/0.004338, allocations: 89.86 kB / 0.7771 GB, free: 3.281 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.091e-05/0.004349, allocations: 26.47 kB / 0.7771 GB, free: 3.25 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.299e-05/0.004372, allocations: 84.08 kB / 0.7772 GB, free: 3.164 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.809e-05/0.00441, allocations: 20.8 kB / 0.7772 GB, free: 3.145 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.305e-05/0.004443, allocations: 23.42 kB / 0.7772 GB, free: 3.117 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 9.215e-05/0.004535, allocations: 318.8 kB / 0.7775 GB, free: 2.797 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.213e-05/0.004547, allocations: 4 kB / 0.7775 GB, free: 2.793 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.805e-05/0.004575, allocations: 28.3 kB / 0.7776 GB, free: 2.75 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.301e-05/0.004638, allocations: 54.81 kB / 0.7776 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.00464, allocations: 0 / 0.7776 GB, free: 2.684 MB / 0.7292 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.339e-05/0.004724, allocations: 59.11 kB / 0.7777 GB, free: 2.621 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.39e-05/0.004738, allocations: 4 kB / 0.7777 GB, free: 2.617 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.004743, allocations: 4.875 kB / 0.7777 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.252e-05/0.004756, allocations: 0.875 kB / 0.7777 GB, free: 2.613 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.417e-05/0.00482, allocations: 8.938 kB / 0.7777 GB, free: 2.605 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.004826, allocations: 11.97 kB / 0.7777 GB, free: 2.594 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.629e-05/0.004853, allocations: 3.984 kB / 0.7777 GB, free: 2.59 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.004861, allocations: 5.75 kB / 0.7777 GB, free: 2.586 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.347e-05/0.004935, allocations: 117.7 kB / 0.7778 GB, free: 2.461 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.614e-05/0.004951, allocations: 4 kB / 0.7778 GB, free: 2.457 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001534/0.005104, allocations: 86.91 kB / 0.7779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.705e-06/0.005107, allocations: 2.328 kB / 0.7779 GB, free: 2.367 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.005111, allocations: 4 kB / 0.7779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.567e-06/0.005114, allocations: 0 / 0.7779 GB, free: 2.363 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001003/0.005215, allocations: 81.75 kB / 0.778 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.707e-06/0.005218, allocations: 4.688 kB / 0.778 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.071e-05/0.005269, allocations: 12.78 kB / 0.778 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.005272, allocations: 0 / 0.778 GB, free: 2.25 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.37e-06/0.005277, allocations: 4.938 kB / 0.778 GB, free: 2.246 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.00528, allocations: 3.984 kB / 0.778 GB, free: 2.242 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.335e-06/0.005283, allocations: 4 kB / 0.778 GB, free: 2.238 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001024/0.005385, allocations: 105 kB / 0.7781 GB, free: 2.105 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.145e-05/0.005396, allocations: 13.23 kB / 0.7781 GB, free: 2.094 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.334e-05/0.00541, allocations: 5.406 kB / 0.7781 GB, free: 2.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.388e-05/0.005434, allocations: 7.938 kB / 0.7781 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.888e-05/0.005453, allocations: 7.984 kB / 0.7781 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.005458, allocations: 0 / 0.7781 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 6.993e-06/0.005465, allocations: 5.766 kB / 0.7781 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005465, allocations: 0 / 0.7781 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001993/0.005664, allocations: 15.62 kB / 0.7782 GB, free: 2.055 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (9): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * 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.0001367/0.005801, allocations: 84.34 kB / 0.7782 GB, free: 1.965 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0001078/0.005909, allocations: 44.66 kB / 0.7783 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.005912, allocations: 0 / 0.7783 GB, free: 1.918 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.738e-05/0.005939, allocations: 27.53 kB / 0.7783 GB, free: 1.891 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.111e-05/0.00603, allocations: 8 kB / 0.7783 GB, free: 1.883 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002339/0.006264, allocations: 141.2 kB / 0.7785 GB, free: 1.707 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.835e-05/0.006302, allocations: 55.36 kB / 0.7785 GB, free: 1.633 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.07e-05/0.006343, allocations: 10.81 kB / 0.7785 GB, free: 1.625 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.784e-05/0.006391, allocations: 59.36 kB / 0.7786 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of SimCode: time 6.71e-07/0.006391, allocations: 0 / 0.7786 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of Templates: time 0.002411/0.008802, allocations: 0.6425 MB / 0.7792 GB, free: 0.9609 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.sim & (cd run_cvode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_gbode.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_ida.pipe ; mkfifo Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Utilities.Math.Functions.Examples.Round_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.03537028376013]