Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.875/1.875, allocations: 288.4 MB / 303.6 MB, free: 8.141 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001213/0.001213, allocations: 179 kB / 372.3 MB, free: 10.12 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.889/1.889, allocations: 205.4 MB / 0.631 GB, free: 9.879 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009211/0.0009207, allocations: 94.8 kB / 0.7444 GB, free: 5.789 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004807/0.0004809, allocations: 16.62 kB / 0.8675 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.242/0.2425, allocations: 115.3 MB / 0.9801 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0007645/0.2433, allocations: 346.1 kB / 0.9805 GB, free: 27 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008462/0.2442, allocations: 0.8166 MB / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.997e-05/0.2442, allocations: 0 / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.375e-05/0.2442, allocations: 0 / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.031e-05/0.2443, allocations: 0 / 0.9813 GB, free: 26.16 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001338/0.2445, allocations: 12 kB / 0.9813 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.772e-05/0.2445, allocations: 27.91 kB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.383e-05/0.2446, allocations: 8 kB / 0.9813 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.379e-05/0.2447, allocations: 15.86 kB / 0.9813 GB, free: 26.1 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 4.943e-05/0.2447, allocations: 11.98 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.531e-05/0.2448, allocations: 0 / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.021e-05/0.2448, allocations: 3.938 kB / 0.9813 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.247e-05/0.2448, allocations: 7.938 kB / 0.9814 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.151e-05/0.2448, allocations: 33.69 kB / 0.9814 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.397e-05/0.2449, allocations: 15.95 kB / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.563e-06/0.2449, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.473e-06/0.2449, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.33e-06/0.2449, allocations: 0 / 0.9814 GB, free: 26.02 MB / 0.6198 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.0004011/0.2453, allocations: 347.7 kB / 0.9817 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.2454, allocations: 12.03 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.257e-05/0.2454, allocations: 4.938 kB / 0.9817 GB, free: 25.62 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.81e-05/0.2455, allocations: 164.3 kB / 0.9819 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.539e-05/0.2455, allocations: 4.375 kB / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.2456, allocations: 384 / 0.9819 GB, free: 25.41 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001717/0.2457, allocations: 66.2 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.635e-06/0.2458, allocations: 192 / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.849e-06/0.2458, allocations: 3.938 kB / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.438e-06/0.2458, allocations: 0 / 0.982 GB, free: 25.34 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2459, allocations: 55.95 kB / 0.982 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002968/0.2463, allocations: 241 kB / 0.9823 GB, free: 25 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001225/0.2464, allocations: 54.42 kB / 0.9823 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.271e-05/0.2465, allocations: 28.91 kB / 0.9823 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.1e-05/0.2465, allocations: 4 kB / 0.9823 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.428e-05/0.2465, allocations: 30.56 kB / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2465, allocations: 0 / 0.9824 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003468/0.2469, allocations: 113.5 kB / 0.9825 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.27e-05/0.2469, allocations: 51.41 kB / 0.9825 GB, free: 24.68 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.359e-05/0.247, allocations: 97.86 kB / 0.9826 GB, free: 24.58 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 8.666e-06/0.247, allocations: 25.7 kB / 0.9826 GB, free: 24.55 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 2.773e-05/0.247, allocations: 88.25 kB / 0.9827 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.382e-05/0.247, allocations: 8 kB / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.576e-06/0.247, allocations: 0 / 0.9827 GB, free: 24.45 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.214e-05/0.2471, allocations: 310.8 kB / 0.983 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.046e-05/0.2472, allocations: 23.98 kB / 0.9831 GB, free: 24.11 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.165e-05/0.2473, allocations: 27.91 kB / 0.9831 GB, free: 24.09 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000144/0.2474, allocations: 52.83 kB / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.2474, allocations: 0 / 0.9831 GB, free: 24.03 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001766/0.2476, allocations: 89.5 kB / 0.9832 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.2476, allocations: 8 kB / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.849e-06/0.2476, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2477, allocations: 0 / 0.9832 GB, free: 23.93 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.408e-05/0.2478, allocations: 11.98 kB / 0.9832 GB, free: 23.92 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.11e-06/0.2478, allocations: 4.031 kB / 0.9832 GB, free: 23.91 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.011e-05/0.2478, allocations: 15.92 kB / 0.9833 GB, free: 23.9 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.019e-06/0.2478, allocations: 0 / 0.9833 GB, free: 23.9 MB / 0.6198 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 5.577e-05/0.2479, allocations: 113.8 kB / 0.9834 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.092e-05/0.2479, allocations: 4 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.708e-05/0.248, allocations: 3.125 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.342e-06/0.248, allocations: 0 / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.097e-06/0.248, allocations: 4 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.248, allocations: 3.984 kB / 0.9834 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001193/0.2481, allocations: 157.6 kB / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.62e-07/0.2481, allocations: 0 / 0.9835 GB, free: 23.56 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.499e-05/0.2482, allocations: 15.98 kB / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.583e-06/0.2482, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.444e-06/0.2482, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.2482, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.31e-07/0.2482, allocations: 0 / 0.9835 GB, free: 23.55 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002068/0.2484, allocations: 183.4 kB / 0.9837 GB, free: 23.35 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2485, allocations: 85 kB / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.257e-05/0.2485, allocations: 0 / 0.9838 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.734e-05/0.2486, allocations: 12.03 kB / 0.9838 GB, free: 23.24 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.701e-05/0.2486, allocations: 7.984 kB / 0.9838 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.188e-06/0.2486, allocations: 8 kB / 0.9838 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.103e-05/0.2486, allocations: 75.47 kB / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2486, allocations: 0 / 0.9839 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0001927/0.2488, allocations: 4 kB / 0.9839 GB, free: 23.14 MB / 0.6198 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.0001002/0.2489, allocations: 111.3 kB / 0.984 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000203/0.2492, allocations: 47.97 kB / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.2492, allocations: 0 / 0.9841 GB, free: 22.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 8.587e-05/0.2493, allocations: 39.91 kB / 0.9841 GB, free: 22.94 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002664/0.2495, allocations: 8.453 kB / 0.9841 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002668/0.2498, allocations: 104.7 kB / 0.9842 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001074/0.2499, allocations: 0.677 MB / 0.9849 GB, free: 22.11 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 3.135e-05/0.25, allocations: 3.984 kB / 0.9849 GB, free: 22.1 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.51e-05/0.25, allocations: 15.5 kB / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of SimCode: time 2.31e-07/0.25, allocations: 0 / 0.9849 GB, free: 22.09 MB / 0.6198 GB Notification: Performance of Templates: time 0.002101/0.2521, allocations: 0.4964 MB / 0.9854 GB, free: 21.6 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)