Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.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.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.709/1.709, allocations: 292.6 MB / 307.5 MB, free: 5.184 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.001232/0.001233, allocations: 185 kB / 377.1 MB, free: 1.504 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.859/1.859, allocations: 205.4 MB / 0.6367 GB, free: 8.613 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.0008582/0.0008582, allocations: 89.95 kB / 0.751 GB, free: 63.21 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003659/0.000366, allocations: 8 kB / 0.8748 GB, free: 11.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2926/0.293, allocations: 116.3 MB / 0.9884 GB, free: 6.738 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8259/1.119, allocations: 138.6 MB / 1.124 GB, free: 35.94 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003358/1.119, allocations: 67.86 kB / 1.124 GB, free: 35.88 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 0.003157/1.123, allocations: 0.7114 MB / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.975e-06/1.123, allocations: 0 / 1.124 GB, free: 35.29 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 1.407e-05/1.123, allocations: 0 / 1.124 GB, free: 35.29 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.0005625/1.123, allocations: 343.5 kB / 1.125 GB, free: 34.93 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 6.53e-05/1.123, allocations: 8.031 kB / 1.125 GB, free: 34.92 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.494e-05/1.123, allocations: 10.59 kB / 1.125 GB, free: 34.91 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001604/1.124, allocations: 159.1 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.874e-05/1.124, allocations: 5.688 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.984e-05/1.124, allocations: 4 kB / 1.125 GB, free: 34.71 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003054/1.124, allocations: 62.97 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.703e-05/1.124, allocations: 0.875 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.738e-05/1.124, allocations: 0.5469 kB / 1.125 GB, free: 34.66 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.947e-06/1.124, allocations: 4 kB / 1.125 GB, free: 34.65 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003319/1.124, allocations: 50.39 kB / 1.125 GB, free: 34.61 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005773/1.125, allocations: 247.4 kB / 1.125 GB, free: 34.34 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002318/1.125, allocations: 53.39 kB / 1.125 GB, free: 34.29 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.416e-05/1.125, allocations: 6.469 kB / 1.125 GB, free: 34.28 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.405e-05/1.125, allocations: 30.56 kB / 1.125 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.364e-06/1.125, allocations: 0 / 1.125 GB, free: 34.24 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0006535/1.126, allocations: 106.8 kB / 1.125 GB, free: 34.15 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.477e-05/1.126, allocations: 51.41 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.25e-05/1.126, allocations: 93.12 kB / 1.126 GB, free: 33.99 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.28e-05/1.126, allocations: 29.7 kB / 1.126 GB, free: 33.95 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.361e-05/1.126, allocations: 80.14 kB / 1.126 GB, free: 33.87 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 2.546e-05/1.126, allocations: 15.17 kB / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.758e-06/1.126, allocations: 0 / 1.126 GB, free: 33.86 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.106e-05/1.126, allocations: 314.8 kB / 1.126 GB, free: 33.54 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.031e-05/1.126, allocations: 26.7 kB / 1.126 GB, free: 33.52 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.124e-05/1.127, allocations: 23.52 kB / 1.126 GB, free: 33.5 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/1.127, allocations: 22.66 kB / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.127, allocations: 0 / 1.126 GB, free: 33.49 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002134/1.127, allocations: 83.97 kB / 1.126 GB, free: 33.41 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 2.265e-05/1.127, allocations: 8 kB / 1.126 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.64e-06/1.127, allocations: 0 / 1.126 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.934e-05/1.127, allocations: 0 / 1.126 GB, free: 33.4 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001146/1.127, allocations: 12.12 kB / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.085e-06/1.127, allocations: 0 / 1.126 GB, free: 33.39 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.05e-05/1.127, allocations: 15.36 kB / 1.126 GB, free: 33.38 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.388e-06/1.127, allocations: 0 / 1.126 GB, free: 33.38 MB / 0.7292 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 7.404e-05/1.127, allocations: 109.8 kB / 1.126 GB, free: 33.27 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.081e-05/1.127, allocations: 12.59 kB / 1.126 GB, free: 33.26 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.007e-05/1.127, allocations: 7.125 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.127, allocations: 0 / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/1.127, allocations: 0.5625 kB / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/1.127, allocations: 0 / 1.126 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001335/1.127, allocations: 164.6 kB / 1.127 GB, free: 33.05 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.196e-06/1.128, allocations: 9.188 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.547e-05/1.128, allocations: 11.42 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.508e-06/1.128, allocations: 0.6562 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.297e-06/1.128, allocations: 0 / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.074e-06/1.128, allocations: 0 / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.314e-06/1.128, allocations: 0.5625 kB / 1.127 GB, free: 33.04 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/1.128, allocations: 182.2 kB / 1.127 GB, free: 32.86 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.044e-05/1.128, allocations: 81.06 kB / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.548e-05/1.128, allocations: 0 / 1.127 GB, free: 32.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.312e-05/1.128, allocations: 16.14 kB / 1.127 GB, free: 32.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.093e-05/1.128, allocations: 8.844 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.229e-06/1.128, allocations: 3.516 kB / 1.127 GB, free: 32.74 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 2.735e-05/1.128, allocations: 79.94 kB / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.2e-07/1.128, allocations: 0 / 1.127 GB, free: 32.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002216/1.128, allocations: 11.44 kB / 1.127 GB, free: 32.65 MB / 0.7292 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.000137/1.129, allocations: 99.25 kB / 1.127 GB, free: 32.55 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002119/1.129, allocations: 57.97 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.545e-06/1.129, allocations: 3.938 kB / 1.127 GB, free: 32.5 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.457e-05/1.129, allocations: 23.56 kB / 1.127 GB, free: 32.48 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002191/1.129, allocations: 13.2 kB / 1.127 GB, free: 32.47 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003325/1.129, allocations: 109 kB / 1.127 GB, free: 32.35 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001462/1.13, allocations: 0.6765 MB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.841e-05/1.13, allocations: 4 kB / 1.128 GB, free: 31.65 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.843e-05/1.13, allocations: 7.438 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of SimCode: time 4.3e-07/1.13, allocations: 4.562 kB / 1.128 GB, free: 31.64 MB / 0.7292 GB Notification: Performance of Templates: time 0.002657/1.132, allocations: 495.8 kB / 1.128 GB, free: 31.38 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)