Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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.8.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.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.813/1.813, allocations: 288.3 MB / 303.2 MB, free: 8.176 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.001443/0.001443, allocations: 179.3 kB / 371.8 MB, free: 10.28 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.725/1.725, allocations: 205.4 MB / 0.6306 GB, free: 10 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009582/0.0009582, allocations: 89.16 kB / 0.7439 GB, free: 5.934 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006301, allocations: 16.12 kB / 0.8668 GB, free: 142.1 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2775/0.2782, allocations: 115.3 MB / 0.9794 GB, free: 27.68 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0008847/0.2791, allocations: 344.5 kB / 0.9798 GB, free: 27.34 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001068/0.2802, allocations: 0.8143 MB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.252e-05/0.2803, allocations: 0 / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.75e-05/0.2803, allocations: 4 kB / 0.9806 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.174e-05/0.2804, allocations: 3.984 kB / 0.9806 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001413/0.2806, allocations: 15.98 kB / 0.9806 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 5.881e-05/0.2806, allocations: 15.92 kB / 0.9806 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.16e-05/0.2807, allocations: 7.984 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 5.898e-05/0.2808, allocations: 4 kB / 0.9806 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.93e-05/0.2809, allocations: 15.92 kB / 0.9806 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.932e-05/0.2809, allocations: 4 kB / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.077e-05/0.2809, allocations: 0 / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.052e-05/0.2809, allocations: 0 / 0.9806 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.243e-05/0.281, allocations: 33.69 kB / 0.9807 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.761e-05/0.281, allocations: 15.95 kB / 0.9807 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2811, allocations: 8 kB / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.794e-06/0.2811, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 4.208e-06/0.2811, allocations: 0 / 0.9807 GB, free: 26.38 MB / 0.6198 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.0004409/0.2815, allocations: 340.7 kB / 0.981 GB, free: 26 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.077e-05/0.2816, allocations: 8.031 kB / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.467e-05/0.2816, allocations: 0 / 0.981 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.49e-05/0.2817, allocations: 167 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.777e-05/0.2818, allocations: 4 kB / 0.9812 GB, free: 25.79 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.686e-05/0.2818, allocations: 7.938 kB / 0.9812 GB, free: 25.78 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002154/0.282, allocations: 61.59 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.282, allocations: 4 kB / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.2821, allocations: 0 / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.308e-06/0.2821, allocations: 0 / 0.9812 GB, free: 25.71 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002401/0.2823, allocations: 55.88 kB / 0.9813 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003272/0.2827, allocations: 244.9 kB / 0.9815 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001714/0.2829, allocations: 54.53 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.701e-05/0.2829, allocations: 4 kB / 0.9816 GB, free: 25.3 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.758e-05/0.2829, allocations: 30.56 kB / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 1.333e-06/0.2829, allocations: 0 / 0.9816 GB, free: 25.26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0004729/0.2834, allocations: 101.7 kB / 0.9817 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.833e-05/0.2834, allocations: 55.39 kB / 0.9818 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.711e-05/0.2835, allocations: 105.8 kB / 0.9819 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.2835, allocations: 25.7 kB / 0.9819 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.487e-05/0.2836, allocations: 80.14 kB / 0.982 GB, free: 24.86 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.2836, allocations: 8.062 kB / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.559e-06/0.2836, allocations: 0 / 0.982 GB, free: 24.85 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.103e-05/0.2837, allocations: 326.8 kB / 0.9823 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000117/0.2838, allocations: 15.98 kB / 0.9823 GB, free: 24.51 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001098/0.284, allocations: 23.98 kB / 0.9823 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001172/0.2841, allocations: 28.03 kB / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.2841, allocations: 0 / 0.9823 GB, free: 24.46 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000283/0.2844, allocations: 85.56 kB / 0.9824 GB, free: 24.37 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.888e-05/0.2844, allocations: 4 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.212e-06/0.2845, allocations: 0 / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.63e-05/0.2845, allocations: 4 kB / 0.9824 GB, free: 24.36 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001357/0.2846, allocations: 11.98 kB / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.715e-06/0.2846, allocations: 0 / 0.9824 GB, free: 24.35 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.321e-05/0.2847, allocations: 4 kB / 0.9825 GB, free: 24.34 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.659e-06/0.2847, allocations: 4 kB / 0.9825 GB, free: 24.34 MB / 0.6198 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 8.266e-05/0.2848, allocations: 121.8 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.404e-05/0.2849, allocations: 4 kB / 0.9826 GB, free: 24.21 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.428e-05/0.2849, allocations: 11.12 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.2849, allocations: 0 / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.2849, allocations: 0 / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.979e-06/0.285, allocations: 3.938 kB / 0.9826 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001732/0.2851, allocations: 161.6 kB / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.2851, allocations: 0 / 0.9827 GB, free: 23.99 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.789e-05/0.2852, allocations: 12 kB / 0.9828 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.73e-06/0.2853, allocations: 4 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.14e-05/0.2853, allocations: 3.984 kB / 0.9828 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.366e-06/0.2853, allocations: 3.984 kB / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.152e-06/0.2853, allocations: 0 / 0.9828 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000306/0.2856, allocations: 183.5 kB / 0.9829 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.64e-05/0.2857, allocations: 77.11 kB / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.816e-05/0.2857, allocations: 0 / 0.983 GB, free: 23.68 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001163/0.2858, allocations: 15.92 kB / 0.983 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.452e-05/0.2859, allocations: 7.938 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.753e-06/0.2859, allocations: 3.984 kB / 0.983 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.873e-05/0.2859, allocations: 83.31 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.91e-07/0.2859, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003375/0.2863, allocations: 4 kB / 0.9831 GB, free: 23.56 MB / 0.6198 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.0001059/0.2864, allocations: 99.19 kB / 0.9832 GB, free: 23.46 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.000281/0.2867, allocations: 55.95 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.335e-06/0.2867, allocations: 4 kB / 0.9833 GB, free: 23.4 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001257/0.2868, allocations: 23.98 kB / 0.9833 GB, free: 23.38 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002559/0.2871, allocations: 7.984 kB / 0.9833 GB, free: 23.37 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003176/0.2874, allocations: 122.7 kB / 0.9834 GB, free: 23.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001536/0.2876, allocations: 0.677 MB / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.612e-05/0.2877, allocations: 0 / 0.9841 GB, free: 22.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.567e-05/0.2877, allocations: 11.44 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of SimCode: time 2.8e-07/0.2877, allocations: 3.938 kB / 0.9841 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of Templates: time 0.002997/0.2907, allocations: 0.4956 MB / 0.9846 GB, free: 22.02 MB / 0.6198 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)