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/ModelicaServices 4.0.0+maint.om/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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) 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) 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001151/0.001151, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001153/0.001153, allocations: 195.2 kB / 16.53 MB, free: 6.391 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.712/1.712, allocations: 205.1 MB / 222.4 MB, free: 4.578 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.803/1.803, allocations: 292.3 MB / 0.5489 GB, free: 12.82 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001698/0.001698, allocations: 71.42 kB / 0.6715 GB, free: 26.16 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3507/0.3524, allocations: 114.6 MB / 0.7834 GB, free: 13.45 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002396/0.3549, allocations: 0.6194 MB / 0.784 GB, free: 12.82 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.001135/0.356, allocations: 0.8165 MB / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.872e-05/0.3561, allocations: 0 / 0.7848 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.982e-05/0.3562, allocations: 11.94 kB / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.528e-05/0.3562, allocations: 0 / 0.7848 GB, free: 11.98 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001477/0.3564, allocations: 23.91 kB / 0.7848 GB, free: 11.95 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.083e-05/0.3565, allocations: 23.92 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001066/0.3566, allocations: 4 kB / 0.7848 GB, free: 11.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.606e-05/0.3566, allocations: 11.98 kB / 0.7849 GB, free: 11.91 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.369e-05/0.3567, allocations: 15.92 kB / 0.7849 GB, free: 11.9 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.3567, allocations: 7.938 kB / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.302e-05/0.3567, allocations: 0 / 0.7849 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 2.172e-05/0.3568, allocations: 11.98 kB / 0.7849 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.712e-05/0.3568, allocations: 7.938 kB / 0.7849 GB, free: 11.87 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 7.59e-05/0.3569, allocations: 19.95 kB / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.338e-06/0.3569, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.833e-06/0.3569, allocations: 0 / 0.7849 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.38e-06/0.3569, allocations: 4 kB / 0.7849 GB, free: 11.85 MB / 0.6075 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.0005849/0.3575, allocations: 339.7 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.864e-05/0.3576, allocations: 8.031 kB / 0.7852 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.351e-05/0.3576, allocations: 8.875 kB / 0.7853 GB, free: 11.45 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001345/0.3578, allocations: 168.4 kB / 0.7854 GB, free: 11.25 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.655e-05/0.3578, allocations: 4.375 kB / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.036e-05/0.3578, allocations: 384 / 0.7854 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001861/0.358, allocations: 58.22 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.436e-06/0.358, allocations: 4.125 kB / 0.7855 GB, free: 11.18 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.226e-05/0.358, allocations: 3.938 kB / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.069e-06/0.358, allocations: 0 / 0.7855 GB, free: 11.17 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001778/0.3582, allocations: 39.89 kB / 0.7855 GB, free: 11.13 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003574/0.3586, allocations: 252.8 kB / 0.7858 GB, free: 10.84 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001375/0.3587, allocations: 46.53 kB / 0.7858 GB, free: 10.78 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.169e-05/0.3588, allocations: 20.91 kB / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.569e-05/0.3589, allocations: 0 / 0.7858 GB, free: 10.76 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.594e-05/0.3589, allocations: 38.56 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.21e-07/0.3589, allocations: 4 kB / 0.7859 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003797/0.3593, allocations: 89.56 kB / 0.786 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.843e-05/0.3594, allocations: 51.41 kB / 0.786 GB, free: 10.55 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.78e-05/0.3595, allocations: 93.86 kB / 0.7861 GB, free: 10.45 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.546e-05/0.3595, allocations: 29.83 kB / 0.7861 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 9.962e-05/0.3596, allocations: 92.12 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.826e-05/0.3596, allocations: 3.906 kB / 0.7862 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.951e-05/0.3597, allocations: 9.719 kB / 0.7862 GB, free: 10.3 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001524/0.3598, allocations: 318.8 kB / 0.7865 GB, free: 9.98 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.801e-05/0.3599, allocations: 19.97 kB / 0.7865 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.36, allocations: 19.98 kB / 0.7866 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001583/0.3602, allocations: 44.83 kB / 0.7866 GB, free: 9.895 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.419e-06/0.3602, allocations: 3.984 kB / 0.7866 GB, free: 9.891 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002283/0.3604, allocations: 69.61 kB / 0.7867 GB, free: 9.816 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.625e-05/0.3604, allocations: 7.984 kB / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.3605, allocations: 0 / 0.7867 GB, free: 9.809 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.3605, allocations: 4.031 kB / 0.7867 GB, free: 9.805 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.3606, allocations: 8 kB / 0.7867 GB, free: 9.797 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.562e-06/0.3606, allocations: 3.984 kB / 0.7867 GB, free: 9.793 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.369e-05/0.3607, allocations: 4 kB / 0.7867 GB, free: 9.789 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.33e-06/0.3607, allocations: 0 / 0.7867 GB, free: 9.789 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.838e-05/0.3608, allocations: 110.4 kB / 0.7868 GB, free: 9.672 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.494e-05/0.3608, allocations: 11.92 kB / 0.7868 GB, free: 9.66 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.278e-05/0.3608, allocations: 7.125 kB / 0.7868 GB, free: 9.648 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.703e-06/0.3608, allocations: 4 kB / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.199e-06/0.3608, allocations: 0 / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.3608, allocations: 0 / 0.7868 GB, free: 9.645 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001864/0.361, allocations: 161.6 kB / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.361, allocations: 0 / 0.787 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.95e-05/0.3611, allocations: 11.92 kB / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.3611, allocations: 0 / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.134e-06/0.3611, allocations: 0 / 0.787 GB, free: 9.426 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.747e-06/0.3611, allocations: 11.97 kB / 0.787 GB, free: 9.414 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.52e-07/0.3612, allocations: 3.938 kB / 0.787 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000257/0.3614, allocations: 171.4 kB / 0.7872 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.783e-05/0.3615, allocations: 77.11 kB / 0.7872 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.381e-05/0.3615, allocations: 192 / 0.7873 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.277e-05/0.3616, allocations: 7.984 kB / 0.7873 GB, free: 9.125 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.367e-05/0.3616, allocations: 11.98 kB / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.3616, allocations: 0 / 0.7873 GB, free: 9.113 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.118e-05/0.3617, allocations: 87.3 kB / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of sort global known variables: time 3.51e-07/0.3617, allocations: 0 / 0.7874 GB, free: 9.027 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002242/0.3619, allocations: 4 kB / 0.7874 GB, free: 9.023 MB / 0.6075 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001262/0.362, allocations: 103.1 kB / 0.7875 GB, free: 8.91 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.3623, allocations: 43.95 kB / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.214e-06/0.3623, allocations: 0 / 0.7875 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 9.184e-05/0.3624, allocations: 24.05 kB / 0.7875 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003275/0.3627, allocations: 11.06 kB / 0.7875 GB, free: 8.836 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003218/0.3631, allocations: 109.5 kB / 0.7876 GB, free: 8.703 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000299/0.3634, allocations: 0.6729 MB / 0.7883 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.351e-05/0.3634, allocations: 4.062 kB / 0.7883 GB, free: 8 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.3635, allocations: 15.42 kB / 0.7883 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of SimCode: time 2.11e-07/0.3635, allocations: 3.938 kB / 0.7883 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of Templates: time 0.002992/0.3665, allocations: 0.5994 MB / 0.7889 GB, free: 7.391 MB / 0.6075 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)