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.444/1.444, allocations: 252 MB / 267.6 MB, free: 10.91 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.001028/0.001028, allocations: 174.5 kB / 327.3 MB, free: 2.219 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.67/1.67, allocations: 205.4 MB / 0.5783 GB, free: 20.55 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.0008005/0.0008006, allocations: 87.98 kB / 0.6829 GB, free: 13.33 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003875/0.0003875, allocations: 9.125 kB / 0.797 GB, free: 134.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2297/0.2301, allocations: 106.3 MB / 0.9008 GB, free: 64.27 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001467/0.2316, allocations: 1.034 MB / 0.9019 GB, free: 63.23 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003416/0.2319, allocations: 137.6 kB / 0.902 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.688e-05/0.232, allocations: 0 / 0.902 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.587e-05/0.232, allocations: 0 / 0.902 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.273e-05/0.2321, allocations: 7.938 kB / 0.902 GB, free: 63.08 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001357/0.2323, allocations: 7.984 kB / 0.902 GB, free: 63.07 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.479e-05/0.2323, allocations: 31.91 kB / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.402e-05/0.2324, allocations: 0 / 0.902 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.215e-05/0.2325, allocations: 11.98 kB / 0.902 GB, free: 63.03 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.622e-05/0.2326, allocations: 11.94 kB / 0.9021 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.744e-05/0.2326, allocations: 4 kB / 0.9021 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.029e-05/0.2326, allocations: 0 / 0.9021 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.2326, allocations: 3.984 kB / 0.9021 GB, free: 63.01 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.179e-05/0.2327, allocations: 29.7 kB / 0.9021 GB, free: 62.98 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.324e-05/0.2327, allocations: 15.95 kB / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.2327, allocations: 0 / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.2327, allocations: 0 / 0.9021 GB, free: 62.96 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.28e-06/0.2328, allocations: 4 kB / 0.9021 GB, free: 62.96 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.0004434/0.2332, allocations: 343.3 kB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.175e-05/0.2333, allocations: 8.031 kB / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.604e-05/0.2333, allocations: 0 / 0.9024 GB, free: 62.57 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.558e-05/0.2334, allocations: 175 kB / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.2334, allocations: 0 / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.136e-05/0.2335, allocations: 0 / 0.9026 GB, free: 62.36 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.2336, allocations: 61.61 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.2337, allocations: 0 / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.285e-05/0.2337, allocations: 4 kB / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.2337, allocations: 0 / 0.9027 GB, free: 62.29 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000195/0.2339, allocations: 43.95 kB / 0.9027 GB, free: 62.24 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003584/0.2343, allocations: 265.1 kB / 0.903 GB, free: 61.93 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001387/0.2344, allocations: 46.5 kB / 0.903 GB, free: 61.88 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.585e-05/0.2345, allocations: 40.89 kB / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.861e-05/0.2346, allocations: 0 / 0.9031 GB, free: 61.84 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.2346, allocations: 30.56 kB / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.743e-06/0.2346, allocations: 0 / 0.9031 GB, free: 61.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003766/0.235, allocations: 105.6 kB / 0.9032 GB, free: 61.69 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.798e-05/0.235, allocations: 55.34 kB / 0.9032 GB, free: 61.62 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.769e-05/0.2351, allocations: 101.8 kB / 0.9033 GB, free: 61.51 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 9.277e-06/0.2351, allocations: 29.7 kB / 0.9034 GB, free: 61.48 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.623e-05/0.2351, allocations: 88.02 kB / 0.9034 GB, free: 61.39 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.712e-05/0.2351, allocations: 8.031 kB / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.659e-06/0.2351, allocations: 0 / 0.9035 GB, free: 61.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.732e-05/0.2352, allocations: 318.8 kB / 0.9038 GB, free: 61.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.971e-05/0.2353, allocations: 23.97 kB / 0.9038 GB, free: 61.04 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/0.2354, allocations: 23.98 kB / 0.9038 GB, free: 61.01 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.633e-05/0.2355, allocations: 20.05 kB / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.473e-06/0.2355, allocations: 0 / 0.9038 GB, free: 60.99 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002009/0.2357, allocations: 85.66 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.2357, allocations: 4 kB / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.14e-06/0.2357, allocations: 0 / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.337e-05/0.2357, allocations: 0 / 0.9039 GB, free: 60.9 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001049/0.2359, allocations: 15.98 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.252e-06/0.2359, allocations: 0 / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.071e-05/0.2359, allocations: 7.984 kB / 0.9039 GB, free: 60.88 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.236, allocations: 0 / 0.9039 GB, free: 60.88 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.285e-05/0.236, allocations: 125.8 kB / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.412e-05/0.236, allocations: 0 / 0.904 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.86e-05/0.2361, allocations: 3.125 kB / 0.9041 GB, free: 60.74 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.066e-06/0.2361, allocations: 4 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.719e-06/0.2361, allocations: 3.984 kB / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.584e-06/0.2361, allocations: 0 / 0.9041 GB, free: 60.73 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001096/0.2362, allocations: 157.6 kB / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.2362, allocations: 0 / 0.9042 GB, free: 60.53 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.261e-05/0.2363, allocations: 15.98 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.184e-06/0.2363, allocations: 0 / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.933e-06/0.2363, allocations: 4 kB / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.2363, allocations: 0 / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.2363, allocations: 0 / 0.9042 GB, free: 60.51 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000226/0.2366, allocations: 179.6 kB / 0.9044 GB, free: 60.32 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.069e-05/0.2366, allocations: 85.09 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.2366, allocations: 3.984 kB / 0.9045 GB, free: 60.21 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.199e-05/0.2367, allocations: 7.938 kB / 0.9045 GB, free: 60.2 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.095e-05/0.2368, allocations: 15.92 kB / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.798e-06/0.2368, allocations: 0 / 0.9045 GB, free: 60.19 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.238e-05/0.2368, allocations: 83.31 kB / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1e-07/0.2368, allocations: 0 / 0.9046 GB, free: 60.11 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001985/0.237, allocations: 7.984 kB / 0.9046 GB, free: 60.1 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 (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 8.981e-05/0.2371, allocations: 100.2 kB / 0.9047 GB, free: 59.99 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0002498/0.2374, allocations: 55.89 kB / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.2374, allocations: 0 / 0.9047 GB, free: 59.93 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.643e-05/0.2375, allocations: 27.98 kB / 0.9048 GB, free: 59.91 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002657/0.2377, allocations: 3.953 kB / 0.9048 GB, free: 59.9 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002869/0.238, allocations: 142.5 kB / 0.9049 GB, free: 59.73 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.832e-05/0.2382, allocations: 0.677 MB / 0.9056 GB, free: 59.03 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.096e-05/0.2382, allocations: 11.44 kB / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of SimCode: time 3.51e-07/0.2382, allocations: 0 / 0.9056 GB, free: 59.02 MB / 0.6042 GB Notification: Performance of Templates: time 0.001711/0.2399, allocations: 0.5861 MB / 0.9062 GB, free: 58.44 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)