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.637/1.637, allocations: 285.6 MB / 293.1 MB, free: 10.22 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.001607/0.001607, allocations: 176.9 kB / 361.4 MB, free: 6.848 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.884/1.884, allocations: 205.2 MB / 0.62 GB, free: 11.64 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008361/0.0008358, allocations: 87.72 kB / 0.733 GB, free: 44.15 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.711e-05/2.685e-05, allocations: 4 kB / 0.8518 GB, free: 2.703 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7318/0.7319, allocations: 115.3 MB / 0.9644 GB, free: 78.91 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1995/0.9315, allocations: 136.8 MB / 1.098 GB, free: 2.996 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002474/0.9318, allocations: 67.95 kB / 1.098 GB, free: 2.93 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.001957/0.9338, allocations: 0.7044 MB / 1.099 GB, free: 2.238 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.002e-06/0.9338, allocations: 7.969 kB / 1.099 GB, free: 2.234 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.305e-05/0.9338, allocations: 0 / 1.099 GB, free: 2.234 MB / 0.698 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.0003597/0.9342, allocations: 338.4 kB / 1.099 GB, free: 1.863 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.9343, allocations: 8.031 kB / 1.099 GB, free: 1.855 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.018e-05/0.9343, allocations: 5.844 kB / 1.099 GB, free: 1.852 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001377/0.9344, allocations: 170.9 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.982e-05/0.9345, allocations: 0.625 kB / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.159e-05/0.9345, allocations: 0 / 1.099 GB, free: 1.645 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.94e-05/0.9346, allocations: 17.17 kB / 1.099 GB, free: 1.629 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.151e-05/0.9346, allocations: 37.69 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.033e-06/0.9347, allocations: 0.5 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.839e-06/0.9347, allocations: 0 / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.917e-06/0.9347, allocations: 0.625 kB / 1.099 GB, free: 1.586 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003277/0.935, allocations: 234.9 kB / 1.1 GB, free: 1.32 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.237e-05/0.9351, allocations: 35.11 kB / 1.1 GB, free: 1.277 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.608e-05/0.9351, allocations: 9.516 kB / 1.1 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.638e-05/0.9352, allocations: 0.5625 kB / 1.1 GB, free: 1.266 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.383e-05/0.9352, allocations: 34.28 kB / 1.1 GB, free: 1.227 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 9.92e-07/0.9352, allocations: 0.5312 kB / 1.1 GB, free: 1.227 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001563/0.9354, allocations: 38.2 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.749e-05/0.9354, allocations: 59.89 kB / 1.1 GB, free: 1.113 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.273e-05/0.9355, allocations: 94.88 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.9355, allocations: 25.7 kB / 1.1 GB, free: 0.9844 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.356e-05/0.9355, allocations: 80.14 kB / 1.1 GB, free: 0.9023 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.85e-05/0.9356, allocations: 11.41 kB / 1.1 GB, free: 0.8945 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-06/0.9356, allocations: 4.469 kB / 1.1 GB, free: 0.8906 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001133/0.9357, allocations: 315.4 kB / 1.1 GB, free: 0.5742 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.573e-05/0.9357, allocations: 5.531 kB / 1.1 GB, free: 0.5703 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.388e-05/0.9357, allocations: 7.984 kB / 1.1 GB, free: 0.5625 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.319e-05/0.9358, allocations: 9.172 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.9358, allocations: 0.8438 kB / 1.1 GB, free: 0.5547 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.653e-05/0.9358, allocations: 41.7 kB / 1.1 GB, free: 0.5078 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.41e-05/0.9359, allocations: 5.906 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.9359, allocations: 0.7812 kB / 1.1 GB, free: 0.5039 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.976e-05/0.9359, allocations: 5.391 kB / 1.1 GB, free: 0.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001059/0.936, allocations: 16.62 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.936, allocations: 2.25 kB / 1.1 GB, free: 496 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.779e-05/0.9361, allocations: 8.797 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.43e-06/0.9361, allocations: 3.562 kB / 1.1 GB, free: 488 kB / 0.698 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 () * 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 7.461e-05/0.9362, allocations: 108.9 kB / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.113e-05/0.9362, allocations: 0 / 1.1 GB, free: 372 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.216e-05/0.9362, allocations: 7.734 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/0.9363, allocations: 2.906 kB / 1.1 GB, free: 364 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.048e-06/0.9363, allocations: 3.938 kB / 1.1 GB, free: 360 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.514e-06/0.9363, allocations: 4 kB / 1.1 GB, free: 356 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001412/0.9364, allocations: 134.2 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.82e-07/0.9364, allocations: 2.25 kB / 1.101 GB, free: 184 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.383e-05/0.9365, allocations: 11.98 kB / 1.101 GB, free: 172 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.659e-06/0.9365, allocations: 3.953 kB / 1.101 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.9365, allocations: 0 / 1.101 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.9365, allocations: 128 / 1.101 GB, free: 168 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.9366, allocations: 4 kB / 1.101 GB, free: 164 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000122/0.9367, allocations: 143.5 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 7.248e-05/0.9368, allocations: 85.05 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.9368, allocations: 5.875 kB / 1.101 GB, free: 15.9 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.69e-05/0.9369, allocations: 9.922 kB / 1.101 GB, free: 15.89 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.735e-05/0.9369, allocations: 8.016 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.506e-06/0.937, allocations: 4 kB / 1.101 GB, free: 15.88 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.953e-05/0.937, allocations: 83.28 kB / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.3e-07/0.937, allocations: 0 / 1.101 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002071/0.9372, allocations: 8 kB / 1.101 GB, free: 15.79 MB / 0.7136 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 () * 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.0001583/0.9374, allocations: 110.9 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 7.997e-05/0.9375, allocations: 15.98 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.9375, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.833e-05/0.9375, allocations: 16.06 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001856/0.9377, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002383/0.9379, allocations: 58.41 kB / 1.101 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000293/0.9383, allocations: 0.6768 MB / 1.102 GB, free: 14.86 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.589e-05/0.9383, allocations: 4 kB / 1.102 GB, free: 14.85 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.616e-05/0.9383, allocations: 11.42 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of SimCode: time 2.3e-07/0.9383, allocations: 5.281 kB / 1.102 GB, free: 14.84 MB / 0.7136 GB Notification: Performance of Templates: time 0.002284/0.9406, allocations: 475 kB / 1.102 GB, free: 14.41 MB / 0.7136 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)