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.001365/0.001365, allocations: 100.6 kB / 15.05 MB, free: 1.105 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.00172/0.001721, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.263/2.263, allocations: 205.4 MB / 222.1 MB, free: 5.512 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.757/1.757, allocations: 292.6 MB / 0.5497 GB, free: 14.61 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.0005205/0.0005207, allocations: 21.22 kB / 0.6737 GB, free: 26.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2208/0.2214, allocations: 116.3 MB / 0.7872 GB, free: 11.88 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.000688/0.2221, allocations: 352 kB / 0.7876 GB, free: 11.54 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.0007267/0.2228, allocations: 0.8105 MB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.42e-05/0.2229, allocations: 3.938 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 1.437e-05/0.2229, allocations: 3.938 kB / 0.7884 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.637e-05/0.2229, allocations: 3.984 kB / 0.7884 GB, free: 10.7 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001093/0.2231, allocations: 11.98 kB / 0.7884 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 4.97e-05/0.2231, allocations: 11.98 kB / 0.7884 GB, free: 10.68 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 7.251e-05/0.2232, allocations: 11.98 kB / 0.7884 GB, free: 10.67 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 5.356e-05/0.2233, allocations: 8 kB / 0.7884 GB, free: 10.66 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 4.922e-05/0.2233, allocations: 11.92 kB / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.232e-05/0.2233, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.2233, allocations: 0 / 0.7884 GB, free: 10.65 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.513e-05/0.2234, allocations: 7.984 kB / 0.7884 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.183e-05/0.2234, allocations: 29.7 kB / 0.7885 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 4.809e-05/0.2234, allocations: 15.97 kB / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 1.733e-06/0.2235, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.365e-06/0.2235, allocations: 0 / 0.7885 GB, free: 10.59 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 3.086e-06/0.2235, allocations: 7.938 kB / 0.7885 GB, free: 10.58 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.0003619/0.2238, allocations: 339.5 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.2239, allocations: 8.031 kB / 0.7888 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.28e-05/0.2239, allocations: 34.56 kB / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.894e-05/0.2239, allocations: 0 / 0.7889 GB, free: 10.15 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.394e-05/0.224, allocations: 171 kB / 0.789 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2241, allocations: 4 kB / 0.789 GB, free: 9.941 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.687e-06/0.2241, allocations: 4 kB / 0.789 GB, free: 9.938 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00016/0.2242, allocations: 57.61 kB / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.072e-06/0.2243, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.404e-06/0.2243, allocations: 0 / 0.7891 GB, free: 9.875 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2243, allocations: 3.984 kB / 0.7891 GB, free: 9.871 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001697/0.2245, allocations: 59.89 kB / 0.7891 GB, free: 9.812 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002903/0.2248, allocations: 248.9 kB / 0.7894 GB, free: 9.52 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.2249, allocations: 46.56 kB / 0.7894 GB, free: 9.465 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.066e-05/0.2249, allocations: 3.938 kB / 0.7894 GB, free: 9.461 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.02e-05/0.2249, allocations: 34.56 kB / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 9.51e-07/0.2249, allocations: 0 / 0.7895 GB, free: 9.418 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003423/0.2253, allocations: 113.5 kB / 0.7896 GB, free: 9.301 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/0.2253, allocations: 51.41 kB / 0.7896 GB, free: 9.238 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.011e-05/0.2254, allocations: 97.86 kB / 0.7897 GB, free: 9.133 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.2254, allocations: 25.7 kB / 0.7897 GB, free: 9.102 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 3.972e-05/0.2254, allocations: 92.12 kB / 0.7898 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.298e-05/0.2255, allocations: 0 / 0.7898 GB, free: 9.008 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.667e-06/0.2255, allocations: 4.125 kB / 0.7898 GB, free: 9.004 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 8.632e-05/0.2256, allocations: 314.8 kB / 0.7901 GB, free: 8.688 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.451e-05/0.2257, allocations: 23.98 kB / 0.7901 GB, free: 8.664 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.516e-05/0.2257, allocations: 23.97 kB / 0.7902 GB, free: 8.641 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.197e-05/0.2258, allocations: 24.05 kB / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.2258, allocations: 0 / 0.7902 GB, free: 8.617 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001897/0.226, allocations: 85.5 kB / 0.7903 GB, free: 8.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.135e-05/0.2261, allocations: 8.031 kB / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.2261, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 9.839e-06/0.2261, allocations: 0 / 0.7903 GB, free: 8.52 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.361e-05/0.2262, allocations: 11.98 kB / 0.7903 GB, free: 8.508 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.394e-06/0.2262, allocations: 7.984 kB / 0.7903 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.4e-05/0.2263, allocations: 11.98 kB / 0.7903 GB, free: 8.488 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.2263, allocations: 0 / 0.7903 GB, free: 8.488 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.289e-05/0.2263, allocations: 117.8 kB / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.948e-05/0.2264, allocations: 0 / 0.7904 GB, free: 8.363 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.758e-05/0.2264, allocations: 3.125 kB / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.503e-06/0.2264, allocations: 0 / 0.7904 GB, free: 8.355 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.2264, allocations: 4 kB / 0.7904 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.2264, allocations: 0 / 0.7904 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001287/0.2265, allocations: 169.5 kB / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.2265, allocations: 0 / 0.7906 GB, free: 8.137 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.444e-05/0.2266, allocations: 11.98 kB / 0.7906 GB, free: 8.125 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.823e-06/0.2266, allocations: 4 kB / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.362e-06/0.2266, allocations: 0 / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2266, allocations: 0 / 0.7906 GB, free: 8.121 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2266, allocations: 4 kB / 0.7906 GB, free: 8.117 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.2269, allocations: 183.4 kB / 0.7908 GB, free: 7.922 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 2.79e-05/0.2269, allocations: 84.95 kB / 0.7909 GB, free: 7.82 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.237e-05/0.2269, allocations: 4 kB / 0.7909 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.742e-05/0.227, allocations: 7.984 kB / 0.7909 GB, free: 7.809 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.647e-05/0.2271, allocations: 7.984 kB / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.065e-06/0.2271, allocations: 0 / 0.7909 GB, free: 7.801 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 2.851e-05/0.2271, allocations: 87.22 kB / 0.791 GB, free: 7.715 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.2e-07/0.2271, allocations: 4.031 kB / 0.791 GB, free: 7.711 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0001991/0.2273, allocations: 4 kB / 0.791 GB, free: 7.707 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 (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.0004297/0.2277, allocations: 0.7151 MB / 0.7917 GB, free: 6.965 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.228, allocations: 47.97 kB / 0.7917 GB, free: 6.918 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.228, allocations: 4.094 kB / 0.7917 GB, free: 6.914 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 8.748e-05/0.2281, allocations: 27.97 kB / 0.7918 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000174/0.2282, allocations: 0 / 0.7918 GB, free: 6.887 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003612/0.2286, allocations: 139.8 kB / 0.7919 GB, free: 6.715 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001822/0.2288, allocations: 0.681 MB / 0.7926 GB, free: 6.008 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.172e-05/0.2288, allocations: 11.92 kB / 0.7926 GB, free: 5.996 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.38e-05/0.2289, allocations: 7.438 kB / 0.7926 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of SimCode: time 2.746e-06/0.2289, allocations: 0 / 0.7926 GB, free: 5.988 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3055/0.5344, allocations: 1.135 MB / 0.7937 GB, free: 5 MB / 0.6075 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002364/0.5347, allocations: 195.2 kB / 0.7939 GB, free: 4.758 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.896/2.431, allocations: 0 / 0.7939 GB, free: 4.758 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/linux/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) Environment - environmentSimulation: