Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008361/0.0008361, allocations: 81.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00118/0.002016, 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.001755/0.001755, allocations: 161.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.002054/0.003809, 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 1.026/1.026, allocations: 177.2 MB / 189.8 MB, free: 5.254 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08775/1.114, allocations: 53.66 MB / 243.4 MB, free: 15.51 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.848/1.848, allocations: 378.4 MB / 0.6079 GB, free: 7.695 MB / 0.5886 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5003/2.348, allocations: 123.3 MB / 0.7283 GB, free: 5.734 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.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="mat",numberOfIntervals=2500,variableFilter="time|ym2|ym1|y|y1|y2",fileNamePrefix="Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.663e-06/1.663e-06, allocations: 0 / 0.7297 GB, free: 4.348 MB / 0.698 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.883e-05/2.049e-05, allocations: 2.312 kB / 0.7297 GB, free: 4.344 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.001403/0.001424, allocations: 0.6697 MB / 0.7304 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0001086/0.001532, allocations: 60.56 kB / 0.7304 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.108e-05/0.001543, allocations: 0.6875 kB / 0.7304 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 3.506e-06/0.001547, allocations: 0 / 0.7304 GB, free: 3.645 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 3.777e-06/0.001551, allocations: 5.719 kB / 0.7304 GB, free: 3.641 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001044/0.001655, allocations: 24.89 kB / 0.7305 GB, free: 3.617 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.645e-05/0.001701, allocations: 11.98 kB / 0.7305 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 3.493e-05/0.001736, allocations: 1.094 kB / 0.7305 GB, free: 3.605 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 4.266e-05/0.001779, allocations: 13.81 kB / 0.7305 GB, free: 3.594 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 4.834e-05/0.001827, allocations: 9.078 kB / 0.7305 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.023e-05/0.001838, allocations: 1.656 kB / 0.7305 GB, free: 3.586 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.983e-05/0.001917, allocations: 11.98 kB / 0.7305 GB, free: 3.574 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.398e-05/0.001931, allocations: 4.547 kB / 0.7305 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 1.17e-05/0.001943, allocations: 1.312 kB / 0.7305 GB, free: 3.57 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.493e-05/0.002028, allocations: 21.02 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 1.142e-05/0.002039, allocations: 1.219 kB / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of FrontEnd: time 5.62e-07/0.00204, allocations: 0 / 0.7305 GB, free: 3.551 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.258e-05/0.002053, allocations: 0 / 0.7305 GB, free: 3.551 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003111/0.002364, allocations: 230.2 kB / 0.7308 GB, free: 3.301 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.002404, allocations: 9 kB / 0.7308 GB, free: 3.293 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.774e-05/0.002441, allocations: 8.922 kB / 0.7308 GB, free: 3.285 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.902e-05/0.00251, allocations: 101.8 kB / 0.7309 GB, free: 3.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.1e-05/0.002521, allocations: 4.906 kB / 0.7309 GB, free: 3.156 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.124e-05/0.002533, allocations: 6.297 kB / 0.7309 GB, free: 3.152 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.949e-05/0.002622, allocations: 66.48 kB / 0.7309 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.132e-06/0.002628, allocations: 192 / 0.7309 GB, free: 3.066 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.002636, allocations: 5.25 kB / 0.7309 GB, free: 3.062 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.231e-06/0.002642, allocations: 4.375 kB / 0.731 GB, free: 3.059 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.013e-05/0.002662, allocations: 17.3 kB / 0.731 GB, free: 3.043 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.801e-05/0.00276, allocations: 84.14 kB / 0.731 GB, free: 2.938 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.518e-05/0.002835, allocations: 101.7 kB / 0.7311 GB, free: 2.793 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.729e-05/0.002862, allocations: 30.48 kB / 0.7312 GB, free: 2.75 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001078/0.00297, allocations: 12.88 kB / 0.7312 GB, free: 2.738 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.524e-05/0.002995, allocations: 46.48 kB / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 9.02e-07/0.002996, allocations: 0 / 0.7312 GB, free: 2.684 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001168/0.003113, allocations: 58.75 kB / 0.7313 GB, free: 2.621 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.841e-05/0.003172, allocations: 158.7 kB / 0.7314 GB, free: 2.43 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.731e-05/0.003199, allocations: 90.73 kB / 0.7315 GB, free: 2.332 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.989e-06/0.003209, allocations: 25.7 kB / 0.7315 GB, free: 2.301 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.005026/0.008235, allocations: 80.14 kB / 0.7316 GB, free: 2.219 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.575e-05/0.008271, allocations: 25.73 kB / 0.7316 GB, free: 2.195 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.263e-05/0.008303, allocations: 21.7 kB / 0.7317 GB, free: 2.168 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 7.943e-05/0.008383, allocations: 319.3 kB / 0.732 GB, free: 1.848 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.425e-05/0.008397, allocations: 7.984 kB / 0.732 GB, free: 1.84 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.614e-05/0.008423, allocations: 29.55 kB / 0.732 GB, free: 1.797 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.763e-05/0.008481, allocations: 53.83 kB / 0.7321 GB, free: 1.73 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.874e-06/0.008483, allocations: 0 / 0.7321 GB, free: 1.73 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.408e-05/0.008557, allocations: 55.22 kB / 0.7321 GB, free: 1.672 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.008568, allocations: 4 kB / 0.7321 GB, free: 1.668 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.45e-06/0.008574, allocations: 4.688 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.008585, allocations: 1.312 kB / 0.7321 GB, free: 1.664 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.305e-05/0.008648, allocations: 13.77 kB / 0.7321 GB, free: 1.652 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.807e-06/0.008652, allocations: 4 kB / 0.7321 GB, free: 1.648 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.206e-05/0.008674, allocations: 3.953 kB / 0.7321 GB, free: 1.645 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.008682, allocations: 4 kB / 0.7321 GB, free: 1.641 MB / 0.698 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 5.494e-05/0.008737, allocations: 122.9 kB / 0.7323 GB, free: 1.512 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.483e-05/0.008752, allocations: 7.984 kB / 0.7323 GB, free: 1.504 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001423/0.008894, allocations: 86.94 kB / 0.7324 GB, free: 1.414 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.138e-06/0.008898, allocations: 4 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.445e-06/0.008901, allocations: 0.6562 kB / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.018e-06/0.008905, allocations: 0 / 0.7324 GB, free: 1.41 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.094e-05/0.008996, allocations: 83.89 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.303e-06/0.008997, allocations: 0.9844 kB / 0.7324 GB, free: 1.312 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.29e-05/0.00904, allocations: 15.98 kB / 0.7325 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 6.222e-06/0.009046, allocations: 7.953 kB / 0.7325 GB, free: 1.289 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.835e-06/0.009049, allocations: 4 kB / 0.7325 GB, free: 1.285 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.009055, allocations: 7.156 kB / 0.7325 GB, free: 1.281 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.637e-06/0.009059, allocations: 7.984 kB / 0.7325 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.00906, allocations: 0 / 0.7325 GB, free: 1.273 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.997e-05/0.00915, allocations: 100.4 kB / 0.7326 GB, free: 1.145 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.202e-05/0.009162, allocations: 11.98 kB / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.933e-05/0.009181, allocations: 0.5469 kB / 0.7326 GB, free: 1.133 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.667e-05/0.009198, allocations: 7.938 kB / 0.7326 GB, free: 1.125 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.061e-06/0.009204, allocations: 7.984 kB / 0.7326 GB, free: 1.117 MB / 0.698 GB Notification: Performance of sorting global known variables: time 7.103e-06/0.009211, allocations: 7.297 kB / 0.7326 GB, free: 1.109 MB / 0.698 GB Notification: Performance of sort global known variables: time 6e-08/0.009211, allocations: 0 / 0.7326 GB, free: 1.109 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001642/0.009376, allocations: 8.766 kB / 0.7326 GB, free: 1.102 MB / 0.698 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.0001092/0.009485, allocations: 88.34 kB / 0.7327 GB, free: 1.004 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.009566, allocations: 39.52 kB / 0.7327 GB, free: 0.9648 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 4.728e-06/0.009571, allocations: 4 kB / 0.7327 GB, free: 0.9609 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.85e-05/0.009609, allocations: 33 kB / 0.7328 GB, free: 0.9297 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 7.856e-05/0.009688, allocations: 8.766 kB / 0.7328 GB, free: 0.9219 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002037/0.009891, allocations: 146.3 kB / 0.7329 GB, free: 0.7422 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.583e-05/0.009927, allocations: 67.28 kB / 0.733 GB, free: 0.6562 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 2.998e-05/0.009957, allocations: 6.75 kB / 0.733 GB, free: 0.6523 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.152e-05/0.009999, allocations: 55.38 kB / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of SimCode: time 5.51e-07/0.009999, allocations: 0 / 0.733 GB, free: 0.5977 MB / 0.698 GB Notification: Performance of Templates: time 0.005179/0.01518, allocations: 0.6342 MB / 0.7337 GB, free: 4 kB / 0.698 GB " [Timeout remaining time 300] make -j1 -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.makefile [Timeout 300] (rm -f Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1) [Timeout 240] diffSimulationResults("Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round/Buildings_12_Buildings.Utilities.Math.Functions.Examples.Round.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.862425373867154]