Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00167/0.00167, allocations: 106.5 kB / 16.36 MB, free: 6.258 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00199/0.00199, allocations: 189.7 kB / 17.3 MB, free: 5.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.591/1.591, allocations: 205.1 MB / 223.2 MB, free: 12.2 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.943/1.943, allocations: 292.3 MB / 0.5496 GB, free: 17.56 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001585/0.001585, allocations: 67.91 kB / 0.6729 GB, free: 5.824 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2259/0.2275, allocations: 114.6 MB / 0.7848 GB, free: 3.156 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001952/0.2294, allocations: 0.6194 MB / 0.7854 GB, free: 2.535 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.0009487/0.2304, allocations: 0.8282 MB / 0.7862 GB, free: 1.691 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.265e-05/0.2305, allocations: 4 kB / 0.7862 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 2.342e-05/0.2305, allocations: 3.938 kB / 0.7862 GB, free: 1.684 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 5.511e-05/0.2306, allocations: 3.938 kB / 0.7862 GB, free: 1.68 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.000137/0.2307, allocations: 15.98 kB / 0.7862 GB, free: 1.664 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.042e-05/0.2308, allocations: 27.92 kB / 0.7863 GB, free: 1.637 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001137/0.2309, allocations: 3.984 kB / 0.7863 GB, free: 1.633 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 7.224e-05/0.231, allocations: 15.98 kB / 0.7863 GB, free: 1.617 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.088e-05/0.2311, allocations: 15.92 kB / 0.7863 GB, free: 1.602 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.552e-05/0.2311, allocations: 3.938 kB / 0.7863 GB, free: 1.598 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.249e-05/0.2311, allocations: 8 kB / 0.7863 GB, free: 1.59 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.902e-05/0.2311, allocations: 7.984 kB / 0.7863 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 2.67e-05/0.2312, allocations: 3.938 kB / 0.7863 GB, free: 1.578 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.751e-05/0.2312, allocations: 31.89 kB / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2313, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.442e-06/0.2313, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 5.891e-06/0.2313, allocations: 0 / 0.7864 GB, free: 1.547 MB / 0.6544 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.0004975/0.2318, allocations: 343.3 kB / 0.7867 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 5.723e-05/0.2318, allocations: 12.03 kB / 0.7867 GB, free: 1.148 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.192e-05/0.2319, allocations: 4.938 kB / 0.7867 GB, free: 1.145 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.232, allocations: 160.4 kB / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2321, allocations: 384 / 0.7869 GB, free: 0.9492 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.01e-05/0.2321, allocations: 4.375 kB / 0.7869 GB, free: 0.9453 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.2323, allocations: 50.23 kB / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.2323, allocations: 192 / 0.7869 GB, free: 0.8906 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.47e-05/0.2323, allocations: 3.938 kB / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.412e-06/0.2323, allocations: 0 / 0.7869 GB, free: 0.8867 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001856/0.2325, allocations: 39.95 kB / 0.7869 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004064/0.233, allocations: 252.9 kB / 0.7872 GB, free: 0.5508 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2331, allocations: 46.48 kB / 0.7872 GB, free: 0.4961 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.155e-05/0.2332, allocations: 20.91 kB / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.436e-05/0.2332, allocations: 0 / 0.7873 GB, free: 484 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.454e-05/0.2332, allocations: 38.56 kB / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.72e-07/0.2333, allocations: 0 / 0.7873 GB, free: 436 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0004391/0.2337, allocations: 89.48 kB / 0.7874 GB, free: 340 kB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.2337, allocations: 51.41 kB / 0.7874 GB, free: 276 kB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.03e-05/0.2338, allocations: 101.8 kB / 0.7875 GB, free: 164 kB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.574e-05/0.2339, allocations: 29.83 kB / 0.7875 GB, free: 128 kB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.897e-05/0.2339, allocations: 84.14 kB / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.559e-05/0.2339, allocations: 0 / 0.7876 GB, free: 40 kB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.684e-05/0.234, allocations: 21.7 kB / 0.7876 GB, free: 12 kB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.4015/0.6355, allocations: 310.8 kB / 0.7879 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002492/0.6358, allocations: 14.28 kB / 0.788 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.701e-05/0.6359, allocations: 16.66 kB / 0.788 GB, free: 47.92 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002064/0.6361, allocations: 47.3 kB / 0.788 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.59e-06/0.6362, allocations: 3.469 kB / 0.788 GB, free: 47.91 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002753/0.6364, allocations: 73.16 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 2.543e-05/0.6365, allocations: 5.25 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.874e-06/0.6365, allocations: 0 / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.528e-05/0.6365, allocations: 0 / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001398/0.6367, allocations: 12.22 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.235e-05/0.6367, allocations: 3.375 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.447e-05/0.6368, allocations: 8.984 kB / 0.7881 GB, free: 47.88 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.966e-06/0.6368, allocations: 4.688 kB / 0.7881 GB, free: 47.88 MB / 0.6544 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 8.395e-05/0.6369, allocations: 110.3 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.146e-05/0.6369, allocations: 0 / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.721e-05/0.6369, allocations: 9 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.759e-06/0.637, allocations: 3.094 kB / 0.7882 GB, free: 47.77 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.517e-06/0.637, allocations: 7.688 kB / 0.7882 GB, free: 47.76 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.949e-05/0.637, allocations: 82.7 kB / 0.7883 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.65e-05/0.637, allocations: 2.625 kB / 0.7883 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.44e-05/0.6371, allocations: 6.031 kB / 0.7883 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.665e-05/0.6372, allocations: 8.219 kB / 0.7883 GB, free: 47.67 MB / 0.6544 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.000268/0.6375, allocations: 156.1 kB / 0.7885 GB, free: 47.56 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002562/0.6377, allocations: 241.8 kB / 0.7887 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.859e-05/0.6378, allocations: 28.22 kB / 0.7888 GB, free: 47.36 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.4e-05/0.6379, allocations: 77.56 kB / 0.7888 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of Backend: time 1.272e-06/0.6379, allocations: 0 / 0.7888 GB, free: 47.28 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0004669/0.6384, allocations: 106.4 kB / 0.7889 GB, free: 47.22 MB / 0.6544 GB Notification: Performance of SimCode: time 0.0006961/0.6391, allocations: 0.549 MB / 0.7895 GB, free: 46.66 MB / 0.6544 GB Notification: Performance of Templates: time 0.003285/0.6424, allocations: 0.6839 MB / 0.7901 GB, free: 46.66 MB / 0.6544 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)