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.001313/0.001313, allocations: 109.4 kB / 15.69 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001337/0.001337, allocations: 184.7 kB / 16.62 MB, free: 6.613 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.649/1.649, allocations: 205.1 MB / 222.5 MB, free: 4.539 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.916/1.916, allocations: 292.3 MB / 0.549 GB, free: 12.77 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.001395/0.001395, allocations: 74.41 kB / 0.6723 GB, free: 26 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3011/0.3025, allocations: 114.5 MB / 0.7841 GB, free: 12.75 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002379/0.305, allocations: 0.623 MB / 0.7847 GB, free: 12.12 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001106/0.3061, allocations: 0.8204 MB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.364e-05/0.3062, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 4.634e-05/0.3063, allocations: 0 / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.3064, allocations: 7.938 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002003/0.3066, allocations: 15.98 kB / 0.7856 GB, free: 11.26 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.093e-05/0.3067, allocations: 35.86 kB / 0.7856 GB, free: 11.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001324/0.3068, allocations: 4 kB / 0.7856 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.475e-05/0.3069, allocations: 11.98 kB / 0.7856 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.41e-05/0.307, allocations: 19.91 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.623e-05/0.307, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.183e-05/0.307, allocations: 4 kB / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.307, allocations: 0 / 0.7856 GB, free: 11.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.312e-05/0.3071, allocations: 11.94 kB / 0.7856 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.278e-05/0.3072, allocations: 23.94 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 6.703e-06/0.3072, allocations: 4 kB / 0.7857 GB, free: 11.15 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.743e-06/0.3072, allocations: 4 kB / 0.7857 GB, free: 11.14 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.941e-06/0.3072, allocations: 0 / 0.7857 GB, free: 11.14 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.0005199/0.3077, allocations: 343.3 kB / 0.786 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.631e-05/0.3078, allocations: 12.03 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.226e-05/0.3078, allocations: 0.9375 kB / 0.786 GB, free: 10.75 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001381/0.3079, allocations: 168.4 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.787e-05/0.308, allocations: 4.375 kB / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.573e-05/0.308, allocations: 384 / 0.7862 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002043/0.3082, allocations: 54.23 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.3082, allocations: 192 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.65e-05/0.3083, allocations: 3.938 kB / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.853e-06/0.3083, allocations: 0 / 0.7862 GB, free: 10.48 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001708/0.3084, allocations: 35.95 kB / 0.7863 GB, free: 10.44 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004444/0.3089, allocations: 260.8 kB / 0.7865 GB, free: 10.14 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001499/0.3091, allocations: 42.5 kB / 0.7866 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.344e-05/0.3092, allocations: 24.89 kB / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.3092, allocations: 0 / 0.7866 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.121e-05/0.3092, allocations: 34.56 kB / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.132e-06/0.3092, allocations: 0 / 0.7866 GB, free: 10.02 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.000402/0.3096, allocations: 89.58 kB / 0.7867 GB, free: 9.922 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.205e-05/0.3097, allocations: 55.34 kB / 0.7868 GB, free: 9.855 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001003/0.3098, allocations: 101.8 kB / 0.7869 GB, free: 9.746 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.625e-05/0.3098, allocations: 29.7 kB / 0.7869 GB, free: 9.711 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 5.814e-05/0.3099, allocations: 80.14 kB / 0.787 GB, free: 9.629 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.566e-05/0.3099, allocations: 3.906 kB / 0.787 GB, free: 9.625 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.591e-05/0.31, allocations: 13.84 kB / 0.787 GB, free: 9.605 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001593/0.3101, allocations: 322.8 kB / 0.7873 GB, free: 9.281 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.926e-05/0.3102, allocations: 15.98 kB / 0.7873 GB, free: 9.266 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.554e-05/0.3103, allocations: 15.98 kB / 0.7873 GB, free: 9.25 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.3105, allocations: 44.81 kB / 0.7874 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/0.3105, allocations: 4.062 kB / 0.7874 GB, free: 9.199 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002013/0.3107, allocations: 77.53 kB / 0.7874 GB, free: 9.117 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.3107, allocations: 4.938 kB / 0.7874 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.073e-06/0.3108, allocations: 4 kB / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/0.3108, allocations: 0 / 0.7874 GB, free: 9.109 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001235/0.3109, allocations: 7.984 kB / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.083e-06/0.3109, allocations: 0 / 0.7875 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.244e-05/0.311, allocations: 4 kB / 0.7875 GB, free: 9.098 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.008e-05/0.311, allocations: 15.95 kB / 0.7875 GB, free: 9.082 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 0.0001113/0.3111, allocations: 109.8 kB / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.251e-05/0.3111, allocations: 0 / 0.7876 GB, free: 8.965 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.941e-05/0.3112, allocations: 11.12 kB / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-06/0.3112, allocations: 0 / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.161e-06/0.3112, allocations: 0 / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.117e-06/0.3112, allocations: 0 / 0.7876 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001646/0.3114, allocations: 161.6 kB / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.52e-07/0.3114, allocations: 0 / 0.7877 GB, free: 8.742 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.435e-05/0.3115, allocations: 15.98 kB / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.3115, allocations: 192 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.957e-06/0.3115, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.3115, allocations: 0 / 0.7878 GB, free: 8.727 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.487e-06/0.3115, allocations: 3.938 kB / 0.7878 GB, free: 8.723 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002394/0.3118, allocations: 171.3 kB / 0.7879 GB, free: 8.539 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.285e-05/0.3118, allocations: 85.14 kB / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.341e-05/0.3118, allocations: 0 / 0.788 GB, free: 8.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.865e-05/0.3119, allocations: 7.984 kB / 0.788 GB, free: 8.43 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.826e-05/0.312, allocations: 4 kB / 0.788 GB, free: 8.426 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.5e-06/0.312, allocations: 7.984 kB / 0.788 GB, free: 8.418 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 3.842e-05/0.312, allocations: 79.28 kB / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.1e-07/0.312, allocations: 0 / 0.7881 GB, free: 8.34 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002188/0.3123, allocations: 4 kB / 0.7881 GB, free: 8.336 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.0001653/0.3124, allocations: 110.3 kB / 0.7882 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002562/0.3127, allocations: 47.83 kB / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.3127, allocations: 0 / 0.7883 GB, free: 8.172 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.414e-05/0.3128, allocations: 23.97 kB / 0.7883 GB, free: 8.148 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003127/0.3131, allocations: 3.938 kB / 0.7883 GB, free: 8.145 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003207/0.3135, allocations: 105.6 kB / 0.7884 GB, free: 8.016 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.3137, allocations: 0.6768 MB / 0.789 GB, free: 7.312 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.3138, allocations: 4 kB / 0.789 GB, free: 7.309 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.701e-05/0.3138, allocations: 7.438 kB / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of SimCode: time 2.21e-07/0.3138, allocations: 0 / 0.7891 GB, free: 7.301 MB / 0.6075 GB Notification: Performance of Templates: time 0.003019/0.3168, allocations: 0.6147 MB / 0.7897 GB, free: 6.695 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)