Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.523/2.523, allocations: 287.5 MB / 302.5 MB, free: 8.238 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001507/0.001507, allocations: 181.8 kB / 371 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.106/2.106, allocations: 205.4 MB / 0.6297 GB, free: 10.51 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001084/0.001084, allocations: 89.67 kB / 0.743 GB, free: 6.508 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0007156/0.0007157, allocations: 17.08 kB / 0.8658 GB, free: 141.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2423/0.243, allocations: 115.3 MB / 0.9784 GB, free: 28.28 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.107/1.35, allocations: 137.4 MB / 1.113 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002446/1.351, allocations: 72.53 kB / 1.113 GB, free: 15.78 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00311/1.354, allocations: 0.7068 MB / 1.113 GB, free: 31.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.953e-06/1.354, allocations: 0 / 1.113 GB, free: 31.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 9.979e-06/1.354, allocations: 0 / 1.113 GB, free: 31.45 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004878/1.354, allocations: 338.4 kB / 1.114 GB, free: 31.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.256e-05/1.355, allocations: 11.56 kB / 1.114 GB, free: 31.1 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/1.355, allocations: 4.531 kB / 1.114 GB, free: 31.09 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000126/1.355, allocations: 164.6 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.717e-05/1.355, allocations: 15.53 kB / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.233e-05/1.355, allocations: 0 / 1.114 GB, free: 30.89 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/1.355, allocations: 58.33 kB / 1.114 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.696e-06/1.355, allocations: 3.844 kB / 1.114 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/1.355, allocations: 0 / 1.114 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/1.355, allocations: 0 / 1.114 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003048/1.355, allocations: 48.39 kB / 1.114 GB, free: 30.85 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004122/1.356, allocations: 253.5 kB / 1.114 GB, free: 30.58 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002149/1.356, allocations: 50.23 kB / 1.114 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.12e-05/1.356, allocations: 0 / 1.114 GB, free: 30.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.7e-05/1.356, allocations: 33.81 kB / 1.114 GB, free: 30.51 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.774e-06/1.356, allocations: 0 / 1.114 GB, free: 30.51 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005788/1.357, allocations: 102 kB / 1.114 GB, free: 30.48 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.419e-05/1.357, allocations: 53.05 kB / 1.114 GB, free: 30.41 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.802e-05/1.357, allocations: 96.52 kB / 1.115 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.03e-05/1.357, allocations: 25.7 kB / 1.115 GB, free: 30.29 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 5.001e-05/1.357, allocations: 81.36 kB / 1.115 GB, free: 30.21 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.894e-05/1.357, allocations: 11.34 kB / 1.115 GB, free: 30.2 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.741e-06/1.357, allocations: 0 / 1.115 GB, free: 30.2 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001388/1.357, allocations: 319.1 kB / 1.115 GB, free: 29.89 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/1.357, allocations: 24.16 kB / 1.115 GB, free: 29.88 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001439/1.357, allocations: 26.48 kB / 1.115 GB, free: 29.88 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/1.358, allocations: 23.75 kB / 1.115 GB, free: 29.88 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/1.358, allocations: 2.188 kB / 1.115 GB, free: 29.88 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003945/1.358, allocations: 81.89 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.856e-05/1.358, allocations: 3.844 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/1.358, allocations: 0 / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.595e-05/1.358, allocations: 3.75 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001564/1.358, allocations: 10.62 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.041e-06/1.358, allocations: 0 / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.862e-05/1.358, allocations: 10.67 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.009e-05/1.358, allocations: 6.469 kB / 1.115 GB, free: 29.84 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001079/1.359, allocations: 114 kB / 1.115 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.291e-05/1.359, allocations: 7.688 kB / 1.115 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.845e-05/1.359, allocations: 4.719 kB / 1.115 GB, free: 29.72 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.557e-06/1.359, allocations: 3.938 kB / 1.115 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/1.359, allocations: 192 / 1.115 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/1.359, allocations: 0 / 1.115 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002008/1.359, allocations: 169.2 kB / 1.115 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-06/1.359, allocations: 0 / 1.115 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001221/1.359, allocations: 14.36 kB / 1.115 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.258e-06/1.359, allocations: 5.203 kB / 1.115 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.348e-06/1.359, allocations: 3.938 kB / 1.115 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.004e-06/1.359, allocations: 0 / 1.115 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.863e-06/1.359, allocations: 3.875 kB / 1.115 GB, free: 29.51 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004125/1.36, allocations: 178 kB / 1.116 GB, free: 29.37 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.107e-05/1.36, allocations: 77.11 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.73e-05/1.36, allocations: 1.266 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/1.36, allocations: 10.5 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.088e-05/1.36, allocations: 5.438 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.476e-06/1.36, allocations: 5.109 kB / 1.116 GB, free: 29.28 MB / 0.698 GB Notification: Performance of sorting global known variables: time 5.227e-05/1.36, allocations: 84.38 kB / 1.116 GB, free: 29.2 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.01e-07/1.36, allocations: 3.938 kB / 1.116 GB, free: 29.2 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002863/1.36, allocations: 11.78 kB / 1.116 GB, free: 29.19 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (reaToInt.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001506/1.36, allocations: 103.6 kB / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0003641/1.361, allocations: 50.33 kB / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.565e-06/1.361, allocations: 0 / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001652/1.361, allocations: 28.52 kB / 1.116 GB, free: 29.1 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002408/1.361, allocations: 3.953 kB / 1.116 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003898/1.362, allocations: 111.2 kB / 1.116 GB, free: 28.98 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003437/1.362, allocations: 0.6769 MB / 1.117 GB, free: 28.29 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 5.608e-05/1.362, allocations: 13.19 kB / 1.117 GB, free: 28.28 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.014e-05/1.362, allocations: 10.69 kB / 1.117 GB, free: 28.27 MB / 0.698 GB Notification: Performance of SimCode: time 1.182e-06/1.362, allocations: 0 / 1.117 GB, free: 28.27 MB / 0.698 GB Notification: Performance of Templates: time 0.00302/1.365, allocations: 0.4886 MB / 1.117 GB, free: 28.23 MB / 0.698 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)