Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.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.7.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.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.42/1.42, allocations: 252 MB / 268 MB, free: 10.87 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001054/0.001054, allocations: 183.1 kB / 327.6 MB, free: 2.094 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.009/2.009, allocations: 205.4 MB / 0.5786 GB, free: 20.17 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000932/0.000932, allocations: 90 kB / 0.6832 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003394/0.0003394, allocations: 9.562 kB / 0.7976 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2257/0.2261, allocations: 106.3 MB / 0.9015 GB, free: 63.5 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001417/0.2276, allocations: 1.053 MB / 0.9025 GB, free: 62.43 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003206/0.2279, allocations: 137.8 kB / 0.9026 GB, free: 62.3 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.143e-05/0.2279, allocations: 4 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.806e-05/0.228, allocations: 3.938 kB / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.47e-05/0.228, allocations: 0 / 0.9026 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001289/0.2282, allocations: 8 kB / 0.9026 GB, free: 62.28 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.718e-05/0.2283, allocations: 27.91 kB / 0.9027 GB, free: 62.25 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.625e-05/0.2284, allocations: 11.98 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.058e-05/0.2284, allocations: 7.938 kB / 0.9027 GB, free: 62.23 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.442e-05/0.2285, allocations: 15.98 kB / 0.9027 GB, free: 62.22 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.207e-05/0.2285, allocations: 3.938 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.157e-05/0.2285, allocations: 4 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.514e-05/0.2286, allocations: 3.938 kB / 0.9027 GB, free: 62.21 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.167e-05/0.2286, allocations: 29.69 kB / 0.9027 GB, free: 62.17 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.324e-05/0.2287, allocations: 23.95 kB / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.2287, allocations: 0 / 0.9028 GB, free: 62.15 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.583e-06/0.2287, allocations: 3.938 kB / 0.9028 GB, free: 62.14 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.248e-06/0.2287, allocations: 4 kB / 0.9028 GB, free: 62.14 MB / 0.6042 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.0003804/0.2291, allocations: 339.5 kB / 0.9031 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.865e-05/0.2291, allocations: 8.031 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.054e-05/0.2292, allocations: 0.9375 kB / 0.9031 GB, free: 61.75 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.2292, allocations: 172.2 kB / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.17e-05/0.2293, allocations: 384 / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.138e-05/0.2293, allocations: 384 / 0.9033 GB, free: 61.54 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001674/0.2295, allocations: 66.22 kB / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.747e-06/0.2295, allocations: 192 / 0.9033 GB, free: 61.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.112e-05/0.2295, allocations: 7.938 kB / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.217e-06/0.2295, allocations: 0 / 0.9033 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001692/0.2297, allocations: 43.95 kB / 0.9034 GB, free: 61.42 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002994/0.23, allocations: 257.1 kB / 0.9036 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001308/0.2301, allocations: 54.47 kB / 0.9037 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.049e-05/0.2302, allocations: 32.91 kB / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.607e-05/0.2303, allocations: 0 / 0.9037 GB, free: 61.02 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.742e-05/0.2303, allocations: 34.55 kB / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.72e-07/0.2303, allocations: 0 / 0.9037 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003593/0.2306, allocations: 105.6 kB / 0.9038 GB, free: 60.87 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.001e-05/0.2307, allocations: 51.41 kB / 0.9039 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.574e-05/0.2307, allocations: 101.9 kB / 0.904 GB, free: 60.7 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 7.574e-06/0.2308, allocations: 25.7 kB / 0.904 GB, free: 60.67 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.277e-05/0.2308, allocations: 84.12 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.676e-05/0.2308, allocations: 4.031 kB / 0.9041 GB, free: 60.58 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.589e-06/0.2308, allocations: 4 kB / 0.9041 GB, free: 60.57 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.876e-05/0.2309, allocations: 314.8 kB / 0.9044 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.007e-05/0.231, allocations: 19.98 kB / 0.9044 GB, free: 60.24 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.403e-05/0.231, allocations: 27.97 kB / 0.9044 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001533/0.2312, allocations: 48.89 kB / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.453e-06/0.2312, allocations: 0 / 0.9045 GB, free: 60.16 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.2314, allocations: 89.53 kB / 0.9046 GB, free: 60.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.326e-05/0.2314, allocations: 4 kB / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.2314, allocations: 0 / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.543e-05/0.2315, allocations: 0 / 0.9046 GB, free: 60.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.913e-05/0.2316, allocations: 19.98 kB / 0.9046 GB, free: 60.04 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.879e-06/0.2316, allocations: 11.88 kB / 0.9046 GB, free: 60.03 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.554e-05/0.2316, allocations: 12.02 kB / 0.9046 GB, free: 60.02 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.616e-05/0.2317, allocations: 0 / 0.9046 GB, free: 60.02 MB / 0.6042 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 5.643e-05/0.2318, allocations: 113.8 kB / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.369e-05/0.2318, allocations: 0 / 0.9047 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.807e-05/0.2318, allocations: 7.125 kB / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.2318, allocations: 0 / 0.9047 GB, free: 59.89 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.2318, allocations: 7.984 kB / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.324e-06/0.2318, allocations: 0 / 0.9047 GB, free: 59.88 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001146/0.232, allocations: 165.5 kB / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.232, allocations: 0 / 0.9049 GB, free: 59.67 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.239e-05/0.232, allocations: 11.98 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.232, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.705e-06/0.2321, allocations: 0 / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.2321, allocations: 4 kB / 0.9049 GB, free: 59.66 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.2321, allocations: 3.984 kB / 0.9049 GB, free: 59.65 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.2323, allocations: 179.4 kB / 0.9051 GB, free: 59.46 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.199e-05/0.2323, allocations: 85.09 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.312e-05/0.2323, allocations: 0 / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.837e-05/0.2324, allocations: 4 kB / 0.9052 GB, free: 59.36 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2325, allocations: 12.02 kB / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.747e-06/0.2325, allocations: 0 / 0.9052 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.317e-05/0.2325, allocations: 87.27 kB / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.4e-07/0.2325, allocations: 0 / 0.9053 GB, free: 59.26 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0002037/0.2327, allocations: 4 kB / 0.9053 GB, free: 59.25 MB / 0.6042 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 9.136e-05/0.2328, allocations: 95.25 kB / 0.9054 GB, free: 59.15 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002585/0.2331, allocations: 51.95 kB / 0.9054 GB, free: 59.1 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 4.349e-06/0.2331, allocations: 4 kB / 0.9054 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001106/0.2332, allocations: 27.92 kB / 0.9054 GB, free: 59.07 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003017/0.2335, allocations: 4.062 kB / 0.9054 GB, free: 59.06 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.2339, allocations: 146.3 kB / 0.9056 GB, free: 58.89 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001081/0.234, allocations: 0.677 MB / 0.9062 GB, free: 58.19 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.519e-05/0.234, allocations: 11.44 kB / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of SimCode: time 4.3e-07/0.234, allocations: 0 / 0.9063 GB, free: 58.18 MB / 0.6042 GB Notification: Performance of Templates: time 0.001889/0.2359, allocations: 0.5924 MB / 0.9068 GB, free: 57.59 MB / 0.6042 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)