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.001566/0.001571, allocations: 105.4 kB / 15.7 MB, free: 24 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002036/0.002036, allocations: 198.8 kB / 16.64 MB, free: 6.453 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.507/1.507, allocations: 205.1 MB / 222.5 MB, free: 4.555 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.828/1.828, allocations: 292.3 MB / 0.549 GB, free: 12.75 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.002986/0.002987, allocations: 79.09 kB / 0.6718 GB, free: 26.31 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2875/0.2905, allocations: 114.5 MB / 0.7837 GB, free: 13.27 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002079/0.2926, allocations: 0.6262 MB / 0.7843 GB, free: 12.65 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.000989/0.2936, allocations: 0.8242 MB / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.302e-05/0.2937, allocations: 0 / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 2.749e-05/0.2937, allocations: 0 / 0.7851 GB, free: 11.81 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 5.898e-05/0.2938, allocations: 7.938 kB / 0.7851 GB, free: 11.8 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.000143/0.294, allocations: 15.98 kB / 0.7851 GB, free: 11.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 7.299e-05/0.294, allocations: 27.92 kB / 0.7851 GB, free: 11.76 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.2941, allocations: 11.98 kB / 0.7851 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 6.21e-05/0.2942, allocations: 7.984 kB / 0.7851 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 5.214e-05/0.2943, allocations: 15.92 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 1.577e-05/0.2943, allocations: 0 / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.2943, allocations: 4 kB / 0.7852 GB, free: 11.72 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 1.707e-05/0.2943, allocations: 4 kB / 0.7852 GB, free: 11.71 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 2.79e-05/0.2944, allocations: 15.92 kB / 0.7852 GB, free: 11.7 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 8.641e-05/0.2945, allocations: 27.89 kB / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.779e-06/0.2945, allocations: 0 / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.713e-06/0.2945, allocations: 0 / 0.7852 GB, free: 11.67 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.304e-06/0.2945, allocations: 0 / 0.7852 GB, free: 11.67 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.0004571/0.2949, allocations: 343.6 kB / 0.7855 GB, free: 11.29 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.112e-05/0.295, allocations: 8.031 kB / 0.7855 GB, free: 11.28 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.677e-05/0.295, allocations: 30.75 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.242e-05/0.2951, allocations: 0.9375 kB / 0.7856 GB, free: 11.24 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001145/0.2952, allocations: 176.3 kB / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.2952, allocations: 384 / 0.7857 GB, free: 11.03 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.257e-06/0.2952, allocations: 4.375 kB / 0.7857 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001886/0.2954, allocations: 54.22 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.975e-06/0.2954, allocations: 3.938 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.065e-05/0.2955, allocations: 4 kB / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.629e-06/0.2955, allocations: 0 / 0.7858 GB, free: 10.96 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001755/0.2956, allocations: 39.89 kB / 0.7858 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003429/0.296, allocations: 252.9 kB / 0.7861 GB, free: 10.62 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001506/0.2962, allocations: 38.5 kB / 0.7861 GB, free: 10.57 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.648e-05/0.2963, allocations: 28.89 kB / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 1.763e-05/0.2963, allocations: 0 / 0.7861 GB, free: 10.54 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.055e-05/0.2963, allocations: 34.56 kB / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=2): time 8.52e-07/0.2963, allocations: 0 / 0.7862 GB, free: 10.5 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2): time 0.0003826/0.2967, allocations: 89.58 kB / 0.7863 GB, free: 10.41 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.043e-05/0.2968, allocations: 55.41 kB / 0.7863 GB, free: 10.34 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.198e-05/0.2969, allocations: 97.84 kB / 0.7864 GB, free: 10.23 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 1.498e-05/0.2969, allocations: 25.7 kB / 0.7864 GB, free: 10.2 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 4.293e-05/0.2969, allocations: 88.27 kB / 0.7865 GB, free: 10.11 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 1.917e-05/0.297, allocations: 11.84 kB / 0.7865 GB, free: 10.1 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.177e-05/0.297, allocations: 9.719 kB / 0.7865 GB, free: 10.09 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001344/0.2971, allocations: 318.8 kB / 0.7868 GB, free: 9.766 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.712e-05/0.2972, allocations: 15.98 kB / 0.7869 GB, free: 9.75 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.874e-05/0.2973, allocations: 15.98 kB / 0.7869 GB, free: 9.734 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.2975, allocations: 44.88 kB / 0.7869 GB, free: 9.688 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.2975, allocations: 7.875 kB / 0.7869 GB, free: 9.68 MB / 0.6075 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000197/0.2977, allocations: 65.66 kB / 0.787 GB, free: 9.609 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.31e-05/0.2977, allocations: 8 kB / 0.787 GB, free: 9.602 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.642e-06/0.2977, allocations: 4 kB / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.142e-05/0.2978, allocations: 0 / 0.787 GB, free: 9.598 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.2979, allocations: 20.02 kB / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.629e-06/0.2979, allocations: 0 / 0.787 GB, free: 9.578 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.2979, allocations: 7.984 kB / 0.787 GB, free: 9.57 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.14e-06/0.2979, allocations: 0 / 0.787 GB, free: 9.57 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 8.27e-05/0.298, allocations: 110.4 kB / 0.7871 GB, free: 9.453 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.421e-05/0.2981, allocations: 4 kB / 0.7871 GB, free: 9.449 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.036e-05/0.2981, allocations: 7.125 kB / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.463e-06/0.2981, allocations: 0 / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.067e-06/0.2981, allocations: 0 / 0.7871 GB, free: 9.438 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.545e-06/0.2981, allocations: 4 kB / 0.7871 GB, free: 9.434 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001649/0.2983, allocations: 161.6 kB / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.41e-07/0.2983, allocations: 0 / 0.7873 GB, free: 9.227 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.874e-05/0.2984, allocations: 15.92 kB / 0.7873 GB, free: 9.211 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.473e-06/0.2984, allocations: 3.938 kB / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.464e-06/0.2984, allocations: 0 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.243e-06/0.2984, allocations: 0 / 0.7873 GB, free: 9.207 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.895e-06/0.2984, allocations: 4 kB / 0.7873 GB, free: 9.203 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002507/0.2987, allocations: 171.4 kB / 0.7875 GB, free: 9.02 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 3.435e-05/0.2987, allocations: 81.05 kB / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.213e-05/0.2987, allocations: 0 / 0.7876 GB, free: 8.922 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.054e-05/0.2988, allocations: 7.984 kB / 0.7876 GB, free: 8.914 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.582e-05/0.2988, allocations: 11.98 kB / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.2989, allocations: 0 / 0.7876 GB, free: 8.902 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 4.56e-05/0.2989, allocations: 83.45 kB / 0.7877 GB, free: 8.82 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.385e-06/0.2989, allocations: 4.031 kB / 0.7877 GB, free: 8.816 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0002116/0.2991, allocations: 7.938 kB / 0.7877 GB, free: 8.809 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.0005607/0.2997, allocations: 0.7006 MB / 0.7884 GB, free: 8.078 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.000221/0.2999, allocations: 44 kB / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.2999, allocations: 0 / 0.7884 GB, free: 8.035 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0001142/0.3001, allocations: 27.97 kB / 0.7884 GB, free: 8.008 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002799/0.3004, allocations: 3.984 kB / 0.7884 GB, free: 8.004 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004323/0.3008, allocations: 135.2 kB / 0.7886 GB, free: 7.832 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002682/0.3011, allocations: 0.6806 MB / 0.7892 GB, free: 7.125 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 3.068e-05/0.3011, allocations: 4 kB / 0.7892 GB, free: 7.121 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.307e-05/0.3012, allocations: 19.42 kB / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of SimCode: time 3.01e-07/0.3012, allocations: 0 / 0.7892 GB, free: 7.102 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01727/0.3184, allocations: 1.437 MB / 0.7906 GB, free: 5.777 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.73/8.048, allocations: 7.938 kB / 0.7907 GB, free: 5.77 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 & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-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)