Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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 7.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.333/2.333, allocations: 251.1 MB / 266.7 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001321/0.001321, allocations: 170.1 kB / 326.2 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.383/2.383, allocations: 205.4 MB / 0.5772 GB, free: 20.75 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001015/0.001015, allocations: 95.2 kB / 0.6817 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000502/0.0005022, allocations: 11.81 kB / 0.7957 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.247/0.2475, allocations: 106.3 MB / 0.8995 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2294/0.4769, allocations: 131.3 MB / 1.028 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002933/0.4773, allocations: 75.95 kB / 1.028 GB, free: 14.01 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00291/0.4802, allocations: 0.7362 MB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.4803, allocations: 3.938 kB / 1.028 GB, free: 13.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.034e-05/0.4803, allocations: 4 kB / 1.028 GB, free: 13.26 MB / 0.6823 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.0005063/0.4808, allocations: 347.4 kB / 1.029 GB, free: 12.87 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.4809, allocations: 8.031 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.782e-05/0.4809, allocations: 0.9375 kB / 1.029 GB, free: 12.86 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001396/0.4811, allocations: 172.3 kB / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.476e-05/0.4811, allocations: 384 / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.329e-05/0.4811, allocations: 384 / 1.029 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002586/0.4814, allocations: 62.23 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.857e-06/0.4814, allocations: 192 / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.564e-05/0.4815, allocations: 3.938 kB / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.65e-06/0.4815, allocations: 0 / 1.029 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003199/0.4818, allocations: 47.95 kB / 1.029 GB, free: 12.54 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004258/0.4823, allocations: 253 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002157/0.4825, allocations: 46.44 kB / 1.029 GB, free: 12.19 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001686/0.4827, allocations: 36.89 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.4827, allocations: 0 / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.765e-05/0.4827, allocations: 30.56 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.402e-06/0.4827, allocations: 0 / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0005979/0.4834, allocations: 109.5 kB / 1.03 GB, free: 12 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.856e-05/0.4834, allocations: 51.41 kB / 1.03 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.4835, allocations: 109.8 kB / 1.03 GB, free: 11.82 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.812e-05/0.4835, allocations: 25.7 kB / 1.03 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 4.708e-05/0.4836, allocations: 80.14 kB / 1.03 GB, free: 11.7 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.309e-05/0.4836, allocations: 15.97 kB / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.28e-06/0.4836, allocations: 0 / 1.03 GB, free: 11.69 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001242/0.4838, allocations: 314.8 kB / 1.03 GB, free: 11.37 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000172/0.484, allocations: 23.97 kB / 1.03 GB, free: 11.35 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.4841, allocations: 19.98 kB / 1.03 GB, free: 11.33 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001658/0.4843, allocations: 28.05 kB / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.4843, allocations: 0 / 1.03 GB, free: 11.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003801/0.4847, allocations: 81.59 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.175e-05/0.4848, allocations: 4 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.018e-05/0.4848, allocations: 7.938 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.343e-05/0.4848, allocations: 0 / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.485, allocations: 11.98 kB / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.981e-06/0.485, allocations: 0 / 1.03 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001031/0.4851, allocations: 7.984 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.398e-06/0.4851, allocations: 4 kB / 1.03 GB, free: 11.18 MB / 0.6823 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 0.0001022/0.4852, allocations: 117.8 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.054e-05/0.4853, allocations: 0 / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.495e-05/0.4853, allocations: 7.125 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.48e-06/0.4853, allocations: 7.922 kB / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.4853, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.4853, allocations: 0 / 1.03 GB, free: 11.04 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002051/0.4856, allocations: 157.6 kB / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.883e-06/0.4856, allocations: 0 / 1.031 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001247/0.4857, allocations: 19.98 kB / 1.031 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.977e-06/0.4857, allocations: 4 kB / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.368e-06/0.4857, allocations: 0 / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.984e-06/0.4858, allocations: 0 / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.044e-06/0.4858, allocations: 0 / 1.031 GB, free: 10.81 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004475/0.4862, allocations: 187.4 kB / 1.031 GB, free: 10.61 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.655e-05/0.4863, allocations: 81.02 kB / 1.031 GB, free: 10.52 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.065e-05/0.4863, allocations: 4 kB / 1.031 GB, free: 10.51 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001339/0.4865, allocations: 11.94 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.256e-05/0.4865, allocations: 3.984 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.913e-06/0.4866, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.06e-05/0.4866, allocations: 91.3 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4866, allocations: 0 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002879/0.4869, allocations: 11.94 kB / 1.031 GB, free: 10.39 MB / 0.6823 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.000153/0.4871, allocations: 95.25 kB / 1.031 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003728/0.4875, allocations: 51.95 kB / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.395e-06/0.4875, allocations: 0 / 1.031 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001755/0.4877, allocations: 31.92 kB / 1.031 GB, free: 10.21 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003691/0.4881, allocations: 7.922 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000408/0.4885, allocations: 112.8 kB / 1.031 GB, free: 10.06 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002777/0.4888, allocations: 0.677 MB / 1.032 GB, free: 9.359 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.09e-05/0.4888, allocations: 4 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.899e-05/0.4889, allocations: 7.438 kB / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of SimCode: time 1.873e-06/0.4889, allocations: 0 / 1.032 GB, free: 9.348 MB / 0.6823 GB Notification: Performance of Templates: time 0.003204/0.4921, allocations: 0.4933 MB / 1.032 GB, free: 8.855 MB / 0.6823 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)