Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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.001097/0.001097, allocations: 77.17 kB / 9.992 MB, free: 0.6914 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00168/0.002777, allocations: 451.9 kB / 10.43 MB, free: 256 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.001144/0.001144, allocations: 157.2 kB / 11.34 MB, free: 2.828 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00153/0.002675, allocations: 475.5 kB / 11.81 MB, free: 2.359 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.9973/0.9973, allocations: 177.2 MB / 189.7 MB, free: 5.238 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08905/1.086, 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/IBPSA 4.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6247/0.6247, allocations: 120.3 MB / 364.5 MB, free: 2.324 MB / 346.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.06449/0.6891, allocations: 38.24 MB / 402.7 MB, free: 11.96 MB / 394.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-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(IBPSA.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round") translateModel(IBPSA.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.563e-06/1.563e-06, allocations: 0 / 404.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.297e-06/1.086e-05, allocations: 2.312 kB / 404.1 MB, free: 10.57 MB / 394.7 MB Notification: Performance of NFInst.instantiate(IBPSA.Utilities.Math.Functions.Examples.Round): time 0.001526/0.001536, allocations: 0.6656 MB / 404.8 MB, free: 9.902 MB / 394.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001263/0.001663, allocations: 63.78 kB / 404.8 MB, free: 9.84 MB / 394.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.291e-05/0.001676, allocations: 0 / 404.8 MB, free: 9.84 MB / 394.7 MB Notification: Performance of NFTyping.typeComponents: time 4.929e-06/0.00168, allocations: 0 / 404.8 MB, free: 9.84 MB / 394.7 MB Notification: Performance of NFTyping.typeBindings: time 4.909e-06/0.001685, allocations: 3.938 kB / 404.8 MB, free: 9.836 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001052/0.001791, allocations: 15.92 kB / 404.9 MB, free: 9.82 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 5.832e-05/0.001849, allocations: 11.98 kB / 404.9 MB, free: 9.809 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.146e-05/0.00189, allocations: 8 kB / 404.9 MB, free: 9.801 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.587e-05/0.001936, allocations: 15.92 kB / 404.9 MB, free: 9.785 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.982e-05/0.001986, allocations: 4 kB / 404.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 1.167e-05/0.001998, allocations: 0 / 404.9 MB, free: 9.781 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.536e-05/0.002083, allocations: 19.97 kB / 404.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 1.286e-05/0.002096, allocations: 0 / 404.9 MB, free: 9.762 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 1.419e-05/0.00211, allocations: 4 kB / 404.9 MB, free: 9.758 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 8.343e-05/0.002194, allocations: 19.86 kB / 404.9 MB, free: 9.738 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.419e-05/0.002208, allocations: 0 / 404.9 MB, free: 9.738 MB / 394.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.002208, allocations: 0 / 404.9 MB, free: 9.738 MB / 394.7 MB Notification: Performance of Transformations before backend: time 9.558e-06/0.002218, allocations: 0 / 404.9 MB, free: 9.738 MB / 394.7 MB 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.0003422/0.00256, allocations: 236.7 kB / 405.2 MB, free: 9.48 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.243e-05/0.002593, allocations: 8.031 kB / 405.2 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.189e-05/0.002624, allocations: 0.9375 kB / 405.2 MB, free: 9.473 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.31e-05/0.002688, allocations: 109.8 kB / 405.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.568e-06/0.002697, allocations: 384 / 405.3 MB, free: 9.34 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.716e-06/0.002706, allocations: 4.375 kB / 405.3 MB, free: 9.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001096/0.002815, allocations: 78.45 kB / 405.4 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.002823, allocations: 192 / 405.4 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.554e-06/0.00283, allocations: 384 / 405.4 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.002837, allocations: 384 / 405.4 MB, free: 9.238 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.88e-05/0.002866, allocations: 19.88 kB / 405.4 MB, free: 9.219 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001121/0.002978, allocations: 96.53 kB / 405.5 MB, free: 9.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.16e-05/0.00306, allocations: 96.98 kB / 405.6 MB, free: 8.957 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.167e-05/0.003091, allocations: 32.41 kB / 405.6 MB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001193/0.003211, allocations: 7.984 kB / 405.6 MB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.183e-05/0.003243, allocations: 42.5 kB / 405.7 MB, free: 8.852 MB / 394.7 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.003244, allocations: 0 / 405.7 MB, free: 8.852 MB / 394.7 MB Notification: Performance of matching and sorting (n=5): time 0.000129/0.003373, allocations: 62.06 kB / 405.7 MB, free: 8.785 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.07e-05/0.003444, allocations: 158.2 kB / 405.9 MB, free: 8.594 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.436e-05/0.003478, allocations: 93.86 kB / 406 MB, free: 8.492 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.003491, allocations: 29.7 kB / 406 MB, free: 8.457 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.256e-05/0.003513, allocations: 84.08 kB / 406.1 MB, free: 8.371 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.59e-05/0.003549, allocations: 11.86 kB / 406.1 MB, free: 8.359 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.123e-05/0.00358, allocations: 25.66 kB / 406.1 MB, free: 8.328 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.472e-05/0.003675, allocations: 326.8 kB / 406.4 MB, free: 8 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.049e-05/0.003685, allocations: 0 / 406.4 MB, free: 8 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.989e-05/0.003715, allocations: 32.3 kB / 406.5 MB, free: 7.953 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.987e-05/0.003775, allocations: 48.34 kB / 406.5 MB, free: 7.891 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.003777, allocations: 0 / 406.5 MB, free: 7.891 MB / 394.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.452e-05/0.003862, allocations: 61.55 kB / 406.6 MB, free: 7.824 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.389e-05/0.003876, allocations: 4 kB / 406.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.438e-06/0.00388, allocations: 160 / 406.6 MB, free: 7.82 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.088e-05/0.003891, allocations: 8 kB / 406.6 MB, free: 7.812 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.894e-05/0.00396, allocations: 11.98 kB / 406.6 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.848e-06/0.003964, allocations: 0 / 406.6 MB, free: 7.801 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.422e-05/0.003988, allocations: 4 kB / 406.6 MB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.532e-06/0.003995, allocations: 0 / 406.6 MB, free: 7.797 MB / 394.7 MB 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 6.495e-05/0.00406, allocations: 125.7 kB / 406.7 MB, free: 7.664 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.438e-05/0.004074, allocations: 4 kB / 406.7 MB, free: 7.66 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001496/0.004223, allocations: 84.47 kB / 406.8 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.234e-06/0.004226, allocations: 0 / 406.8 MB, free: 7.574 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.266e-06/0.004229, allocations: 4.125 kB / 406.8 MB, free: 7.57 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.59e-06/0.004235, allocations: 3.984 kB / 406.8 MB, free: 7.566 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001026/0.004337, allocations: 77.84 kB / 406.9 MB, free: 7.473 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.827e-06/0.004341, allocations: 4 kB / 406.9 MB, free: 7.469 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.704e-05/0.004398, allocations: 15.98 kB / 406.9 MB, free: 7.453 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.092e-05/0.004409, allocations: 11.94 kB / 406.9 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.655e-06/0.004412, allocations: 160 / 406.9 MB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.36e-06/0.004417, allocations: 8 kB / 406.9 MB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/0.004419, allocations: 0 / 406.9 MB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.004421, allocations: 4 kB / 406.9 MB, free: 7.43 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001007/0.004522, allocations: 108.4 kB / 407 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.847e-06/0.004531, allocations: 0 / 407 MB, free: 7.293 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.418e-05/0.004555, allocations: 8 kB / 407 MB, free: 7.285 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.2e-05/0.004577, allocations: 11.92 kB / 407.1 MB, free: 7.273 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.218e-06/0.004581, allocations: 0 / 407.1 MB, free: 7.273 MB / 394.7 MB Notification: Performance of sorting global known variables: time 8.576e-06/0.00459, allocations: 8.859 kB / 407.1 MB, free: 7.262 MB / 394.7 MB Notification: Performance of sort global known variables: time 7e-08/0.00459, allocations: 3.938 kB / 407.1 MB, free: 7.258 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0001844/0.004774, allocations: 12 kB / 407.1 MB, free: 7.246 MB / 394.7 MB 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.0001168/0.004891, allocations: 84.34 kB / 407.2 MB, free: 7.156 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.000135/0.005026, allocations: 35.86 kB / 407.2 MB, free: 7.121 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.958e-06/0.00503, allocations: 0 / 407.2 MB, free: 7.121 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 5.644e-05/0.005086, allocations: 32.7 kB / 407.2 MB, free: 7.09 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.919e-05/0.005176, allocations: 8 kB / 407.2 MB, free: 7.082 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002338/0.005409, allocations: 160.1 kB / 407.4 MB, free: 6.887 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.522e-05/0.005445, allocations: 55.36 kB / 407.4 MB, free: 6.812 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 3.67e-05/0.005481, allocations: 11.92 kB / 407.5 MB, free: 6.801 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.005526, allocations: 55.38 kB / 407.5 MB, free: 6.746 MB / 394.7 MB Notification: Performance of SimCode: time 4.21e-07/0.005527, allocations: 0 / 407.5 MB, free: 6.746 MB / 394.7 MB Notification: Performance of Templates: time 0.00217/0.007697, allocations: 0.6341 MB / 408.1 MB, free: 6.109 MB / 394.7 MB " [Timeout remaining time 660] make -j1 -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.makefile [Timeout 660] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe >> ../files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.sim & (cd run_cvode && ../IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_dassl.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_dassl.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_dassl.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_dassl.sim & (cd run_dassl && ../IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s dassl) > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_dassl.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_gbode.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_gbode.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_gbode.sim & (cd run_gbode && ../IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_gbode.pipe 2>&1) [Timeout 240] (rm -f IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_ida.pipe ; mkfifo IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_ida.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_ida.sim & (cd run_ida && ../IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > IBPSA_latest_IBPSA.Utilities.Math.Functions.Examples.Round_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 3.2970342114567757]