Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 3.309/3.309, allocations: 287.3 MB / 302.3 MB, free: 8.23 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.002244/0.002243, allocations: 185 kB / 370.8 MB, free: 10.88 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.747/2.747, allocations: 205.4 MB / 0.6295 GB, free: 10.66 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.001832/0.001832, allocations: 78.98 kB / 0.7428 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0006258/0.0006259, allocations: 14.91 kB / 0.8656 GB, free: 140.3 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.241/0.2417, allocations: 115.3 MB / 0.9782 GB, free: 28.43 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001137/0.2429, allocations: 352.2 kB / 0.9785 GB, free: 28.08 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001588/0.2445, allocations: 0.8104 MB / 0.9793 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.062e-05/0.2446, allocations: 0 / 0.9793 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.262e-05/0.2447, allocations: 0 / 0.9793 GB, free: 27.26 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 9.554e-05/0.2448, allocations: 7.922 kB / 0.9793 GB, free: 27.25 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001788/0.245, allocations: 11.98 kB / 0.9793 GB, free: 27.24 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.498e-05/0.2451, allocations: 15.92 kB / 0.9794 GB, free: 27.22 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.622e-05/0.2452, allocations: 8 kB / 0.9794 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 8.051e-05/0.2453, allocations: 11.98 kB / 0.9794 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 7.269e-05/0.2454, allocations: 11.92 kB / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 2.38e-05/0.2455, allocations: 0 / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 1.649e-05/0.2455, allocations: 4 kB / 0.9794 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.752e-05/0.2455, allocations: 4 kB / 0.9794 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.659e-05/0.2456, allocations: 25.7 kB / 0.9794 GB, free: 27.15 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 8.016e-05/0.2457, allocations: 19.94 kB / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.666e-06/0.2457, allocations: 0 / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.655e-06/0.2457, allocations: 0 / 0.9794 GB, free: 27.13 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.25e-06/0.2457, allocations: 4 kB / 0.9794 GB, free: 27.13 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.0006057/0.2464, allocations: 339.5 kB / 0.9798 GB, free: 26.75 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 5.811e-05/0.2464, allocations: 16.02 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.389e-05/0.2465, allocations: 4 kB / 0.9798 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001116/0.2466, allocations: 163 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.289e-05/0.2467, allocations: 4 kB / 0.9799 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.89e-05/0.2467, allocations: 7.938 kB / 0.98 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003522/0.2471, allocations: 53.67 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.267e-05/0.2471, allocations: 3.938 kB / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.798e-05/0.2472, allocations: 0 / 0.98 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.207e-06/0.2472, allocations: 7.938 kB / 0.98 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004676/0.2477, allocations: 47.95 kB / 0.9801 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.2482, allocations: 252.9 kB / 0.9803 GB, free: 26.11 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003138/0.2486, allocations: 54.48 kB / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.46e-05/0.2486, allocations: 0 / 0.9804 GB, free: 26.04 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.648e-05/0.2487, allocations: 30.56 kB / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=2): time 3.597e-06/0.2487, allocations: 0 / 0.9804 GB, free: 26 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2): time 0.0008666/0.2496, allocations: 101.7 kB / 0.9805 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.414e-05/0.2496, allocations: 51.41 kB / 0.9805 GB, free: 25.84 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.753e-05/0.2498, allocations: 105.8 kB / 0.9806 GB, free: 25.72 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.738e-05/0.2498, allocations: 25.7 kB / 0.9807 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.017e-05/0.2499, allocations: 88.08 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.836e-05/0.2499, allocations: 4 kB / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.825e-06/0.2499, allocations: 128 / 0.9807 GB, free: 25.6 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 7.25e-05/0.25, allocations: 318.8 kB / 0.9811 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002351/0.2503, allocations: 27.97 kB / 0.9811 GB, free: 25.25 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002537/0.2506, allocations: 19.98 kB / 0.9811 GB, free: 25.23 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002226/0.2508, allocations: 24.05 kB / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.858e-06/0.2508, allocations: 0 / 0.9811 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0005528/0.2514, allocations: 81.56 kB / 0.9812 GB, free: 25.12 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.544e-05/0.2514, allocations: 8.031 kB / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.396e-06/0.2515, allocations: 0 / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.088e-05/0.2515, allocations: 0 / 0.9812 GB, free: 25.11 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002231/0.2517, allocations: 11.98 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.376e-06/0.2518, allocations: 4 kB / 0.9812 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001459/0.2519, allocations: 7.984 kB / 0.9812 GB, free: 25.09 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.246e-05/0.252, allocations: 0 / 0.9812 GB, free: 25.09 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 0.0001102/0.2521, allocations: 125.7 kB / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.512e-05/0.2522, allocations: 0 / 0.9813 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.92e-05/0.2522, allocations: 3.125 kB / 0.9814 GB, free: 24.96 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.933e-06/0.2522, allocations: 4 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.151e-06/0.2523, allocations: 0 / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.342e-06/0.2523, allocations: 3.984 kB / 0.9814 GB, free: 24.95 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002746/0.2526, allocations: 157.6 kB / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.387e-06/0.2526, allocations: 0 / 0.9815 GB, free: 24.75 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001786/0.2528, allocations: 15.98 kB / 0.9815 GB, free: 24.73 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.031e-06/0.2528, allocations: 7.938 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.279e-05/0.2528, allocations: 0 / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2529, allocations: 4 kB / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.346e-06/0.2529, allocations: 192 / 0.9815 GB, free: 24.72 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005615/0.2534, allocations: 183.4 kB / 0.9817 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 3.669e-05/0.2535, allocations: 89.08 kB / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.3e-05/0.2535, allocations: 0 / 0.9818 GB, free: 24.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001993/0.2538, allocations: 4 kB / 0.9818 GB, free: 24.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.254e-05/0.2539, allocations: 11.92 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.262e-05/0.2539, allocations: 4 kB / 0.9818 GB, free: 24.4 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.546e-05/0.254, allocations: 83.28 kB / 0.9819 GB, free: 24.32 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.92e-07/0.254, allocations: 4.031 kB / 0.9819 GB, free: 24.31 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0005017/0.2545, allocations: 4 kB / 0.9819 GB, free: 24.31 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.0001453/0.2546, allocations: 103.2 kB / 0.982 GB, free: 24.2 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0005069/0.2552, allocations: 47.97 kB / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/0.2552, allocations: 0 / 0.982 GB, free: 24.15 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0002427/0.2555, allocations: 27.97 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000343/0.2558, allocations: 7.953 kB / 0.9821 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004412/0.2563, allocations: 112.7 kB / 0.9822 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001497/0.2565, allocations: 0.6809 MB / 0.9829 GB, free: 23.28 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 6.18e-05/0.2565, allocations: 4 kB / 0.9829 GB, free: 23.27 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.844e-05/0.2566, allocations: 11.42 kB / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of SimCode: time 1.192e-06/0.2566, allocations: 0 / 0.9829 GB, free: 23.26 MB / 0.6198 GB Notification: Performance of Templates: time 0.005663/0.2623, allocations: 494.9 kB / 0.9833 GB, free: 22.78 MB / 0.6198 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)