Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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 Buildings with version 9.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.576/1.576, allocations: 297.8 MB / 313.7 MB, free: 68 kB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009739/0.0009739, allocations: 174.9 kB / 384.6 MB, free: 10.79 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.319/1.319, allocations: 223.2 MB / 0.6626 GB, free: 4.277 MB / 490.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007481/0.0007481, allocations: 99.86 kB / 0.7808 GB, free: 50.29 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003796/0.0003796, allocations: 13.09 kB / 0.9088 GB, free: 2.82 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6073/0.6077, allocations: 120.3 MB / 1.026 GB, free: 55.87 MB / 0.7292 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.178/0.7858, allocations: 140.8 MB / 1.164 GB, free: 2.473 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001722/0.786, allocations: 67.67 kB / 1.164 GB, free: 2.418 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.00157/0.7875, allocations: 0.7193 MB / 1.165 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.563e-06/0.7876, allocations: 0 / 1.165 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.017e-05/0.7876, allocations: 4 kB / 1.165 GB, free: 1.824 MB / 0.7292 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.0002655/0.7879, allocations: 336.8 kB / 1.165 GB, free: 1.457 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.147e-05/0.7879, allocations: 8.031 kB / 1.165 GB, free: 1.449 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.472e-05/0.7879, allocations: 6.438 kB / 1.165 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.448e-05/0.788, allocations: 173.9 kB / 1.165 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.788, allocations: 1.531 kB / 1.165 GB, free: 1.242 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.788, allocations: 4.891 kB / 1.165 GB, free: 1.238 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001479/0.7882, allocations: 61.84 kB / 1.165 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.917e-06/0.7882, allocations: 4.172 kB / 1.165 GB, free: 1.184 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.085e-06/0.7882, allocations: 3.938 kB / 1.165 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.349e-06/0.7882, allocations: 1.062 kB / 1.165 GB, free: 1.18 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001536/0.7884, allocations: 43.7 kB / 1.165 GB, free: 1.148 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002599/0.7887, allocations: 254.5 kB / 1.165 GB, free: 0.8633 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001132/0.7888, allocations: 47.56 kB / 1.165 GB, free: 0.8164 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.169e-05/0.7889, allocations: 32.52 kB / 1.166 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.866e-05/0.7889, allocations: 0 / 1.166 GB, free: 0.7891 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.811e-05/0.7889, allocations: 31.81 kB / 1.166 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 1.052e-06/0.7889, allocations: 0 / 1.166 GB, free: 0.75 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0003242/0.7893, allocations: 107.1 kB / 1.166 GB, free: 0.6602 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.863e-05/0.7893, allocations: 55.41 kB / 1.166 GB, free: 0.5938 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.786e-05/0.7894, allocations: 100.8 kB / 1.166 GB, free: 500 kB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 7.284e-06/0.7894, allocations: 25.7 kB / 1.166 GB, free: 468 kB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.632e-05/0.7894, allocations: 85.72 kB / 1.166 GB, free: 380 kB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.268e-05/0.7894, allocations: 4.516 kB / 1.166 GB, free: 376 kB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.835e-06/0.7894, allocations: 1.25 kB / 1.166 GB, free: 376 kB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.058e-05/0.7895, allocations: 316.4 kB / 1.166 GB, free: 52 kB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.853e-05/0.7896, allocations: 24.27 kB / 1.166 GB, free: 36 kB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.668e-05/0.7896, allocations: 22.11 kB / 1.166 GB, free: 20 kB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002247/0.7899, allocations: 62.89 kB / 1.166 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.7899, allocations: 0 / 1.166 GB, free: 15.98 MB / 0.7448 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002126/0.7901, allocations: 84.88 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of prepare postOptimizeDAE: time 1.199e-05/0.7901, allocations: 4 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.18e-06/0.7901, allocations: 1.688 kB / 1.166 GB, free: 15.9 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.081e-05/0.7902, allocations: 4 kB / 1.166 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.994e-05/0.7902, allocations: 13.28 kB / 1.166 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.157e-06/0.7903, allocations: 0 / 1.166 GB, free: 15.89 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.389e-05/0.7903, allocations: 8.047 kB / 1.166 GB, free: 15.88 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.147e-06/0.7903, allocations: 4.75 kB / 1.166 GB, free: 15.88 MB / 0.7448 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 6.953e-05/0.7904, allocations: 114.8 kB / 1.167 GB, free: 15.76 MB / 0.7448 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/0.7904, allocations: 5.016 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.853e-05/0.7905, allocations: 8.281 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.7905, allocations: 0.9688 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.7905, allocations: 1.875 kB / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.745e-06/0.7905, allocations: 0 / 1.167 GB, free: 15.75 MB / 0.7448 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001435/0.7906, allocations: 160.9 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.254e-06/0.7907, allocations: 2.281 kB / 1.167 GB, free: 15.55 MB / 0.7448 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.678e-05/0.7907, allocations: 13.39 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.559e-06/0.7907, allocations: 4 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.675e-06/0.7907, allocations: 7.375 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.7908, allocations: 0 / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.573e-06/0.7908, allocations: 0.9375 kB / 1.167 GB, free: 15.54 MB / 0.7448 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002305/0.791, allocations: 180.1 kB / 1.167 GB, free: 15.36 MB / 0.7448 GB Notification: Performance of postOpt removeConstants (simulation): time 3.209e-05/0.791, allocations: 78.19 kB / 1.167 GB, free: 15.27 MB / 0.7448 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.223e-05/0.7911, allocations: 4 kB / 1.167 GB, free: 15.26 MB / 0.7448 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.872e-05/0.7911, allocations: 12.67 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.014e-05/0.7912, allocations: 2.953 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.007e-06/0.7912, allocations: 1.562 kB / 1.167 GB, free: 15.25 MB / 0.7448 GB Notification: Performance of sorting global known variables: time 3.758e-05/0.7912, allocations: 85.38 kB / 1.167 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of sort global known variables: time 2.1e-07/0.7912, allocations: 0 / 1.167 GB, free: 15.17 MB / 0.7448 GB Notification: Performance of remove unused functions: time 0.0002056/0.7915, allocations: 13.69 kB / 1.167 GB, free: 15.16 MB / 0.7448 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.0001105/0.7916, allocations: 106.8 kB / 1.167 GB, free: 15.05 MB / 0.7448 GB Notification: Performance of simCode: created initialization part: time 0.0001983/0.7918, allocations: 55.16 kB / 1.167 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.7918, allocations: 0 / 1.167 GB, free: 15.01 MB / 0.7448 GB Notification: Performance of simCode: created simulation system equations: time 8.967e-05/0.7919, allocations: 30.7 kB / 1.167 GB, free: 14.98 MB / 0.7448 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002427/0.7921, allocations: 14.17 kB / 1.167 GB, free: 14.97 MB / 0.7448 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002678/0.7924, allocations: 112.1 kB / 1.167 GB, free: 14.85 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002061/0.7926, allocations: 0.6762 MB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 3.309e-05/0.7927, allocations: 0.6094 kB / 1.168 GB, free: 14.15 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.488e-05/0.7927, allocations: 20.14 kB / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of SimCode: time 3.51e-07/0.7927, allocations: 0 / 1.168 GB, free: 14.13 MB / 0.7448 GB Notification: Performance of Templates: time 0.002371/0.7951, allocations: 0.4918 MB / 1.169 GB, free: 13.86 MB / 0.7448 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)