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.621/1.621, allocations: 285.4 MB / 298 MB, free: 5.988 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.001299/0.001299, allocations: 180.8 kB / 366.4 MB, free: 2.098 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.858/1.858, allocations: 205.1 MB / 0.6248 GB, free: 7.754 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.000902/0.0009018, allocations: 96.3 kB / 0.738 GB, free: 40.27 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 3.721e-05/3.737e-05, allocations: 4 kB / 0.8583 GB, free: 13.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8203/0.8204, allocations: 115.3 MB / 0.9709 GB, free: 78.08 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2004/1.021, allocations: 137.5 MB / 1.105 GB, free: 14.32 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001998/1.021, allocations: 73.2 kB / 1.105 GB, free: 14.25 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.001873/1.023, allocations: 0.7117 MB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.463e-06/1.023, allocations: 3.938 kB / 1.106 GB, free: 13.55 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 6.372e-06/1.023, allocations: 0 / 1.106 GB, free: 13.55 MB / 0.7136 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.0003978/1.023, allocations: 339.3 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.97e-05/1.023, allocations: 12.03 kB / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.373e-05/1.023, allocations: 0 / 1.106 GB, free: 13.16 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/1.024, allocations: 166.9 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.174e-05/1.024, allocations: 5.406 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.253e-05/1.024, allocations: 0 / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001066/1.024, allocations: 42.39 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/1.024, allocations: 0 / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.412e-05/1.024, allocations: 5.062 kB / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.09e-06/1.024, allocations: 0 / 1.106 GB, free: 12.91 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.415e-05/1.024, allocations: 23.86 kB / 1.107 GB, free: 12.89 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003937/1.024, allocations: 248.9 kB / 1.107 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 6.135e-05/1.024, allocations: 30.61 kB / 1.107 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.815e-05/1.024, allocations: 11.61 kB / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.629e-05/1.024, allocations: 0 / 1.107 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.555e-05/1.024, allocations: 34.56 kB / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 8.91e-07/1.024, allocations: 0 / 1.107 GB, free: 12.5 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001615/1.025, allocations: 48.3 kB / 1.107 GB, free: 12.45 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.938e-05/1.025, allocations: 55.39 kB / 1.107 GB, free: 12.39 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.007e-05/1.025, allocations: 90.97 kB / 1.107 GB, free: 12.29 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.491e-05/1.025, allocations: 25.7 kB / 1.107 GB, free: 12.26 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 4.365e-05/1.025, allocations: 88.14 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.678e-05/1.025, allocations: 7.188 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.617e-06/1.025, allocations: 1.031 kB / 1.107 GB, free: 12.17 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001275/1.025, allocations: 314.8 kB / 1.107 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.127e-05/1.025, allocations: 8.688 kB / 1.107 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.124e-05/1.025, allocations: 8.516 kB / 1.107 GB, free: 11.84 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.456e-05/1.025, allocations: 10.28 kB / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/1.025, allocations: 0 / 1.107 GB, free: 11.83 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.441e-05/1.025, allocations: 45.64 kB / 1.107 GB, free: 11.78 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.607e-05/1.025, allocations: 5.406 kB / 1.107 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.406e-06/1.025, allocations: 5.938 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/1.025, allocations: 4.688 kB / 1.108 GB, free: 11.77 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/1.025, allocations: 9.531 kB / 1.108 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.272e-06/1.025, allocations: 0 / 1.108 GB, free: 11.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.922e-05/1.025, allocations: 11.45 kB / 1.108 GB, free: 11.75 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.266e-06/1.025, allocations: 4 kB / 1.108 GB, free: 11.75 MB / 0.7136 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 6.816e-05/1.026, allocations: 104.9 kB / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.153e-05/1.026, allocations: 0 / 1.108 GB, free: 11.64 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.576e-05/1.026, allocations: 11.11 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.433e-06/1.026, allocations: 7.75 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.787e-06/1.026, allocations: 0 / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/1.026, allocations: 2.062 kB / 1.108 GB, free: 11.62 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/1.026, allocations: 160.6 kB / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/1.026, allocations: 0 / 1.108 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.133e-05/1.026, allocations: 11.98 kB / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/1.026, allocations: 0 / 1.108 GB, free: 11.41 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.1e-05/1.026, allocations: 4 kB / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/1.026, allocations: 0 / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.026, allocations: 0 / 1.108 GB, free: 11.4 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001328/1.026, allocations: 159.4 kB / 1.108 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.238e-05/1.026, allocations: 77.11 kB / 1.108 GB, free: 11.14 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/1.026, allocations: 3.984 kB / 1.108 GB, free: 11.13 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.739e-05/1.026, allocations: 8 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.496e-05/1.026, allocations: 7.984 kB / 1.108 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.777e-06/1.026, allocations: 4 kB / 1.108 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 3.597e-05/1.026, allocations: 83.31 kB / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.5e-07/1.026, allocations: 0 / 1.108 GB, free: 11.03 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002004/1.027, allocations: 8 kB / 1.108 GB, free: 11.02 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.0001287/1.027, allocations: 107.2 kB / 1.108 GB, free: 10.91 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.137e-05/1.027, allocations: 15.94 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.248e-05/1.027, allocations: 4 kB / 1.108 GB, free: 10.89 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 2.592e-05/1.027, allocations: 8 kB / 1.108 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001662/1.027, allocations: 10.72 kB / 1.108 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002186/1.027, allocations: 63.34 kB / 1.108 GB, free: 10.79 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002674/1.028, allocations: 0.6809 MB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.499e-05/1.028, allocations: 3.984 kB / 1.109 GB, free: 10.08 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.725e-05/1.028, allocations: 11.44 kB / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of SimCode: time 2.61e-07/1.028, allocations: 0 / 1.109 GB, free: 10.07 MB / 0.7136 GB Notification: Performance of Templates: time 0.002307/1.03, allocations: 0.507 MB / 1.11 GB, free: 9.602 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)