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.001293/0.001293, allocations: 100.4 kB / 16.29 MB, free: 5.922 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00136/0.00136, allocations: 180 kB / 17.22 MB, free: 5.555 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.587/1.587, allocations: 205.1 MB / 223.1 MB, free: 12.31 MB / 190.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.982/1.982, allocations: 292.3 MB / 0.5495 GB, free: 17.46 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.002333/0.002333, allocations: 71.89 kB / 0.6722 GB, free: 6.527 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3671/0.3694, allocations: 114.5 MB / 0.7841 GB, free: 3.863 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00242/0.3719, allocations: 0.6196 MB / 0.7847 GB, free: 3.238 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001423/0.3734, allocations: 0.8321 MB / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.415e-05/0.3734, allocations: 0 / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 4.088e-05/0.3735, allocations: 0 / 0.7855 GB, free: 2.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 9.721e-05/0.3736, allocations: 7.875 kB / 0.7855 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000221/0.3738, allocations: 15.92 kB / 0.7855 GB, free: 2.367 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.0001102/0.374, allocations: 23.98 kB / 0.7855 GB, free: 2.344 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001689/0.3741, allocations: 11.98 kB / 0.7856 GB, free: 2.332 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 9.963e-05/0.3742, allocations: 11.98 kB / 0.7856 GB, free: 2.32 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 8.109e-05/0.3743, allocations: 11.94 kB / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 2.59e-05/0.3744, allocations: 0 / 0.7856 GB, free: 2.309 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 2.272e-05/0.3744, allocations: 4 kB / 0.7856 GB, free: 2.305 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 3.286e-05/0.3744, allocations: 7.922 kB / 0.7856 GB, free: 2.297 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 6.678e-05/0.3745, allocations: 11.94 kB / 0.7856 GB, free: 2.285 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.0001387/0.3746, allocations: 27.89 kB / 0.7856 GB, free: 2.258 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 1.21e-05/0.3747, allocations: 3.984 kB / 0.7856 GB, free: 2.254 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.835e-06/0.3747, allocations: 4 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.378e-06/0.3747, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 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.0006678/0.3754, allocations: 339.7 kB / 0.786 GB, free: 1.867 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.583e-05/0.3754, allocations: 12.03 kB / 0.786 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.778e-05/0.3755, allocations: 4.875 kB / 0.786 GB, free: 1.852 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001871/0.3757, allocations: 164.4 kB / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.614e-05/0.3757, allocations: 384 / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.864e-05/0.3757, allocations: 384 / 0.7861 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002382/0.376, allocations: 62.22 kB / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.503e-05/0.376, allocations: 192 / 0.7862 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.716e-05/0.376, allocations: 3.938 kB / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.159e-05/0.3761, allocations: 0 / 0.7862 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000182/0.3762, allocations: 35.91 kB / 0.7862 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.3768, allocations: 253 kB / 0.7865 GB, free: 1.25 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001728/0.377, allocations: 46.48 kB / 0.7865 GB, free: 1.195 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.379e-05/0.3771, allocations: 24.91 kB / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 2.417e-05/0.3771, allocations: 0 / 0.7865 GB, free: 1.168 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.3772, allocations: 30.56 kB / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.172e-06/0.3772, allocations: 0 / 0.7866 GB, free: 1.129 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.000446/0.3776, allocations: 97.47 kB / 0.7867 GB, free: 1.027 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.286e-05/0.3777, allocations: 51.41 kB / 0.7867 GB, free: 0.9648 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.3778, allocations: 101.9 kB / 0.7868 GB, free: 0.8555 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.3778, allocations: 25.7 kB / 0.7868 GB, free: 0.8242 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 7.734e-05/0.3779, allocations: 80.14 kB / 0.7869 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.992e-05/0.378, allocations: 3.984 kB / 0.7869 GB, free: 0.7383 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.378, allocations: 17.72 kB / 0.7869 GB, free: 0.7148 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001957/0.3782, allocations: 315 kB / 0.7872 GB, free: 408 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.956e-05/0.3783, allocations: 15.98 kB / 0.7872 GB, free: 392 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/0.3784, allocations: 19.97 kB / 0.7873 GB, free: 372 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001818/0.3786, allocations: 40.77 kB / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.915e-06/0.3786, allocations: 64 / 0.7873 GB, free: 328 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002258/0.3788, allocations: 85.44 kB / 0.7874 GB, free: 236 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.293e-05/0.3789, allocations: 8 kB / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.566e-06/0.3789, allocations: 0 / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.3789, allocations: 0 / 0.7874 GB, free: 228 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001356/0.3791, allocations: 7.984 kB / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.819e-06/0.3791, allocations: 0 / 0.7874 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.583e-05/0.3791, allocations: 7.984 kB / 0.7874 GB, free: 212 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.379e-05/0.3792, allocations: 8.031 kB / 0.7874 GB, free: 204 kB / 0.6544 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 0.0001253/0.3793, allocations: 109.8 kB / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.266e-05/0.3793, allocations: 192 / 0.7875 GB, free: 84 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.127e-05/0.3794, allocations: 15.11 kB / 0.7875 GB, free: 68 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.432e-05/0.3794, allocations: 3.984 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.3794, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.09e-06/0.3794, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.6239/1.003, allocations: 153.8 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.484e-06/1.003, allocations: 6.109 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/1.004, allocations: 8.922 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.394e-06/1.004, allocations: 1.406 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/1.004, allocations: 5.312 kB / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.897e-06/1.004, allocations: 0 / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/1.004, allocations: 0 / 0.7877 GB, free: 48.39 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003358/1.004, allocations: 168.2 kB / 0.7879 GB, free: 48.27 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 4.643e-05/1.004, allocations: 81.52 kB / 0.7879 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.896e-05/1.004, allocations: 1.375 kB / 0.7879 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.444e-05/1.004, allocations: 9.641 kB / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.066e-05/1.004, allocations: 13.03 kB / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.146e-06/1.004, allocations: 0 / 0.788 GB, free: 48.17 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 4.468e-05/1.004, allocations: 81.34 kB / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.2e-07/1.004, allocations: 0 / 0.788 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003016/1.005, allocations: 5.156 kB / 0.7881 GB, free: 48.1 MB / 0.6544 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.0001315/1.005, allocations: 106.4 kB / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002299/1.005, allocations: 38.75 kB / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.036e-06/1.005, allocations: 0 / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 9.729e-05/1.005, allocations: 27.19 kB / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/1.005, allocations: 8.406 kB / 0.7882 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003884/1.006, allocations: 95.23 kB / 0.7883 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001561/1.006, allocations: 0.6818 MB / 0.789 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 3.448e-05/1.006, allocations: 7.438 kB / 0.789 GB, free: 47.23 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.901e-05/1.006, allocations: 14.83 kB / 0.789 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of SimCode: time 2.21e-07/1.006, allocations: 0 / 0.789 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of Templates: time 0.003096/1.009, allocations: 0.5995 MB / 0.7896 GB, free: 47.22 MB / 0.6544 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 -s cvode -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)