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.001143/0.001143, allocations: 100.4 kB / 16.27 MB, free: 5.969 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.001199/0.001199, allocations: 187.4 kB / 17.2 MB, free: 5.602 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.516/1.516, allocations: 205.1 MB / 223.1 MB, free: 12.31 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.89/1.89, allocations: 292.3 MB / 0.5495 GB, free: 17.68 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.001421/0.001421, allocations: 63.91 kB / 0.6722 GB, free: 6.516 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2378/0.2393, allocations: 114.6 MB / 0.784 GB, free: 3.848 MB / 0.6544 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002058/0.2414, allocations: 0.6158 MB / 0.7846 GB, free: 3.227 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.001014/0.2424, allocations: 0.8243 MB / 0.7854 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.055e-05/0.2425, allocations: 0 / 0.7854 GB, free: 2.387 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 3.11e-05/0.2425, allocations: 3.938 kB / 0.7854 GB, free: 2.383 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 6.658e-05/0.2426, allocations: 11.88 kB / 0.7855 GB, free: 2.371 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001511/0.2428, allocations: 15.98 kB / 0.7855 GB, free: 2.355 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 7.376e-05/0.2428, allocations: 27.92 kB / 0.7855 GB, free: 2.328 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.243, allocations: 4 kB / 0.7855 GB, free: 2.324 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 6.337e-05/0.243, allocations: 11.98 kB / 0.7855 GB, free: 2.312 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 5.444e-05/0.2431, allocations: 19.91 kB / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2431, allocations: 0 / 0.7855 GB, free: 2.293 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 1.203e-05/0.2431, allocations: 4 kB / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 1.778e-05/0.2431, allocations: 0 / 0.7855 GB, free: 2.289 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 3.786e-05/0.2432, allocations: 15.94 kB / 0.7856 GB, free: 2.273 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 7.983e-05/0.2433, allocations: 23.89 kB / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.2433, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2433, allocations: 0 / 0.7856 GB, free: 2.25 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 9.207e-06/0.2433, allocations: 0 / 0.7856 GB, free: 2.25 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.0004974/0.2438, allocations: 343.7 kB / 0.7859 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.832e-05/0.2438, allocations: 8.031 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.932e-05/0.2439, allocations: 0.9375 kB / 0.7859 GB, free: 1.855 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001253/0.244, allocations: 172.4 kB / 0.7861 GB, free: 1.648 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.176e-05/0.244, allocations: 8.375 kB / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.278e-05/0.2441, allocations: 384 / 0.7861 GB, free: 1.641 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/0.2443, allocations: 54.17 kB / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.943e-06/0.2443, allocations: 192 / 0.7861 GB, free: 1.582 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.011e-05/0.2443, allocations: 7.875 kB / 0.7861 GB, free: 1.574 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.64e-06/0.2443, allocations: 4 kB / 0.7861 GB, free: 1.57 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001721/0.2445, allocations: 31.95 kB / 0.7862 GB, free: 1.539 MB / 0.6544 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003617/0.2448, allocations: 253 kB / 0.7864 GB, free: 1.242 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001427/0.245, allocations: 46.44 kB / 0.7865 GB, free: 1.188 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.078e-05/0.2451, allocations: 24.89 kB / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 1.709e-05/0.2451, allocations: 0 / 0.7865 GB, free: 1.16 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.681e-05/0.2451, allocations: 42.55 kB / 0.7865 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.2452, allocations: 0 / 0.7865 GB, free: 1.109 MB / 0.6544 GB Notification: Performance of matching and sorting (n=2): time 0.0003708/0.2455, allocations: 85.55 kB / 0.7866 GB, free: 1.02 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.725e-05/0.2456, allocations: 55.41 kB / 0.7867 GB, free: 0.9531 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.787e-05/0.2457, allocations: 97.84 kB / 0.7868 GB, free: 0.8477 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 1.725e-05/0.2457, allocations: 25.7 kB / 0.7868 GB, free: 0.8164 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 4.777e-05/0.2457, allocations: 92.2 kB / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/0.2458, allocations: 0 / 0.7869 GB, free: 0.7227 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.323e-05/0.2458, allocations: 13.72 kB / 0.7869 GB, free: 0.7031 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001028/0.2459, allocations: 314.8 kB / 0.7872 GB, free: 396 kB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.771e-05/0.246, allocations: 19.97 kB / 0.7872 GB, free: 376 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.777e-05/0.2461, allocations: 15.98 kB / 0.7872 GB, free: 360 kB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2463, allocations: 44.88 kB / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.2463, allocations: 0 / 0.7873 GB, free: 312 kB / 0.6544 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002087/0.2465, allocations: 77.5 kB / 0.7873 GB, free: 228 kB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.2465, allocations: 8 kB / 0.7873 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.733e-06/0.2465, allocations: 0 / 0.7873 GB, free: 220 kB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/0.2465, allocations: 3.938 kB / 0.7873 GB, free: 216 kB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001041/0.2466, allocations: 19.95 kB / 0.7874 GB, free: 196 kB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.632e-06/0.2467, allocations: 4 kB / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.159e-05/0.2467, allocations: 0 / 0.7874 GB, free: 192 kB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.3e-06/0.2467, allocations: 4 kB / 0.7874 GB, free: 188 kB / 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.771e-05/0.2468, allocations: 113.8 kB / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.305e-05/0.2469, allocations: 0 / 0.7875 GB, free: 64 kB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.951e-05/0.2469, allocations: 11.12 kB / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.645e-06/0.2469, allocations: 0 / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.539e-06/0.2469, allocations: 0 / 0.7875 GB, free: 52 kB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.2469, allocations: 4 kB / 0.7875 GB, free: 48 kB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.4915/0.7384, allocations: 156.2 kB / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.7384, allocations: 0 / 0.7876 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001398/0.7386, allocations: 9.438 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.472e-06/0.7386, allocations: 1 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.377e-05/0.7386, allocations: 1.578 kB / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.059e-06/0.7386, allocations: 0 / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.545e-06/0.7387, allocations: 0 / 0.7877 GB, free: 48.51 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003019/0.739, allocations: 173.2 kB / 0.7878 GB, free: 48.38 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 2.665e-05/0.739, allocations: 81.05 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.739, allocations: 0 / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.797e-05/0.7391, allocations: 12.33 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.673e-05/0.7392, allocations: 4.812 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.784e-06/0.7392, allocations: 8.797 kB / 0.7879 GB, free: 48.29 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 3.164e-05/0.7393, allocations: 77.69 kB / 0.788 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.9e-07/0.7393, allocations: 1.219 kB / 0.788 GB, free: 48.21 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.0003059/0.7396, allocations: 7.062 kB / 0.788 GB, free: 48.21 MB / 0.6544 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 0.0001213/0.7397, allocations: 98.94 kB / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.0002406/0.7399, allocations: 45.75 kB / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.74, allocations: 0 / 0.7881 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 8.783e-05/0.74, allocations: 19.42 kB / 0.7882 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004227/0.7405, allocations: 13.78 kB / 0.7882 GB, free: 48.13 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004497/0.7409, allocations: 120.9 kB / 0.7883 GB, free: 48.01 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000164/0.7411, allocations: 0.6772 MB / 0.789 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.785e-05/0.7412, allocations: 11.59 kB / 0.789 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of SimCode: time 1.052e-06/0.7412, allocations: 0 / 0.789 GB, free: 47.31 MB / 0.6544 GB Notification: Performance of Templates: time 0.002249/0.7434, allocations: 0.6043 MB / 0.7896 GB, free: 47.3 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)