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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.317/1.317, allocations: 251.5 MB / 266.7 MB, free: 11.05 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.000887/0.0008869, allocations: 174.3 kB / 325.8 MB, free: 2.691 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.495/1.495, allocations: 205 MB / 0.576 GB, free: 20.98 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.0007307/0.0007309, allocations: 94.89 kB / 0.6797 GB, free: 14.71 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003239/0.0003239, allocations: 13.86 kB / 0.7933 GB, free: 136.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1706/0.171, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001235/0.1722, allocations: 1.065 MB / 0.8973 GB, free: 66.97 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0002873/0.1725, allocations: 141.2 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.08e-05/0.1726, allocations: 0 / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.945e-05/0.1726, allocations: 0 / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 6.527e-05/0.1727, allocations: 3.938 kB / 0.8974 GB, free: 66.83 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001162/0.1728, allocations: 8 kB / 0.8974 GB, free: 66.82 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.639e-05/0.1729, allocations: 23.98 kB / 0.8974 GB, free: 66.8 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.148e-05/0.173, allocations: 3.984 kB / 0.8974 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.816e-05/0.173, allocations: 23.86 kB / 0.8974 GB, free: 66.77 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.194e-05/0.1731, allocations: 11.98 kB / 0.8975 GB, free: 66.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.1731, allocations: 4 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.031e-05/0.1731, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.44e-05/0.1731, allocations: 0 / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.898e-05/0.1732, allocations: 7.938 kB / 0.8975 GB, free: 66.75 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.518e-05/0.1732, allocations: 32.16 kB / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.1733, allocations: 0 / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.555e-06/0.1733, allocations: 0 / 0.8975 GB, free: 66.71 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 3.847e-06/0.1733, allocations: 0 / 0.8975 GB, free: 66.71 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.0003731/0.1737, allocations: 340.7 kB / 0.8978 GB, free: 66.33 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.819e-05/0.1737, allocations: 12.03 kB / 0.8978 GB, free: 66.32 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.775e-05/0.1737, allocations: 30.75 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.287e-05/0.1738, allocations: 0.9375 kB / 0.8979 GB, free: 66.28 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.266e-05/0.1739, allocations: 168.3 kB / 0.898 GB, free: 66.08 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.089e-05/0.1739, allocations: 8.359 kB / 0.898 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.1739, allocations: 384 / 0.898 GB, free: 66.07 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001617/0.1741, allocations: 58.23 kB / 0.8981 GB, free: 66.01 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.956e-06/0.1741, allocations: 7.875 kB / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.764e-06/0.1741, allocations: 0 / 0.8981 GB, free: 66 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.07e-06/0.1741, allocations: 7.938 kB / 0.8981 GB, free: 65.99 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001625/0.1743, allocations: 51.95 kB / 0.8982 GB, free: 65.94 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002708/0.1746, allocations: 245 kB / 0.8984 GB, free: 65.65 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001143/0.1747, allocations: 46.5 kB / 0.8984 GB, free: 65.6 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.303e-05/0.1748, allocations: 36.89 kB / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.45e-05/0.1748, allocations: 0 / 0.8985 GB, free: 65.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.243e-05/0.1748, allocations: 34.5 kB / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 7.81e-07/0.1748, allocations: 0 / 0.8985 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003195/0.1751, allocations: 101.6 kB / 0.8986 GB, free: 65.41 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.714e-05/0.1752, allocations: 59.34 kB / 0.8987 GB, free: 65.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.985e-05/0.1752, allocations: 101.8 kB / 0.8988 GB, free: 65.23 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.586e-06/0.1752, allocations: 29.7 kB / 0.8988 GB, free: 65.2 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 2.423e-05/0.1753, allocations: 84.27 kB / 0.8989 GB, free: 65.11 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.627e-05/0.1753, allocations: 11.84 kB / 0.8989 GB, free: 65.1 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.938e-05/0.1753, allocations: 9.719 kB / 0.8989 GB, free: 65.08 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 4.335e-05/0.1754, allocations: 310.8 kB / 0.8992 GB, free: 64.77 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.986e-05/0.1755, allocations: 27.97 kB / 0.8992 GB, free: 64.74 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.016e-05/0.1755, allocations: 27.92 kB / 0.8992 GB, free: 64.71 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000142/0.1757, allocations: 52.81 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.654e-06/0.1757, allocations: 3.938 kB / 0.8993 GB, free: 64.66 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001811/0.1759, allocations: 81.72 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.275e-05/0.1759, allocations: 4 kB / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.318e-06/0.1759, allocations: 0 / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.1759, allocations: 0 / 0.8994 GB, free: 64.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.022e-05/0.176, allocations: 11.98 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.479e-06/0.176, allocations: 8.031 kB / 0.8994 GB, free: 64.55 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.79e-05/0.1761, allocations: 4 kB / 0.8994 GB, free: 64.54 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.849e-06/0.1761, allocations: 0 / 0.8994 GB, free: 64.54 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.025e-05/0.1762, allocations: 125.7 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/0.1762, allocations: 3.906 kB / 0.8995 GB, free: 64.41 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.478e-05/0.1762, allocations: 3.125 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.242e-06/0.1762, allocations: 0 / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1762, allocations: 4 kB / 0.8995 GB, free: 64.4 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.974e-06/0.1762, allocations: 4 kB / 0.8995 GB, free: 64.39 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.683e-05/0.1763, allocations: 161.6 kB / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.71e-07/0.1763, allocations: 0 / 0.8997 GB, free: 64.19 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.159e-05/0.1764, allocations: 8 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.322e-06/0.1764, allocations: 0 / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.174e-06/0.1764, allocations: 3.984 kB / 0.8997 GB, free: 64.18 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.994e-06/0.1764, allocations: 8 kB / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.02e-07/0.1764, allocations: 0 / 0.8997 GB, free: 64.17 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1766, allocations: 175.5 kB / 0.8999 GB, free: 63.98 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 1.515e-05/0.1766, allocations: 85.05 kB / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.109e-05/0.1767, allocations: 0 / 0.8999 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.691e-05/0.1767, allocations: 16.02 kB / 0.9 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.373e-05/0.1768, allocations: 12.06 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.797e-06/0.1768, allocations: 3.984 kB / 0.9 GB, free: 63.85 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 1.792e-05/0.1768, allocations: 83.27 kB / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.1e-07/0.1768, allocations: 0 / 0.9001 GB, free: 63.77 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001978/0.177, allocations: 8 kB / 0.9001 GB, free: 63.76 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 0.0003472/0.1774, allocations: 0.7046 MB / 0.9008 GB, free: 63.02 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0001851/0.1776, allocations: 51.98 kB / 0.9008 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.555e-06/0.1776, allocations: 0 / 0.9008 GB, free: 62.97 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.1777, allocations: 35.91 kB / 0.9008 GB, free: 62.94 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002357/0.1779, allocations: 9.391 kB / 0.9008 GB, free: 62.93 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003373/0.1783, allocations: 140.9 kB / 0.901 GB, free: 62.75 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.624e-05/0.1784, allocations: 0.677 MB / 0.9016 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 2.859e-05/0.1784, allocations: 4 kB / 0.9016 GB, free: 62.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.374e-05/0.1784, allocations: 11.42 kB / 0.9017 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of SimCode: time 3.21e-07/0.1785, allocations: 0 / 0.9017 GB, free: 62.04 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01465/0.1931, allocations: 1.175 MB / 0.9028 GB, free: 61.03 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001744/0.1933, allocations: 238.5 kB / 0.903 GB, free: 60.77 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.533/1.726, allocations: 0 / 0.903 GB, free: 60.77 MB / 0.6042 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)