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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008576/0.0008578, allocations: 89.89 kB / 15.36 MB, free: 0.7383 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.005318/0.005318, allocations: 171.5 kB / 16.26 MB, free: 6.613 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.317/1.317, allocations: 205.4 MB / 222.4 MB, free: 5.785 MB / 174.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.617/1.617, allocations: 292.7 MB / 0.5502 GB, free: 14.46 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.0004745/0.0004746, allocations: 13.56 kB / 0.6744 GB, free: 26.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1908/0.1913, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0006965/0.192, allocations: 369.6 kB / 0.7884 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007913/0.1928, allocations: 0.8205 MB / 0.7892 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.334e-05/0.1929, allocations: 0 / 0.7892 GB, free: 10.28 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.171e-05/0.1929, allocations: 3.938 kB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.449e-05/0.1929, allocations: 4 kB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001037/0.1931, allocations: 4 kB / 0.7892 GB, free: 10.27 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 5.608e-05/0.1931, allocations: 31.86 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.636e-05/0.1932, allocations: 4 kB / 0.7892 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.197e-05/0.1933, allocations: 11.98 kB / 0.7892 GB, free: 10.22 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.735e-05/0.1933, allocations: 19.91 kB / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.245e-05/0.1933, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.055e-06/0.1933, allocations: 0 / 0.7892 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.303e-05/0.1934, allocations: 8 kB / 0.7892 GB, free: 10.19 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 3.625e-05/0.1934, allocations: 29.64 kB / 0.7893 GB, free: 10.16 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 5.807e-05/0.1935, allocations: 23.95 kB / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.1935, allocations: 0 / 0.7893 GB, free: 10.13 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.553e-06/0.1935, allocations: 7.938 kB / 0.7893 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 5.561e-06/0.1935, allocations: 0 / 0.7893 GB, free: 10.12 MB / 0.6075 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.0003698/0.1939, allocations: 339.7 kB / 0.7896 GB, free: 9.742 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.394e-05/0.1939, allocations: 11.97 kB / 0.7896 GB, free: 9.73 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.617e-05/0.194, allocations: 38.69 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.782e-05/0.194, allocations: 0.9375 kB / 0.7897 GB, free: 9.684 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.752e-05/0.1941, allocations: 172.4 kB / 0.7898 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.565e-05/0.1941, allocations: 384 / 0.7898 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.147e-06/0.1941, allocations: 384 / 0.7898 GB, free: 9.477 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001704/0.1943, allocations: 62.23 kB / 0.7899 GB, free: 9.41 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.682e-06/0.1943, allocations: 3.938 kB / 0.7899 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.045e-06/0.1943, allocations: 0 / 0.7899 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.356e-06/0.1943, allocations: 0 / 0.7899 GB, free: 9.406 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001764/0.1945, allocations: 47.94 kB / 0.7899 GB, free: 9.359 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002886/0.1948, allocations: 264.8 kB / 0.7902 GB, free: 9.051 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000132/0.1949, allocations: 42.5 kB / 0.7902 GB, free: 9 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.1951, allocations: 36.89 kB / 0.7903 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.135e-05/0.1951, allocations: 0 / 0.7903 GB, free: 8.961 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.832e-05/0.1951, allocations: 30.56 kB / 0.7903 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.02e-07/0.1951, allocations: 0 / 0.7903 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003471/0.1955, allocations: 105.6 kB / 0.7904 GB, free: 8.812 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.519e-05/0.1955, allocations: 55.41 kB / 0.7905 GB, free: 8.746 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.163e-05/0.1956, allocations: 101.8 kB / 0.7906 GB, free: 8.637 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.125e-05/0.1956, allocations: 25.7 kB / 0.7906 GB, free: 8.605 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.005e-05/0.1956, allocations: 80.14 kB / 0.7907 GB, free: 8.523 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.513e-05/0.1956, allocations: 4.031 kB / 0.7907 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.296e-05/0.1957, allocations: 17.72 kB / 0.7907 GB, free: 8.496 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.356e-05/0.1958, allocations: 314.8 kB / 0.791 GB, free: 8.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.857e-05/0.1959, allocations: 19.97 kB / 0.791 GB, free: 8.16 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.02e-05/0.1959, allocations: 23.98 kB / 0.791 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001646/0.1961, allocations: 56.88 kB / 0.7911 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.096e-06/0.1961, allocations: 3.938 kB / 0.7911 GB, free: 8.074 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002094/0.1963, allocations: 85.59 kB / 0.7912 GB, free: 7.984 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.1964, allocations: 4 kB / 0.7912 GB, free: 7.98 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.296e-06/0.1964, allocations: 4 kB / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.396e-06/0.1964, allocations: 0 / 0.7912 GB, free: 7.977 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.945e-05/0.1965, allocations: 11.98 kB / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.777e-06/0.1965, allocations: 0 / 0.7912 GB, free: 7.965 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.884e-05/0.1965, allocations: 16.03 kB / 0.7912 GB, free: 7.949 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.839e-06/0.1966, allocations: 3.938 kB / 0.7912 GB, free: 7.945 MB / 0.6075 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 6.312e-05/0.1966, allocations: 114.4 kB / 0.7913 GB, free: 7.824 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.1967, allocations: 4 kB / 0.7913 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.356e-05/0.1967, allocations: 11.06 kB / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.1967, allocations: 0 / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.786e-06/0.1967, allocations: 0 / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.084e-06/0.1967, allocations: 0 / 0.7913 GB, free: 7.805 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001352/0.1968, allocations: 165.6 kB / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1969, allocations: 0 / 0.7915 GB, free: 7.594 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1969, allocations: 12 kB / 0.7915 GB, free: 7.582 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.875e-06/0.1969, allocations: 3.984 kB / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.841e-06/0.1969, allocations: 0 / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.1969, allocations: 0 / 0.7915 GB, free: 7.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.197, allocations: 3.938 kB / 0.7915 GB, free: 7.574 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002407/0.1972, allocations: 183.4 kB / 0.7917 GB, free: 7.379 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.482e-05/0.1972, allocations: 81.05 kB / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.043e-05/0.1973, allocations: 0 / 0.7918 GB, free: 7.281 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.322e-05/0.1973, allocations: 11.98 kB / 0.7918 GB, free: 7.27 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.852e-05/0.1974, allocations: 12.02 kB / 0.7918 GB, free: 7.258 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.099e-06/0.1974, allocations: 4 kB / 0.7918 GB, free: 7.254 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.809e-05/0.1974, allocations: 75.28 kB / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of sort global known variables: time 9e-08/0.1974, allocations: 0 / 0.7919 GB, free: 7.18 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002026/0.1976, allocations: 4 kB / 0.7919 GB, free: 7.176 MB / 0.6075 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.0004741/0.1981, allocations: 0.7124 MB / 0.7925 GB, free: 6.434 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002069/0.1983, allocations: 55.98 kB / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.1984, allocations: 0 / 0.7926 GB, free: 6.379 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001004/0.1985, allocations: 27.97 kB / 0.7926 GB, free: 6.352 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002387/0.1987, allocations: 4 kB / 0.7926 GB, free: 6.348 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003577/0.1991, allocations: 147.4 kB / 0.7928 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001922/0.1993, allocations: 0.677 MB / 0.7934 GB, free: 5.465 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 2.795e-05/0.1993, allocations: 4 kB / 0.7934 GB, free: 5.461 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.343e-05/0.1993, allocations: 11.44 kB / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of SimCode: time 3.31e-07/0.1994, allocations: 0 / 0.7935 GB, free: 5.449 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.468/1.667, allocations: 1.167 MB / 0.7946 GB, free: 4.426 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003546/1.668, allocations: 218 kB / 0.7948 GB, free: 4.168 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.852/3.519, allocations: 0 / 0.7948 GB, free: 4.168 MB / 0.6075 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)