Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001287/0.001287, allocations: 115.3 kB / 15.34 MB, free: 0.5156 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001517/0.001517, allocations: 189.5 kB / 16.25 MB, free: 6.637 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.719/1.719, allocations: 205.1 MB / 222.1 MB, free: 4.727 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.802/1.802, allocations: 292.2 MB / 0.5485 GB, free: 13.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 76.16 kB / 0.671 GB, free: 26.33 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2957/0.2971, allocations: 114.5 MB / 0.7829 GB, free: 13.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002318/0.2995, allocations: 0.6946 MB / 0.7835 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001124/0.3006, allocations: 0.8243 MB / 0.7843 GB, free: 12.36 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.448e-05/0.3007, allocations: 4 kB / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 3.563e-05/0.3008, allocations: 0 / 0.7843 GB, free: 12.35 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 6.099e-05/0.3008, allocations: 7.938 kB / 0.7844 GB, free: 12.34 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001719/0.301, allocations: 11.98 kB / 0.7844 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.821e-05/0.3011, allocations: 31.84 kB / 0.7844 GB, free: 12.3 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001076/0.3012, allocations: 8 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.429e-05/0.3013, allocations: 4 kB / 0.7844 GB, free: 12.29 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.858e-05/0.3014, allocations: 15.92 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.991e-05/0.3014, allocations: 4 kB / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.194e-05/0.3014, allocations: 0 / 0.7844 GB, free: 12.27 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.918e-05/0.3014, allocations: 11.98 kB / 0.7844 GB, free: 12.26 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 4.15e-05/0.3015, allocations: 15.92 kB / 0.7845 GB, free: 12.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.0001084/0.3016, allocations: 15.97 kB / 0.7845 GB, free: 12.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 8.085e-06/0.3016, allocations: 4 kB / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3016, allocations: 0 / 0.7845 GB, free: 12.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.252e-06/0.3016, allocations: 0 / 0.7845 GB, free: 12.22 MB / 0.6075 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.0005086/0.3021, allocations: 343.7 kB / 0.7848 GB, free: 11.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.293e-05/0.3022, allocations: 11.97 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.055e-05/0.3022, allocations: 4.938 kB / 0.7848 GB, free: 11.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001422/0.3024, allocations: 160.4 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.857e-05/0.3024, allocations: 8.312 kB / 0.785 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.479e-05/0.3024, allocations: 4.375 kB / 0.785 GB, free: 11.61 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3027, allocations: 54.17 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/0.3027, allocations: 192 / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.658e-05/0.3027, allocations: 7.938 kB / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.921e-06/0.3027, allocations: 0 / 0.785 GB, free: 11.55 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001855/0.3029, allocations: 35.95 kB / 0.7851 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004647/0.3034, allocations: 252.9 kB / 0.7853 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001623/0.3036, allocations: 46.48 kB / 0.7854 GB, free: 11.16 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.931e-05/0.3037, allocations: 24.84 kB / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.793e-05/0.3037, allocations: 0 / 0.7854 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.096e-05/0.3037, allocations: 38.56 kB / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.3037, allocations: 0 / 0.7854 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004168/0.3042, allocations: 81.64 kB / 0.7855 GB, free: 11 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.474e-05/0.3042, allocations: 55.39 kB / 0.7856 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.3044, allocations: 97.86 kB / 0.7856 GB, free: 10.83 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.651e-05/0.3044, allocations: 25.7 kB / 0.7857 GB, free: 10.8 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.203e-05/0.3044, allocations: 88.27 kB / 0.7858 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.395e-05/0.3045, allocations: 7.906 kB / 0.7858 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/0.3045, allocations: 17.7 kB / 0.7858 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001403/0.3047, allocations: 314.8 kB / 0.7861 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.02e-05/0.3048, allocations: 15.98 kB / 0.7861 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.379e-05/0.3049, allocations: 23.97 kB / 0.7861 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.305, allocations: 40.89 kB / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.305, allocations: 0 / 0.7862 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002035/0.3052, allocations: 69.59 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.048e-05/0.3053, allocations: 4 kB / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.3053, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.645e-05/0.3053, allocations: 0 / 0.7862 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.3054, allocations: 20.02 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/0.3054, allocations: 3.938 kB / 0.7862 GB, free: 10.18 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.844e-05/0.3055, allocations: 7.984 kB / 0.7863 GB, free: 10.17 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.313e-06/0.3055, allocations: 0 / 0.7863 GB, free: 10.17 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.451e-05/0.3056, allocations: 121.7 kB / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.583e-05/0.3057, allocations: 0 / 0.7864 GB, free: 10.04 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.75e-05/0.3057, allocations: 3.125 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.155e-06/0.3057, allocations: 0 / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.879e-06/0.3057, allocations: 4 kB / 0.7864 GB, free: 10.03 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.379e-06/0.3057, allocations: 3.984 kB / 0.7864 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001593/0.3059, allocations: 169.6 kB / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.235e-06/0.3059, allocations: 0 / 0.7865 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.01e-05/0.306, allocations: 7.984 kB / 0.7866 GB, free: 9.801 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.865e-06/0.306, allocations: 4.125 kB / 0.7866 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.936e-06/0.306, allocations: 4 kB / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.663e-06/0.306, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.011e-06/0.306, allocations: 0 / 0.7866 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002604/0.3063, allocations: 176.4 kB / 0.7867 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.404e-05/0.3063, allocations: 85.03 kB / 0.7868 GB, free: 9.504 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.672e-05/0.3063, allocations: 4 kB / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.765e-05/0.3064, allocations: 0 / 0.7868 GB, free: 9.5 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.06e-05/0.3065, allocations: 7.984 kB / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.208e-06/0.3065, allocations: 0 / 0.7868 GB, free: 9.492 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.193e-05/0.3065, allocations: 83.31 kB / 0.7869 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2e-07/0.3066, allocations: 4 kB / 0.7869 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002204/0.3068, allocations: 4 kB / 0.7869 GB, free: 9.402 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001271/0.3069, allocations: 103.2 kB / 0.787 GB, free: 9.289 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000239/0.3072, allocations: 39.97 kB / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.3072, allocations: 0 / 0.787 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.812e-05/0.3073, allocations: 24.03 kB / 0.7871 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003709/0.3076, allocations: 15.88 kB / 0.7871 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003464/0.308, allocations: 109.5 kB / 0.7872 GB, free: 9.078 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002716/0.3083, allocations: 0.6768 MB / 0.7878 GB, free: 8.375 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 4.067e-05/0.3083, allocations: 8.062 kB / 0.7879 GB, free: 8.367 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.265e-05/0.3084, allocations: 7.438 kB / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of SimCode: time 3.11e-07/0.3084, allocations: 0 / 0.7879 GB, free: 8.359 MB / 0.6075 GB Notification: Performance of Templates: time 0.002913/0.3113, allocations: 0.5251 MB / 0.7884 GB, free: 7.84 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)