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.324/2.324, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001688/0.001687, allocations: 186 kB / 325.6 MB, free: 2.797 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.483/2.483, allocations: 205.4 MB / 0.5766 GB, free: 20.79 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.001078/0.001078, allocations: 98.81 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004827/0.0004829, allocations: 16.34 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2966/0.2971, allocations: 106.3 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002575/0.2998, allocations: 1.045 MB / 0.8999 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005612/0.3004, allocations: 125.7 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.24e-05/0.3005, allocations: 0 / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.819e-05/0.3006, allocations: 3.938 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 9.774e-05/0.3007, allocations: 3.938 kB / 0.9 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000192/0.3009, allocations: 15.92 kB / 0.9 GB, free: 64.25 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.688e-05/0.301, allocations: 19.97 kB / 0.9001 GB, free: 64.23 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.764e-05/0.3011, allocations: 8 kB / 0.9001 GB, free: 64.22 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 7.173e-05/0.3012, allocations: 7.984 kB / 0.9001 GB, free: 64.21 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 6.738e-05/0.3013, allocations: 15.92 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.3013, allocations: 0 / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.4e-05/0.3014, allocations: 0 / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.542e-05/0.3014, allocations: 3.984 kB / 0.9001 GB, free: 64.2 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.47e-05/0.3014, allocations: 29.7 kB / 0.9001 GB, free: 64.16 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.803e-05/0.3015, allocations: 15.97 kB / 0.9001 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.3015, allocations: 0 / 0.9001 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.793e-06/0.3015, allocations: 0 / 0.9001 GB, free: 64.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.499e-06/0.3016, allocations: 4 kB / 0.9002 GB, free: 64.14 MB / 0.6042 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.0005548/0.3021, allocations: 335.3 kB / 0.9005 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 6.432e-05/0.3022, allocations: 8.031 kB / 0.9005 GB, free: 63.76 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.7e-05/0.3023, allocations: 7.938 kB / 0.9005 GB, free: 63.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3025, allocations: 167 kB / 0.9006 GB, free: 63.55 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.574e-05/0.3025, allocations: 3.984 kB / 0.9006 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.124e-05/0.3026, allocations: 3.984 kB / 0.9007 GB, free: 63.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004165/0.303, allocations: 61.67 kB / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/0.303, allocations: 0 / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.915e-05/0.3031, allocations: 0 / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.224e-06/0.3031, allocations: 0 / 0.9007 GB, free: 63.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005357/0.3037, allocations: 47.95 kB / 0.9008 GB, free: 63.43 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005372/0.3042, allocations: 273 kB / 0.901 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002787/0.3045, allocations: 38.56 kB / 0.9011 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.921e-05/0.3046, allocations: 4 kB / 0.9011 GB, free: 63.06 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.145e-05/0.3046, allocations: 34.62 kB / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 3.577e-06/0.3046, allocations: 0 / 0.9011 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.000863/0.3055, allocations: 105.7 kB / 0.9012 GB, free: 62.91 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.956e-05/0.3056, allocations: 55.41 kB / 0.9012 GB, free: 62.84 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.881e-05/0.3057, allocations: 101.8 kB / 0.9013 GB, free: 62.73 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.756e-05/0.3057, allocations: 29.64 kB / 0.9014 GB, free: 62.7 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.82e-05/0.3058, allocations: 84.08 kB / 0.9015 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.764e-05/0.3058, allocations: 7.906 kB / 0.9015 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.792e-06/0.3059, allocations: 0 / 0.9015 GB, free: 62.6 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.047e-05/0.306, allocations: 322.9 kB / 0.9018 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001526/0.3061, allocations: 15.98 kB / 0.9018 GB, free: 62.26 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001529/0.3063, allocations: 23.98 kB / 0.9018 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001593/0.3065, allocations: 32.03 kB / 0.9018 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.3065, allocations: 3.938 kB / 0.9018 GB, free: 62.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003565/0.3068, allocations: 73.66 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.3069, allocations: 8 kB / 0.9019 GB, free: 62.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.452e-06/0.3069, allocations: 7.969 kB / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.903e-05/0.3069, allocations: 0 / 0.9019 GB, free: 62.11 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001633/0.3071, allocations: 11.98 kB / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.873e-06/0.3071, allocations: 0 / 0.9019 GB, free: 62.1 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.534e-05/0.3072, allocations: 8 kB / 0.9019 GB, free: 62.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.171e-05/0.3072, allocations: 7.938 kB / 0.902 GB, free: 62.08 MB / 0.6042 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.0001086/0.3074, allocations: 113.8 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.31e-05/0.3074, allocations: 4 kB / 0.9021 GB, free: 61.96 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.3074, allocations: 3.125 kB / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.057e-06/0.3075, allocations: 0 / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.648e-06/0.3075, allocations: 0 / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.396e-06/0.3075, allocations: 0 / 0.9021 GB, free: 61.95 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.3077, allocations: 161.6 kB / 0.9022 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.3077, allocations: 4 kB / 0.9022 GB, free: 61.74 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001151/0.3078, allocations: 11.98 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.996e-06/0.3078, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.036e-05/0.3078, allocations: 4 kB / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.914e-06/0.3078, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/0.3079, allocations: 0 / 0.9022 GB, free: 61.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003894/0.3083, allocations: 187.3 kB / 0.9024 GB, free: 61.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.917e-05/0.3083, allocations: 77.11 kB / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.764e-05/0.3083, allocations: 0 / 0.9025 GB, free: 61.43 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001347/0.3085, allocations: 11.98 kB / 0.9025 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.193e-05/0.3085, allocations: 8.172 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/0.3086, allocations: 4 kB / 0.9025 GB, free: 61.41 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.424e-05/0.3086, allocations: 83.2 kB / 0.9026 GB, free: 61.33 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3086, allocations: 4 kB / 0.9026 GB, free: 61.32 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002953/0.3089, allocations: 4.031 kB / 0.9026 GB, free: 61.32 MB / 0.6042 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.0001139/0.309, allocations: 99.25 kB / 0.9027 GB, free: 61.21 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.3094, allocations: 51.95 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.3094, allocations: 4.062 kB / 0.9027 GB, free: 61.16 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001666/0.3096, allocations: 31.91 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002639/0.3099, allocations: 9.672 kB / 0.9028 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000353/0.3103, allocations: 108.7 kB / 0.9029 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001371/0.3104, allocations: 0.681 MB / 0.9036 GB, free: 60.28 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.653e-05/0.3105, allocations: 7.938 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.054e-05/0.3105, allocations: 7.438 kB / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of SimCode: time 1.062e-06/0.3105, allocations: 0 / 0.9036 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of Templates: time 0.002964/0.3135, allocations: 0.5008 MB / 0.9041 GB, free: 59.77 MB / 0.6042 GB