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.344/2.344, allocations: 253.1 MB / 260.6 MB, free: 7.488 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.001616/0.001616, allocations: 182.4 kB / 319.9 MB, free: 3.082 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.16/2.16, allocations: 205.6 MB / 0.5708 GB, free: 15.27 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.001048/0.001048, allocations: 81 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.439e-05/2.441e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2695/0.2696, allocations: 106.3 MB / 0.8887 GB, free: 11.83 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9368/1.206, allocations: 131.4 MB / 1.017 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002672/1.207, allocations: 71.7 kB / 1.017 GB, free: 5.777 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004186/1.211, allocations: 0.7173 MB / 1.018 GB, free: 5.129 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.036e-06/1.211, allocations: 4 kB / 1.018 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.028e-05/1.211, allocations: 0 / 1.018 GB, free: 5.125 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.0007903/1.212, allocations: 346.1 kB / 1.018 GB, free: 4.746 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 7.66e-05/1.212, allocations: 8.031 kB / 1.018 GB, free: 4.738 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.877e-05/1.212, allocations: 4 kB / 1.018 GB, free: 4.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002059/1.212, allocations: 169.6 kB / 1.018 GB, free: 4.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.395e-05/1.212, allocations: 3.984 kB / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.988e-05/1.212, allocations: 0 / 1.018 GB, free: 4.527 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001214/1.212, allocations: 15.36 kB / 1.018 GB, free: 4.516 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001364/1.213, allocations: 40.75 kB / 1.018 GB, free: 4.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/1.213, allocations: 4 kB / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.54e-05/1.213, allocations: 0 / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.254e-06/1.213, allocations: 0 / 1.018 GB, free: 4.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005319/1.213, allocations: 228.1 kB / 1.019 GB, free: 4.219 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001076/1.213, allocations: 33.86 kB / 1.019 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.445e-05/1.213, allocations: 11.86 kB / 1.019 GB, free: 4.168 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.07e-05/1.214, allocations: 4 kB / 1.019 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/1.214, allocations: 30.56 kB / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 2.384e-06/1.214, allocations: 0 / 1.019 GB, free: 4.125 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0002921/1.214, allocations: 41.36 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.242e-05/1.214, allocations: 56.16 kB / 1.019 GB, free: 4.016 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/1.214, allocations: 96.73 kB / 1.019 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.205e-05/1.214, allocations: 25.7 kB / 1.019 GB, free: 3.887 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.605e-05/1.214, allocations: 80.14 kB / 1.019 GB, free: 3.805 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.652e-05/1.214, allocations: 4.031 kB / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.155e-05/1.214, allocations: 0 / 1.019 GB, free: 3.801 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002091/1.215, allocations: 326.2 kB / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.002e-05/1.215, allocations: 3.938 kB / 1.019 GB, free: 3.473 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.303e-05/1.215, allocations: 11.44 kB / 1.019 GB, free: 3.465 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.903e-05/1.215, allocations: 11.67 kB / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.767e-06/1.215, allocations: 0 / 1.019 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002294/1.215, allocations: 45.48 kB / 1.019 GB, free: 3.41 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.853e-05/1.215, allocations: 9.5 kB / 1.019 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.035e-06/1.215, allocations: 0 / 1.019 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/1.215, allocations: 0 / 1.019 GB, free: 3.402 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002808/1.215, allocations: 15.98 kB / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.893e-06/1.216, allocations: 0 / 1.019 GB, free: 3.387 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001683/1.216, allocations: 10.67 kB / 1.019 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.655e-05/1.216, allocations: 0 / 1.019 GB, free: 3.379 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.0001165/1.216, allocations: 112.9 kB / 1.019 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.039e-05/1.216, allocations: 0 / 1.019 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.506e-05/1.216, allocations: 7.703 kB / 1.02 GB, free: 3.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.182e-05/1.216, allocations: 3.984 kB / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.125e-06/1.216, allocations: 0 / 1.02 GB, free: 3.246 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/1.216, allocations: 4 kB / 1.02 GB, free: 3.242 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003446/1.216, allocations: 141.2 kB / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.018e-06/1.217, allocations: 0 / 1.02 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/1.217, allocations: 11.98 kB / 1.02 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/1.217, allocations: 4 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.231e-05/1.217, allocations: 3.375 kB / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/1.217, allocations: 0 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/1.217, allocations: 0 / 1.02 GB, free: 3.055 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002159/1.217, allocations: 135.1 kB / 1.02 GB, free: 2.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.896e-05/1.217, allocations: 88.97 kB / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.146e-05/1.217, allocations: 0 / 1.02 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001995/1.217, allocations: 12.02 kB / 1.02 GB, free: 2.793 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.811e-05/1.217, allocations: 11.36 kB / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.165e-05/1.217, allocations: 0 / 1.02 GB, free: 2.785 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.339e-05/1.218, allocations: 83.45 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.71e-07/1.218, allocations: 3.938 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000718/1.218, allocations: 7.375 kB / 1.02 GB, free: 2.695 MB / 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.0002515/1.219, allocations: 107.1 kB / 1.02 GB, free: 2.582 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001831/1.219, allocations: 18.48 kB / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/1.219, allocations: 0 / 1.02 GB, free: 2.566 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 6.692e-05/1.219, allocations: 10.62 kB / 1.02 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003742/1.219, allocations: 0 / 1.02 GB, free: 2.559 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004082/1.22, allocations: 71.41 kB / 1.02 GB, free: 2.473 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004587/1.22, allocations: 0.6844 MB / 1.021 GB, free: 1.766 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.665e-05/1.22, allocations: 8.125 kB / 1.021 GB, free: 1.758 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.888e-05/1.22, allocations: 7.438 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of SimCode: time 1.272e-06/1.22, allocations: 0 / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of Templates: time 0.004569/1.225, allocations: 482.1 kB / 1.021 GB, free: 1.293 MB / 0.6355 GB