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.001082/0.001082, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.00986/0.00986, allocations: 168.9 kB / 16.26 MB, free: 6.656 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.837/1.837, allocations: 205.4 MB / 222.4 MB, free: 5.57 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.884/1.884, allocations: 292.7 MB / 0.5502 GB, free: 14.47 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.0005643/0.0005645, allocations: 14 kB / 0.6743 GB, free: 25.73 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3142/0.3148, allocations: 116.3 MB / 0.7879 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009123/0.3158, allocations: 365.6 kB / 0.7882 GB, free: 11.21 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001173/0.317, allocations: 0.8282 MB / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.317, allocations: 0 / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.68e-05/0.3171, allocations: 3.984 kB / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 8.469e-05/0.3172, allocations: 0 / 0.789 GB, free: 10.37 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001976/0.3174, allocations: 11.94 kB / 0.7891 GB, free: 10.36 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 9.988e-05/0.3175, allocations: 23.92 kB / 0.7891 GB, free: 10.33 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000137/0.3176, allocations: 8 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 7.834e-05/0.3177, allocations: 7.984 kB / 0.7891 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 7.655e-05/0.3178, allocations: 19.91 kB / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.431e-05/0.3178, allocations: 0 / 0.7891 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.3178, allocations: 7.938 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.831e-05/0.3179, allocations: 3.938 kB / 0.7891 GB, free: 10.29 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 7.222e-05/0.318, allocations: 37.64 kB / 0.7892 GB, free: 10.24 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.869e-05/0.318, allocations: 15.95 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.845e-06/0.3181, allocations: 4 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of FrontEnd: time 3.036e-06/0.3181, allocations: 0 / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 6.662e-06/0.3181, allocations: 0 / 0.7892 GB, free: 10.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.0005384/0.3186, allocations: 343.7 kB / 0.7895 GB, free: 9.836 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 5.495e-05/0.3187, allocations: 8.031 kB / 0.7895 GB, free: 9.828 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.758e-05/0.3187, allocations: 8.875 kB / 0.7895 GB, free: 9.82 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001544/0.3189, allocations: 168.4 kB / 0.7897 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.903e-05/0.3189, allocations: 384 / 0.7897 GB, free: 9.617 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.519e-05/0.319, allocations: 8.359 kB / 0.7897 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002243/0.3192, allocations: 62.22 kB / 0.7897 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.457e-06/0.3192, allocations: 192 / 0.7897 GB, free: 9.543 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.551e-05/0.3192, allocations: 7.938 kB / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.3193, allocations: 0 / 0.7898 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002002/0.3195, allocations: 51.89 kB / 0.7898 GB, free: 9.484 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004159/0.3199, allocations: 244.9 kB / 0.79 GB, free: 9.195 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001524/0.3201, allocations: 46.53 kB / 0.7901 GB, free: 9.141 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001017/0.3202, allocations: 32.91 kB / 0.7901 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.3202, allocations: 0 / 0.7901 GB, free: 9.105 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.559e-05/0.3202, allocations: 38.55 kB / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 1.193e-06/0.3202, allocations: 0 / 0.7901 GB, free: 9.059 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0004649/0.3207, allocations: 105.5 kB / 0.7903 GB, free: 8.949 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.392e-05/0.3208, allocations: 55.41 kB / 0.7903 GB, free: 8.883 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.364e-05/0.3209, allocations: 97.86 kB / 0.7904 GB, free: 8.777 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.532e-05/0.3209, allocations: 25.7 kB / 0.7904 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 6.195e-05/0.321, allocations: 92.25 kB / 0.7905 GB, free: 8.652 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 2.347e-05/0.321, allocations: 4 kB / 0.7905 GB, free: 8.648 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.321, allocations: 9.719 kB / 0.7905 GB, free: 8.633 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001283/0.3212, allocations: 310.8 kB / 0.7908 GB, free: 8.32 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.008e-05/0.3213, allocations: 23.98 kB / 0.7908 GB, free: 8.297 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.475e-05/0.3213, allocations: 23.97 kB / 0.7909 GB, free: 8.273 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001926/0.3215, allocations: 56.77 kB / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.505e-06/0.3216, allocations: 0 / 0.7909 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002334/0.3218, allocations: 85.56 kB / 0.791 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.125e-05/0.3218, allocations: 8 kB / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.861e-06/0.3218, allocations: 0 / 0.791 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.505e-05/0.3219, allocations: 3.984 kB / 0.791 GB, free: 8.113 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001109/0.322, allocations: 8 kB / 0.791 GB, free: 8.105 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.613e-06/0.322, allocations: 8.016 kB / 0.791 GB, free: 8.098 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.893e-05/0.3221, allocations: 11.98 kB / 0.791 GB, free: 8.086 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3221, allocations: 3.938 kB / 0.791 GB, free: 8.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 7.854e-05/0.3222, allocations: 114.4 kB / 0.7912 GB, free: 7.961 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.3222, allocations: 7.938 kB / 0.7912 GB, free: 7.953 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.5e-05/0.3222, allocations: 7.109 kB / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.3222, allocations: 0 / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.3222, allocations: 0 / 0.7912 GB, free: 7.941 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.3222, allocations: 4 kB / 0.7912 GB, free: 7.938 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001726/0.3224, allocations: 157.6 kB / 0.7913 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.513e-06/0.3224, allocations: 0 / 0.7913 GB, free: 7.734 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.44e-05/0.3225, allocations: 19.92 kB / 0.7913 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.114e-06/0.3225, allocations: 0 / 0.7913 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.246e-06/0.3225, allocations: 4 kB / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3225, allocations: 0 / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3225, allocations: 0 / 0.7913 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000274/0.3228, allocations: 179.4 kB / 0.7915 GB, free: 7.52 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 4.681e-05/0.3229, allocations: 81.02 kB / 0.7916 GB, free: 7.422 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.522e-05/0.3229, allocations: 4 kB / 0.7916 GB, free: 7.418 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.699e-05/0.323, allocations: 16.02 kB / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.968e-05/0.3231, allocations: 0 / 0.7916 GB, free: 7.402 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.167e-06/0.3231, allocations: 8.188 kB / 0.7916 GB, free: 7.395 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.308e-05/0.3231, allocations: 91.25 kB / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.31e-07/0.3231, allocations: 0 / 0.7917 GB, free: 7.305 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002152/0.3233, allocations: 4 kB / 0.7917 GB, free: 7.301 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.0001262/0.3235, allocations: 99.19 kB / 0.7918 GB, free: 7.191 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002354/0.3237, allocations: 55.89 kB / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.3237, allocations: 0 / 0.7919 GB, free: 7.137 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.91e-05/0.3238, allocations: 24.05 kB / 0.7919 GB, free: 7.113 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002714/0.3241, allocations: 12 kB / 0.7919 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003492/0.3245, allocations: 113.7 kB / 0.792 GB, free: 6.969 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002959/0.3248, allocations: 0.677 MB / 0.7927 GB, free: 6.266 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.971e-05/0.3248, allocations: 4 kB / 0.7927 GB, free: 6.262 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.333e-05/0.3249, allocations: 11.44 kB / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of SimCode: time 1.032e-06/0.3249, allocations: 0 / 0.7927 GB, free: 6.25 MB / 0.6075 GB Notification: Performance of Templates: time 0.003206/0.3281, allocations: 0.4987 MB / 0.7932 GB, free: 5.754 MB / 0.6075 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile Environment - environmentSimulation: (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) Environment - environmentSimulation: