Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") translateModel(Buildings.Utilities.Math.Functions.Examples.Round,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.693/1.693, allocations: 297.4 MB / 312.6 MB, free: 2.93 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009888/0.0009888, allocations: 189.2 kB / 382.3 MB, free: 14.83 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.358/1.358, allocations: 225.7 MB / 0.6617 GB, free: 7.195 MB / 490.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007807/0.0007808, allocations: 96.73 kB / 0.7789 GB, free: 46.91 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003341/0.0003341, allocations: 12 kB / 0.9058 GB, free: 4.938 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6017/0.6021, allocations: 119.2 MB / 1.022 GB, free: 57.87 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Utilities.Math.Functions.Examples.Round): time 0.0008227/0.603, allocations: 330.2 kB / 1.023 GB, free: 57.73 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0002945/0.6033, allocations: 140.2 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.37e-05/0.6033, allocations: 1.5 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.636e-05/0.6033, allocations: 5.469 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.893e-06/0.6033, allocations: 2.438 kB / 1.023 GB, free: 57.61 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002091/0.6035, allocations: 22.91 kB / 1.023 GB, free: 57.6 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 4.846e-05/0.6036, allocations: 10.58 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 4.53e-05/0.6037, allocations: 2.125 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 1.859e-05/0.6037, allocations: 10.2 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.995e-05/0.6037, allocations: 8.297 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 8.897e-06/0.6038, allocations: 0.625 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 7.527e-05/0.6038, allocations: 15.2 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.19e-05/0.6039, allocations: 1.406 kB / 1.023 GB, free: 57.59 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.058e-05/0.6039, allocations: 34.2 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.383e-05/0.604, allocations: 23.36 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.604, allocations: 4.125 kB / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.693e-06/0.604, allocations: 0 / 1.023 GB, free: 57.55 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.468e-06/0.604, allocations: 0 / 1.023 GB, free: 57.55 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.0002958/0.6043, allocations: 319.9 kB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.6044, allocations: 10.56 kB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.153e-05/0.6044, allocations: 8.344 kB / 1.023 GB, free: 57.19 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 5.962e-05/0.6045, allocations: 164.3 kB / 1.023 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.29e-05/0.6045, allocations: 2.062 kB / 1.023 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.6045, allocations: 3.25 kB / 1.023 GB, free: 56.99 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001231/0.6046, allocations: 72.8 kB / 1.023 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.496e-06/0.6047, allocations: 4.125 kB / 1.023 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.086e-05/0.6047, allocations: 5.5 kB / 1.023 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.839e-06/0.6047, allocations: 0 / 1.023 GB, free: 56.91 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.478e-05/0.6047, allocations: 16.17 kB / 1.023 GB, free: 56.9 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000143/0.6049, allocations: 189.6 kB / 1.024 GB, free: 56.67 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.642e-05/0.6049, allocations: 94.39 kB / 1.024 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.449e-05/0.605, allocations: 38.61 kB / 1.024 GB, free: 56.5 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001575/0.6052, allocations: 87.97 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.037e-05/0.6052, allocations: 32 kB / 1.024 GB, free: 56.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=5): time 1.022e-06/0.6052, allocations: 0 / 1.024 GB, free: 56.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=5): time 0.0001836/0.6054, allocations: 82.27 kB / 1.024 GB, free: 56.31 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.044e-05/0.6054, allocations: 157.3 kB / 1.024 GB, free: 56.12 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 1.808e-05/0.6055, allocations: 90.8 kB / 1.024 GB, free: 56.03 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 7.985e-06/0.6055, allocations: 26.52 kB / 1.024 GB, free: 56 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 1.213e-05/0.6055, allocations: 80.8 kB / 1.024 GB, free: 55.91 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 3.497e-05/0.6055, allocations: 19.75 kB / 1.024 GB, free: 55.9 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.447e-06/0.6055, allocations: 0.625 kB / 1.024 GB, free: 55.9 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.107e-05/0.6056, allocations: 317 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.539e-05/0.6056, allocations: 3.5 kB / 1.025 GB, free: 55.59 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.615e-05/0.6056, allocations: 39.81 kB / 1.025 GB, free: 55.54 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.809e-05/0.6057, allocations: 52.36 kB / 1.025 GB, free: 55.49 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.6057, allocations: 0.6875 kB / 1.025 GB, free: 55.49 MB / 0.698 GB Notification: Performance of matching and sorting (n=5) (initialization): time 8.773e-05/0.6058, allocations: 72.09 kB / 1.025 GB, free: 55.44 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.319e-05/0.6058, allocations: 9.375 kB / 1.025 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.6058, allocations: 3.453 kB / 1.025 GB, free: 55.44 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.375e-05/0.6059, allocations: 5.25 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.6059, allocations: 8.188 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.105e-06/0.606, allocations: 6.391 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.849e-05/0.606, allocations: 5.688 kB / 1.025 GB, free: 55.43 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.956e-06/0.606, allocations: 5.953 kB / 1.025 GB, free: 55.43 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.045e-05/0.6061, allocations: 115.6 kB / 1.025 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.408e-05/0.6061, allocations: 10.78 kB / 1.025 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001758/0.6063, allocations: 105.3 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.235e-06/0.6063, allocations: 0 / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.6063, allocations: 1.531 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.6063, allocations: 5.406 kB / 1.025 GB, free: 55.23 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.803e-05/0.6064, allocations: 169.6 kB / 1.025 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.6064, allocations: 0 / 1.025 GB, free: 55.04 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.892e-05/0.6064, allocations: 17.16 kB / 1.025 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.476e-06/0.6065, allocations: 4.078 kB / 1.025 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.6065, allocations: 8.469 kB / 1.025 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.6065, allocations: 0 / 1.025 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.6065, allocations: 1.438 kB / 1.025 GB, free: 55.03 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001138/0.6066, allocations: 124.3 kB / 1.025 GB, free: 54.91 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.145e-05/0.6066, allocations: 88.17 kB / 1.025 GB, free: 54.81 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.379e-05/0.6066, allocations: 5.594 kB / 1.025 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.965e-05/0.6067, allocations: 1.469 kB / 1.025 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.072e-05/0.6067, allocations: 15.17 kB / 1.025 GB, free: 54.8 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.673e-06/0.6067, allocations: 4.094 kB / 1.025 GB, free: 54.8 MB / 0.698 GB Notification: Performance of sorting global known variables: time 1.204e-05/0.6067, allocations: 79.22 kB / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.01e-07/0.6067, allocations: 0 / 1.026 GB, free: 54.72 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002231/0.607, allocations: 10.09 kB / 1.026 GB, free: 54.71 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.0001498/0.6071, allocations: 117.4 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 9.967e-05/0.6072, allocations: 30.66 kB / 1.026 GB, free: 54.62 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.6072, allocations: 4.312 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 3.24e-05/0.6073, allocations: 25.17 kB / 1.026 GB, free: 54.61 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001435/0.6074, allocations: 12.09 kB / 1.026 GB, free: 54.6 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002336/0.6077, allocations: 161 kB / 1.026 GB, free: 54.43 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001082/0.6078, allocations: 0.6795 MB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.113e-05/0.6078, allocations: 10.62 kB / 1.027 GB, free: 53.74 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.345e-05/0.6079, allocations: 12.22 kB / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of SimCode: time 2.3e-07/0.6079, allocations: 0 / 1.027 GB, free: 53.73 MB / 0.698 GB Notification: Performance of Templates: time 0.002512/0.6104, allocations: 0.5418 MB / 1.027 GB, free: 53.66 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.makefile (rm -f Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; mkfifo Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe ; head -c 1048576 < Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe >> ../files/Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.sim & ./Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Utilities.Math.Functions.Examples.Round.pipe 2>&1)