Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.295/1.295, allocations: 252 MB / 267.9 MB, free: 10.92 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.0008926/0.0008926, allocations: 173.4 kB / 327.5 MB, free: 2.156 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.624/1.624, allocations: 205.4 MB / 0.5785 GB, free: 20.49 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.000771/0.0007709, allocations: 92.81 kB / 0.6831 GB, free: 13.29 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003877/0.0003877, allocations: 12.47 kB / 0.7974 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1971/0.1975, allocations: 106.3 MB / 0.9012 GB, free: 64.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1553/0.3529, allocations: 131.5 MB / 1.03 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002097/0.3532, allocations: 79.94 kB / 1.03 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.001803/0.355, allocations: 0.7243 MB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.114e-06/0.355, allocations: 4 kB / 1.03 GB, free: 11.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.355, allocations: 8 kB / 1.03 GB, free: 11.58 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.0003527/0.3554, allocations: 343.4 kB / 1.031 GB, free: 11.19 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 3.404e-05/0.3554, allocations: 8.031 kB / 1.031 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.959e-05/0.3555, allocations: 4.938 kB / 1.031 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001269/0.3556, allocations: 164.3 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.999e-05/0.3556, allocations: 384 / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.024e-05/0.3556, allocations: 4.375 kB / 1.031 GB, free: 10.98 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001579/0.3558, allocations: 62.23 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.366e-06/0.3558, allocations: 192 / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.021e-05/0.3558, allocations: 3.938 kB / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.386e-06/0.3558, allocations: 0 / 1.031 GB, free: 10.91 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001577/0.356, allocations: 47.95 kB / 1.031 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003161/0.3563, allocations: 252.9 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001259/0.3565, allocations: 54.41 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.3566, allocations: 32.91 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.439e-05/0.3566, allocations: 3.938 kB / 1.031 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.962e-05/0.3566, allocations: 34.56 kB / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.3566, allocations: 0 / 1.031 GB, free: 10.42 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2): time 0.0003388/0.357, allocations: 97.64 kB / 1.031 GB, free: 10.32 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.352e-05/0.357, allocations: 63.33 kB / 1.032 GB, free: 10.24 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.352e-05/0.3571, allocations: 97.86 kB / 1.032 GB, free: 10.14 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.232e-05/0.3571, allocations: 25.7 kB / 1.032 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 3.403e-05/0.3571, allocations: 88.27 kB / 1.032 GB, free: 10.02 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 1.411e-05/0.3572, allocations: 3.906 kB / 1.032 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.855e-06/0.3572, allocations: 0 / 1.032 GB, free: 10.01 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.3573, allocations: 318.8 kB / 1.032 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.806e-05/0.3574, allocations: 19.98 kB / 1.032 GB, free: 9.672 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.866e-05/0.3574, allocations: 23.98 kB / 1.032 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001541/0.3576, allocations: 52.81 kB / 1.032 GB, free: 9.594 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.3576, allocations: 4 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001881/0.3578, allocations: 85.59 kB / 1.032 GB, free: 9.5 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.121e-05/0.3578, allocations: 4 kB / 1.032 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.747e-06/0.3578, allocations: 3.938 kB / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.02e-05/0.3579, allocations: 0 / 1.032 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.065e-05/0.358, allocations: 20.02 kB / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.358, allocations: 0 / 1.032 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.999e-05/0.358, allocations: 7.984 kB / 1.032 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.246e-06/0.358, allocations: 4 kB / 1.032 GB, free: 9.461 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 7.426e-05/0.3581, allocations: 113.8 kB / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.087e-05/0.3581, allocations: 0 / 1.032 GB, free: 9.34 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.737e-05/0.3582, allocations: 3.125 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.3582, allocations: 4 kB / 1.032 GB, free: 9.332 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.996e-06/0.3582, allocations: 4 kB / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.124e-06/0.3582, allocations: 0 / 1.032 GB, free: 9.328 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001497/0.3583, allocations: 161.6 kB / 1.033 GB, free: 9.121 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.816e-06/0.3584, allocations: 4 kB / 1.033 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.755e-05/0.3584, allocations: 11.98 kB / 1.033 GB, free: 9.105 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.363e-06/0.3584, allocations: 3.938 kB / 1.033 GB, free: 9.102 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.025e-06/0.3584, allocations: 4 kB / 1.033 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.82e-07/0.3585, allocations: 0 / 1.033 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.3585, allocations: 0 / 1.033 GB, free: 9.098 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002446/0.3587, allocations: 183.3 kB / 1.033 GB, free: 8.902 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 2.924e-05/0.3588, allocations: 81.11 kB / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.212e-05/0.3588, allocations: 0 / 1.033 GB, free: 8.805 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.638e-05/0.3589, allocations: 16.02 kB / 1.033 GB, free: 8.789 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.426e-05/0.3589, allocations: 7.984 kB / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.3589, allocations: 0 / 1.033 GB, free: 8.781 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.359, allocations: 83.28 kB / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.31e-07/0.359, allocations: 0 / 1.033 GB, free: 8.699 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002055/0.3592, allocations: 11.94 kB / 1.033 GB, free: 8.688 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.0001101/0.3593, allocations: 103.2 kB / 1.033 GB, free: 8.574 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0001934/0.3595, allocations: 47.97 kB / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.242e-06/0.3595, allocations: 0 / 1.033 GB, free: 8.527 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 9.259e-05/0.3596, allocations: 39.97 kB / 1.033 GB, free: 8.488 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.3598, allocations: 6.344 kB / 1.033 GB, free: 8.484 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002643/0.3601, allocations: 114.3 kB / 1.033 GB, free: 8.348 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00024/0.3604, allocations: 0.677 MB / 1.034 GB, free: 7.645 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.093e-05/0.3604, allocations: 8 kB / 1.034 GB, free: 7.637 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.127e-05/0.3604, allocations: 11.44 kB / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of SimCode: time 2.21e-07/0.3604, allocations: 0 / 1.034 GB, free: 7.625 MB / 0.6823 GB Notification: Performance of Templates: time 0.002111/0.3626, allocations: 0.5075 MB / 1.034 GB, free: 7.129 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)