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.421/1.421, allocations: 251.9 MB / 266.9 MB, free: 11.02 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.001037/0.001037, allocations: 180.9 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.026/2.026, allocations: 205.4 MB / 0.5775 GB, free: 20.57 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.001017/0.001017, allocations: 88.16 kB / 0.6821 GB, free: 13.36 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003957/0.0003957, allocations: 12.84 kB / 0.7963 GB, free: 135.4 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2805/0.281, allocations: 106.3 MB / 0.9002 GB, free: 64.36 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00169/0.2827, allocations: 1.049 MB / 0.9012 GB, free: 63.29 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0003183/0.2831, allocations: 129.8 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.354e-05/0.2831, allocations: 0 / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.496e-05/0.2831, allocations: 0 / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.136e-05/0.2832, allocations: 7.984 kB / 0.9013 GB, free: 63.16 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001495/0.2834, allocations: 15.92 kB / 0.9013 GB, free: 63.14 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 6.632e-05/0.2834, allocations: 19.92 kB / 0.9013 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.2835, allocations: 3.984 kB / 0.9014 GB, free: 63.12 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.563e-05/0.2836, allocations: 8 kB / 0.9014 GB, free: 63.11 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.828e-05/0.2837, allocations: 7.984 kB / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.639e-05/0.2837, allocations: 0 / 0.9014 GB, free: 63.1 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.109e-05/0.2837, allocations: 7.938 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.145e-05/0.2837, allocations: 7.984 kB / 0.9014 GB, free: 63.09 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.323e-05/0.2838, allocations: 25.7 kB / 0.9014 GB, free: 63.05 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.625e-05/0.2838, allocations: 19.95 kB / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.398e-06/0.2839, allocations: 0 / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.635e-06/0.2839, allocations: 0 / 0.9014 GB, free: 63.04 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.062e-06/0.2839, allocations: 0 / 0.9014 GB, free: 63.04 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.0005398/0.2844, allocations: 335.4 kB / 0.9017 GB, free: 62.66 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.164e-05/0.2845, allocations: 12.03 kB / 0.9018 GB, free: 62.65 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.268e-05/0.2845, allocations: 30.56 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.789e-05/0.2846, allocations: 4 kB / 0.9018 GB, free: 62.61 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001287/0.2847, allocations: 174.9 kB / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.2847, allocations: 0 / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.799e-06/0.2848, allocations: 0 / 0.902 GB, free: 62.39 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002046/0.285, allocations: 57.61 kB / 0.902 GB, free: 62.33 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.285, allocations: 7.938 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.151e-05/0.285, allocations: 4 kB / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.08e-06/0.285, allocations: 0 / 0.902 GB, free: 62.32 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001801/0.2852, allocations: 47.95 kB / 0.9021 GB, free: 62.27 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003346/0.2855, allocations: 253.1 kB / 0.9023 GB, free: 61.98 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.2857, allocations: 54.48 kB / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.506e-05/0.2857, allocations: 0 / 0.9024 GB, free: 61.91 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.879e-05/0.2857, allocations: 34.56 kB / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=2): time 1.763e-06/0.2857, allocations: 0 / 0.9024 GB, free: 61.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2): time 0.0003899/0.2861, allocations: 109.6 kB / 0.9025 GB, free: 61.76 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.046e-05/0.2862, allocations: 51.41 kB / 0.9025 GB, free: 61.7 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.709e-05/0.2862, allocations: 97.86 kB / 0.9026 GB, free: 61.59 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 8.876e-06/0.2863, allocations: 25.83 kB / 0.9027 GB, free: 61.56 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.406e-05/0.2863, allocations: 92.12 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 1.492e-05/0.2863, allocations: 3.906 kB / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.989e-06/0.2863, allocations: 0 / 0.9028 GB, free: 61.46 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.48e-05/0.2864, allocations: 322.7 kB / 0.9031 GB, free: 61.14 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.363e-05/0.2865, allocations: 19.98 kB / 0.9031 GB, free: 61.12 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.369e-05/0.2866, allocations: 31.97 kB / 0.9031 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.202e-05/0.2867, allocations: 19.98 kB / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.2867, allocations: 0 / 0.9031 GB, free: 61.07 MB / 0.6042 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000186/0.2869, allocations: 81.72 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.385e-05/0.2869, allocations: 4 kB / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.181e-06/0.2869, allocations: 0 / 0.9032 GB, free: 60.98 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.655e-05/0.2869, allocations: 4 kB / 0.9032 GB, free: 60.97 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001067/0.287, allocations: 11.98 kB / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.254e-06/0.287, allocations: 0 / 0.9032 GB, free: 60.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.32e-05/0.2871, allocations: 12.02 kB / 0.9032 GB, free: 60.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.103e-06/0.2871, allocations: 4 kB / 0.9032 GB, free: 60.95 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 7.536e-05/0.2872, allocations: 109.8 kB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.969e-05/0.2872, allocations: 3.938 kB / 0.9034 GB, free: 60.82 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.172e-05/0.2872, allocations: 11.12 kB / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.383e-06/0.2873, allocations: 0 / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.2873, allocations: 0 / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.006e-06/0.2873, allocations: 0 / 0.9034 GB, free: 60.81 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001164/0.2874, allocations: 161.6 kB / 0.9035 GB, free: 60.61 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.02e-07/0.2874, allocations: 4 kB / 0.9035 GB, free: 60.6 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.477e-05/0.2875, allocations: 11.98 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.495e-06/0.2875, allocations: 4 kB / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.576e-06/0.2875, allocations: 0 / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.82e-07/0.2875, allocations: 0 / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.2875, allocations: 0 / 0.9035 GB, free: 60.59 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002369/0.2877, allocations: 187.3 kB / 0.9037 GB, free: 60.39 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.935e-05/0.2878, allocations: 81.11 kB / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.524e-05/0.2878, allocations: 0 / 0.9038 GB, free: 60.29 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.879e-05/0.2879, allocations: 15.92 kB / 0.9038 GB, free: 60.27 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.727e-05/0.288, allocations: 12.02 kB / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.359e-06/0.288, allocations: 0 / 0.9038 GB, free: 60.26 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 2.174e-05/0.288, allocations: 83.22 kB / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of sort global known variables: time 9e-08/0.288, allocations: 0 / 0.9039 GB, free: 60.18 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0001989/0.2882, allocations: 4 kB / 0.9039 GB, free: 60.18 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 0.0003939/0.2886, allocations: 0.7124 MB / 0.9046 GB, free: 59.43 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000206/0.2888, allocations: 56 kB / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 1.793e-06/0.2888, allocations: 0 / 0.9047 GB, free: 59.38 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 9.719e-05/0.2889, allocations: 27.91 kB / 0.9047 GB, free: 59.35 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002009/0.2891, allocations: 9.203 kB / 0.9047 GB, free: 59.34 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004142/0.2896, allocations: 141.6 kB / 0.9048 GB, free: 59.17 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001381/0.2897, allocations: 0.677 MB / 0.9055 GB, free: 58.47 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 3.203e-05/0.2897, allocations: 7.984 kB / 0.9055 GB, free: 58.46 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.765e-05/0.2898, allocations: 7.438 kB / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of SimCode: time 2e-07/0.2898, allocations: 0 / 0.9055 GB, free: 58.45 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01474/0.3045, allocations: 1.162 MB / 0.9066 GB, free: 57.46 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/0.3048, allocations: 200.2 kB / 0.9068 GB, free: 57.23 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.429/1.734, allocations: 0 / 0.9068 GB, free: 57.23 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)