Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json 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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.598/2.598, allocations: 252.6 MB / 265.2 MB, free: 5.695 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001462/0.001462, allocations: 179.9 kB / 324.5 MB, free: 14.41 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.075/2.075, allocations: 205.4 MB / 0.5754 GB, free: 10.47 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001109/0.001109, allocations: 86.66 kB / 0.6797 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.248e-05/3.28e-05, allocations: 4 kB / 0.7911 GB, free: 96.6 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2029/0.2029, allocations: 106.2 MB / 0.8949 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9046/1.108, allocations: 131.2 MB / 1.023 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000317/1.108, allocations: 65.53 kB / 1.023 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003552/1.112, allocations: 0.7393 MB / 1.024 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.013e-06/1.112, allocations: 0 / 1.024 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.003e-06/1.112, allocations: 0 / 1.024 GB, free: 2.598 MB / 0.6355 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.0005731/1.112, allocations: 338.4 kB / 1.024 GB, free: 2.223 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.527e-05/1.112, allocations: 8.031 kB / 1.024 GB, free: 2.215 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.254e-05/1.112, allocations: 4 kB / 1.024 GB, free: 2.211 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001703/1.112, allocations: 169.6 kB / 1.024 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.349e-05/1.113, allocations: 4.75 kB / 1.024 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.153e-05/1.113, allocations: 4 kB / 1.024 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001406/1.113, allocations: 37.38 kB / 1.024 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/1.113, allocations: 0 / 1.024 GB, free: 1.965 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/1.113, allocations: 4 kB / 1.024 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.538e-06/1.113, allocations: 0 / 1.024 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.393e-05/1.113, allocations: 11.75 kB / 1.024 GB, free: 1.953 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005102/1.113, allocations: 262.8 kB / 1.025 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001002/1.114, allocations: 25.83 kB / 1.025 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.529e-05/1.114, allocations: 16.28 kB / 1.025 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.584e-05/1.114, allocations: 4 kB / 1.025 GB, free: 1.605 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.923e-05/1.114, allocations: 30.56 kB / 1.025 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.284e-06/1.114, allocations: 0 / 1.025 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002392/1.114, allocations: 49.05 kB / 1.025 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.937e-05/1.114, allocations: 54.59 kB / 1.025 GB, free: 1.453 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.963e-05/1.114, allocations: 96.94 kB / 1.025 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/1.114, allocations: 25.7 kB / 1.025 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.169e-05/1.114, allocations: 87.73 kB / 1.025 GB, free: 1.234 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.326e-05/1.114, allocations: 4 kB / 1.025 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.117e-06/1.114, allocations: 0 / 1.025 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001674/1.114, allocations: 314.8 kB / 1.025 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.198e-05/1.115, allocations: 7.5 kB / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.665e-05/1.115, allocations: 7.438 kB / 1.025 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.782e-05/1.115, allocations: 7.984 kB / 1.025 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/1.115, allocations: 0 / 1.025 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001637/1.115, allocations: 54.3 kB / 1.025 GB, free: 0.8477 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.046e-05/1.115, allocations: 5.25 kB / 1.025 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.521e-06/1.115, allocations: 0 / 1.025 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.075e-05/1.115, allocations: 0 / 1.025 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001938/1.115, allocations: 15.92 kB / 1.025 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/1.115, allocations: 0 / 1.025 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001258/1.115, allocations: 12.17 kB / 1.025 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.348e-05/1.115, allocations: 3.953 kB / 1.025 GB, free: 0.8125 MB / 0.6355 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 () * 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.0001083/1.115, allocations: 109.5 kB / 1.025 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.58e-05/1.116, allocations: 3.984 kB / 1.025 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.07e-05/1.116, allocations: 10.89 kB / 1.025 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/1.116, allocations: 0 / 1.025 GB, free: 0.6875 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.514e-06/1.116, allocations: 3.984 kB / 1.025 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/1.116, allocations: 0 / 1.025 GB, free: 0.6836 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002943/1.116, allocations: 161.2 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.094e-06/1.116, allocations: 0 / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001544/1.116, allocations: 11.98 kB / 1.026 GB, free: 480 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.527e-06/1.116, allocations: 4 kB / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.169e-05/1.116, allocations: 0 / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.194e-06/1.116, allocations: 0 / 1.026 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.94e-06/1.116, allocations: 3.984 kB / 1.026 GB, free: 472 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002106/1.116, allocations: 154.5 kB / 1.026 GB, free: 312 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.687e-05/1.116, allocations: 81.02 kB / 1.026 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/1.117, allocations: 0 / 1.026 GB, free: 212 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001972/1.117, allocations: 19.95 kB / 1.026 GB, free: 192 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.716e-05/1.117, allocations: 3.984 kB / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/1.117, allocations: 7.25 kB / 1.026 GB, free: 188 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.405e-05/1.117, allocations: 79.28 kB / 1.026 GB, free: 108 kB / 0.6355 GB Notification: Performance of sort global known variables: time 5.21e-07/1.117, allocations: 3.938 kB / 1.026 GB, free: 104 kB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004752/1.117, allocations: 8 kB / 1.026 GB, free: 96 kB / 0.6355 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 () * 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.0002033/1.118, allocations: 103.2 kB / 1.026 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001362/1.118, allocations: 22.56 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.204e-06/1.118, allocations: 0 / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 6.702e-05/1.118, allocations: 15.38 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002907/1.118, allocations: 3.953 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003204/1.119, allocations: 65.05 kB / 1.026 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000374/1.119, allocations: 0.677 MB / 1.027 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.355e-05/1.119, allocations: 8.125 kB / 1.027 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.668e-05/1.119, allocations: 11.42 kB / 1.027 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.072e-06/1.119, allocations: 0 / 1.027 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of Templates: time 0.003887/1.123, allocations: 0.4959 MB / 1.027 GB, free: 14.66 MB / 0.6511 GB