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.001502/0.001502, allocations: 113.2 kB / 16.37 MB, free: 5.535 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.001644/0.001644, allocations: 186.4 kB / 17.3 MB, free: 5.188 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.464/1.464, allocations: 205.1 MB / 223.2 MB, free: 12.25 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.955/1.955, allocations: 292.3 MB / 0.5496 GB, free: 17.45 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.001451/0.001451, allocations: 66.62 kB / 0.6729 GB, free: 5.828 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2451/0.2465, allocations: 114.6 MB / 0.7848 GB, free: 3.152 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001984/0.2486, allocations: 0.6272 MB / 0.7854 GB, free: 2.523 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.000998/0.2496, allocations: 0.8282 MB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.346e-05/0.2496, allocations: 0 / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.113e-05/0.2497, allocations: 3.938 kB / 0.7862 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.853e-05/0.2497, allocations: 4 kB / 0.7862 GB, free: 1.672 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001588/0.2499, allocations: 19.92 kB / 0.7862 GB, free: 1.652 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.806e-05/0.25, allocations: 19.98 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.000118/0.2501, allocations: 7.938 kB / 0.7863 GB, free: 1.625 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.828e-05/0.2502, allocations: 15.97 kB / 0.7863 GB, free: 1.609 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 6.758e-05/0.2503, allocations: 19.92 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.845e-05/0.2503, allocations: 4 kB / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 8.937e-06/0.2503, allocations: 0 / 0.7863 GB, free: 1.586 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.945e-05/0.2503, allocations: 4 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.102e-05/0.2504, allocations: 7.938 kB / 0.7863 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 8.981e-05/0.2505, allocations: 31.88 kB / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.298e-06/0.2505, allocations: 0 / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.744e-06/0.2505, allocations: 0 / 0.7864 GB, free: 1.543 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 6.632e-06/0.2505, allocations: 0 / 0.7864 GB, free: 1.543 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.0005104/0.251, allocations: 343.4 kB / 0.7867 GB, free: 1.156 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.823e-05/0.2511, allocations: 8.031 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.2511, allocations: 4.938 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.2512, allocations: 164.4 kB / 0.7868 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.371e-05/0.2513, allocations: 384 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.081e-05/0.2513, allocations: 384 / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2515, allocations: 54.17 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.095e-06/0.2515, allocations: 4.188 kB / 0.7869 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.2515, allocations: 3.938 kB / 0.7869 GB, free: 0.8789 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.6e-06/0.2515, allocations: 7.938 kB / 0.7869 GB, free: 0.8711 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001797/0.2517, allocations: 35.95 kB / 0.787 GB, free: 0.8359 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004108/0.2522, allocations: 249 kB / 0.7872 GB, free: 0.543 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000138/0.2523, allocations: 38.5 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.913e-05/0.2524, allocations: 36.83 kB / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.443e-05/0.2524, allocations: 0 / 0.7873 GB, free: 468 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.411e-05/0.2525, allocations: 30.56 kB / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.2525, allocations: 0 / 0.7873 GB, free: 428 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003805/0.2529, allocations: 89.55 kB / 0.7874 GB, free: 332 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.394e-05/0.2529, allocations: 55.53 kB / 0.7874 GB, free: 264 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.167e-05/0.253, allocations: 101.8 kB / 0.7875 GB, free: 152 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.621e-05/0.253, allocations: 25.7 kB / 0.7876 GB, free: 120 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.295e-05/0.2531, allocations: 80.14 kB / 0.7876 GB, free: 36 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 2.068e-05/0.2531, allocations: 4 kB / 0.7876 GB, free: 32 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.469e-05/0.2532, allocations: 17.66 kB / 0.7876 GB, free: 8 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.3912/0.6443, allocations: 311.9 kB / 0.7879 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001512/0.6445, allocations: 19.69 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.448e-05/0.6446, allocations: 20.64 kB / 0.788 GB, free: 48.45 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001705/0.6448, allocations: 41.92 kB / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.6448, allocations: 0 / 0.788 GB, free: 48.44 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002328/0.645, allocations: 79.05 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.69e-05/0.645, allocations: 5.281 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.301e-06/0.6451, allocations: 3.141 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.086e-05/0.6451, allocations: 1.172 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001244/0.6452, allocations: 10.89 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.6452, allocations: 0.5938 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.171e-05/0.6453, allocations: 3.75 kB / 0.7881 GB, free: 48.41 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.145e-06/0.6453, allocations: 6.266 kB / 0.7881 GB, free: 48.41 MB / 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 6.174e-05/0.6454, allocations: 112.5 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.6454, allocations: 2.531 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.18e-05/0.6454, allocations: 6.312 kB / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.635e-06/0.6455, allocations: 0 / 0.7882 GB, free: 48.3 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.5e-06/0.6455, allocations: 5.344 kB / 0.7882 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.186e-06/0.6455, allocations: 2.719 kB / 0.7883 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001357/0.6456, allocations: 157.6 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.423e-06/0.6456, allocations: 0 / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.742e-05/0.6457, allocations: 15.48 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.945e-06/0.6457, allocations: 0 / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.765e-06/0.6457, allocations: 6.969 kB / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.683e-06/0.6457, allocations: 0 / 0.7884 GB, free: 48.11 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.913e-06/0.6457, allocations: 3.938 kB / 0.7884 GB, free: 48.1 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002306/0.646, allocations: 168.8 kB / 0.7886 GB, free: 47.97 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.016e-05/0.646, allocations: 80.95 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.354e-05/0.646, allocations: 2.656 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.655e-05/0.6461, allocations: 8.703 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.576e-05/0.6462, allocations: 10.03 kB / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6462, allocations: 0 / 0.7887 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 2.508e-05/0.6462, allocations: 81.52 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.11e-07/0.6462, allocations: 0.6562 kB / 0.7888 GB, free: 47.8 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0002189/0.6464, allocations: 8.844 kB / 0.7888 GB, free: 47.8 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.0001028/0.6465, allocations: 102.5 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002321/0.6468, allocations: 49.8 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.357e-06/0.6468, allocations: 3.312 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.571e-05/0.6469, allocations: 15.08 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003071/0.6472, allocations: 11.81 kB / 0.7889 GB, free: 47.71 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003145/0.6475, allocations: 120.2 kB / 0.7891 GB, free: 47.59 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001012/0.6476, allocations: 0.6864 MB / 0.7897 GB, free: 46.9 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.973e-05/0.6477, allocations: 7.438 kB / 0.7897 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of SimCode: time 3.21e-07/0.6477, allocations: 0 / 0.7897 GB, free: 46.89 MB / 0.6544 GB Notification: Performance of Templates: time 0.001728/0.6494, allocations: 0.6014 MB / 0.7903 GB, free: 46.89 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 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)