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.265/2.265, allocations: 251.1 MB / 266.1 MB, free: 11.62 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00154/0.00154, allocations: 174.9 kB / 325.6 MB, free: 2.836 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.726/2.726, allocations: 205.4 MB / 0.5766 GB, free: 21.07 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.001135/0.001135, allocations: 95.67 kB / 0.6811 GB, free: 14.01 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000482/0.0004817, allocations: 11.53 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2044/0.2049, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2189/0.4238, allocations: 131.3 MB / 1.027 GB, free: 14.48 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002852/0.4242, allocations: 71.95 kB / 1.027 GB, free: 14.41 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002785/0.427, allocations: 0.7388 MB / 1.028 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.033e-06/0.427, allocations: 0 / 1.028 GB, free: 13.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.773e-06/0.427, allocations: 0 / 1.028 GB, free: 13.66 MB / 0.6823 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.0004682/0.4275, allocations: 347.2 kB / 1.028 GB, free: 13.28 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.15e-05/0.4275, allocations: 8.031 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.194e-05/0.4276, allocations: 8 kB / 1.028 GB, free: 13.26 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001347/0.4277, allocations: 175 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/0.4278, allocations: 3.938 kB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.196e-05/0.4278, allocations: 0 / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002484/0.428, allocations: 53.67 kB / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.455e-06/0.4281, allocations: 0 / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.067e-05/0.4281, allocations: 0 / 1.028 GB, free: 12.99 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.389e-06/0.4281, allocations: 4 kB / 1.028 GB, free: 12.98 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003252/0.4284, allocations: 47.95 kB / 1.028 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004009/0.4288, allocations: 252.9 kB / 1.029 GB, free: 12.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002273/0.4291, allocations: 50.5 kB / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.4291, allocations: 0 / 1.029 GB, free: 12.58 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.901e-05/0.4292, allocations: 34.55 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.272e-06/0.4292, allocations: 0 / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005883/0.4298, allocations: 105.6 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.993e-05/0.4298, allocations: 55.34 kB / 1.029 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.611e-05/0.4299, allocations: 96.98 kB / 1.029 GB, free: 12.26 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.933e-05/0.4299, allocations: 25.83 kB / 1.029 GB, free: 12.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.264e-05/0.43, allocations: 92.12 kB / 1.029 GB, free: 12.14 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.43, allocations: 7.844 kB / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.821e-06/0.43, allocations: 0 / 1.029 GB, free: 12.13 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001154/0.4302, allocations: 318.8 kB / 1.029 GB, free: 11.81 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001542/0.4303, allocations: 19.98 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001571/0.4305, allocations: 31.97 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000156/0.4307, allocations: 19.98 kB / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.793e-06/0.4307, allocations: 0 / 1.03 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003629/0.4311, allocations: 81.72 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.723e-05/0.4311, allocations: 4 kB / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.4311, allocations: 0 / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.387e-05/0.4311, allocations: 0 / 1.03 GB, free: 11.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001529/0.4313, allocations: 11.98 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.221e-06/0.4313, allocations: 7.938 kB / 1.03 GB, free: 11.63 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.994e-05/0.4314, allocations: 12.02 kB / 1.03 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.524e-06/0.4314, allocations: 0 / 1.03 GB, free: 11.62 MB / 0.6823 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 9.719e-05/0.4315, allocations: 119.3 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.806e-05/0.4316, allocations: 0 / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.465e-05/0.4316, allocations: 3.125 kB / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.384e-06/0.4316, allocations: 0 / 1.03 GB, free: 11.49 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.218e-06/0.4316, allocations: 4 kB / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.066e-06/0.4316, allocations: 0 / 1.03 GB, free: 11.48 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001926/0.4318, allocations: 165.6 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.4319, allocations: 4 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001216/0.432, allocations: 11.98 kB / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.514e-06/0.432, allocations: 0 / 1.03 GB, free: 11.26 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.897e-06/0.432, allocations: 3.938 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.258e-06/0.432, allocations: 4 kB / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.4321, allocations: 0 / 1.03 GB, free: 11.25 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004229/0.4325, allocations: 179.4 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.519e-05/0.4325, allocations: 85.02 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.913e-05/0.4326, allocations: 0 / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4327, allocations: 11.92 kB / 1.03 GB, free: 10.95 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.285e-05/0.4328, allocations: 16.02 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.574e-06/0.4328, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 4.742e-05/0.4329, allocations: 79.28 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.61e-07/0.4329, allocations: 0 / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002842/0.4332, allocations: 11.94 kB / 1.03 GB, free: 10.84 MB / 0.6823 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.000139/0.4333, allocations: 103.2 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000356/0.4337, allocations: 47.97 kB / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.415e-06/0.4337, allocations: 0 / 1.03 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001752/0.4339, allocations: 31.97 kB / 1.031 GB, free: 10.65 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002304/0.4341, allocations: 10.05 kB / 1.031 GB, free: 10.64 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00035/0.4345, allocations: 116.6 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002677/0.4348, allocations: 0.677 MB / 1.031 GB, free: 9.797 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.784e-05/0.4348, allocations: 4 kB / 1.031 GB, free: 9.793 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.383e-05/0.4349, allocations: 7.438 kB / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of SimCode: time 6.51e-07/0.4349, allocations: 0 / 1.031 GB, free: 9.785 MB / 0.6823 GB Notification: Performance of Templates: time 0.003047/0.438, allocations: 493.9 kB / 1.032 GB, free: 9.305 MB / 0.6823 GB