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.67/1.67, allocations: 288.4 MB / 304.3 MB, free: 8.156 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.001842/0.001842, allocations: 179.1 kB / 372.9 MB, free: 10.17 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.551/1.551, allocations: 205.4 MB / 0.6316 GB, free: 9.914 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.0007457/0.0007457, allocations: 104.1 kB / 0.745 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000393/0.000393, allocations: 12.28 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2686/0.269, allocations: 115.3 MB / 0.9807 GB, free: 27.37 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0008175/0.2698, allocations: 346.1 kB / 0.9811 GB, free: 27.03 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.0008377/0.2707, allocations: 0.8166 MB / 0.9819 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.295e-05/0.2707, allocations: 0 / 0.9819 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.642e-05/0.2708, allocations: 0 / 0.9819 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.867e-05/0.2708, allocations: 0 / 0.9819 GB, free: 26.2 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001351/0.271, allocations: 27.91 kB / 0.9819 GB, free: 26.17 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 6.177e-05/0.2711, allocations: 19.98 kB / 0.9819 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.2712, allocations: 4 kB / 0.9819 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.466e-05/0.2712, allocations: 11.92 kB / 0.9819 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.2713, allocations: 8 kB / 0.9819 GB, free: 26.13 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.869e-05/0.2713, allocations: 7.938 kB / 0.982 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 9.238e-06/0.2713, allocations: 3.938 kB / 0.982 GB, free: 26.12 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.41e-05/0.2714, allocations: 7.969 kB / 0.982 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 3.043e-05/0.2714, allocations: 33.7 kB / 0.982 GB, free: 26.07 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 5.267e-05/0.2715, allocations: 11.97 kB / 0.982 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 6.943e-06/0.2715, allocations: 4 kB / 0.982 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.444e-06/0.2715, allocations: 0 / 0.982 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 8.616e-06/0.2715, allocations: 0 / 0.982 GB, free: 26.05 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.0003916/0.2719, allocations: 347.6 kB / 0.9823 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.2719, allocations: 11.97 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.12e-05/0.272, allocations: 4.922 kB / 0.9824 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.892e-05/0.2721, allocations: 164.4 kB / 0.9825 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.146e-05/0.2721, allocations: 4.375 kB / 0.9825 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.369e-05/0.2721, allocations: 4.359 kB / 0.9825 GB, free: 25.44 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001678/0.2723, allocations: 54.23 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.286e-06/0.2723, allocations: 4.188 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.959e-06/0.2723, allocations: 3.938 kB / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.568e-06/0.2723, allocations: 0 / 0.9826 GB, free: 25.38 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001756/0.2725, allocations: 47.95 kB / 0.9826 GB, free: 25.33 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003017/0.2728, allocations: 252.9 kB / 0.9829 GB, free: 25.03 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000122/0.2729, allocations: 54.48 kB / 0.9829 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.716e-05/0.273, allocations: 28.91 kB / 0.983 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.588e-05/0.2731, allocations: 0 / 0.983 GB, free: 24.94 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.519e-05/0.2731, allocations: 30.56 kB / 0.983 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 9.22e-07/0.2731, allocations: 4 kB / 0.983 GB, free: 24.89 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0003544/0.2735, allocations: 105.5 kB / 0.9831 GB, free: 24.79 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.149e-05/0.2735, allocations: 51.53 kB / 0.9831 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.188e-05/0.2736, allocations: 105.8 kB / 0.9832 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.213e-05/0.2736, allocations: 29.7 kB / 0.9833 GB, free: 24.57 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 3.402e-05/0.2736, allocations: 80.14 kB / 0.9833 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.334e-05/0.2736, allocations: 0 / 0.9833 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.457e-06/0.2736, allocations: 0 / 0.9833 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.674e-05/0.2737, allocations: 318.8 kB / 0.9836 GB, free: 24.17 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.17e-05/0.2738, allocations: 23.98 kB / 0.9837 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.216e-05/0.2739, allocations: 23.98 kB / 0.9837 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001816/0.2741, allocations: 52.88 kB / 0.9837 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.2741, allocations: 3.938 kB / 0.9837 GB, free: 24.07 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001906/0.2743, allocations: 93.44 kB / 0.9838 GB, free: 23.97 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.415e-05/0.2743, allocations: 4 kB / 0.9838 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.531e-06/0.2743, allocations: 0 / 0.9838 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.256e-05/0.2743, allocations: 4.031 kB / 0.9838 GB, free: 23.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001023/0.2744, allocations: 11.98 kB / 0.9839 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.082e-06/0.2744, allocations: 0 / 0.9839 GB, free: 23.95 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.294e-05/0.2745, allocations: 8 kB / 0.9839 GB, free: 23.94 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.921e-06/0.2745, allocations: 3.984 kB / 0.9839 GB, free: 23.94 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 6.018e-05/0.2746, allocations: 111.4 kB / 0.984 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.116e-05/0.2746, allocations: 7.938 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.606e-05/0.2746, allocations: 7.125 kB / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.2746, allocations: 0 / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2746, allocations: 0 / 0.984 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 1.879e-05/0.2747, allocations: 81.11 kB / 0.9841 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.152e-05/0.2747, allocations: 3.938 kB / 0.9841 GB, free: 23.71 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.092e-05/0.2748, allocations: 7.984 kB / 0.9841 GB, free: 23.7 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.2748, allocations: 11.98 kB / 0.9841 GB, free: 23.69 MB / 0.6198 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002364/0.2751, allocations: 172.8 kB / 0.9842 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0002261/0.2753, allocations: 254.7 kB / 0.9845 GB, free: 23.25 MB / 0.6198 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.322e-05/0.2754, allocations: 27.98 kB / 0.9845 GB, free: 23.22 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 2.259e-05/0.2754, allocations: 83.48 kB / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of Backend: time 2.81e-07/0.2754, allocations: 0 / 0.9846 GB, free: 23.14 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003791/0.2758, allocations: 107.2 kB / 0.9847 GB, free: 23.03 MB / 0.6198 GB Notification: Performance of SimCode: time 0.0004084/0.2762, allocations: 0.5603 MB / 0.9852 GB, free: 22.42 MB / 0.6198 GB Notification: Performance of Templates: time 0.002523/0.2788, allocations: 0.5735 MB / 0.9858 GB, free: 21.86 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)