Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.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 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,fileNamePrefix="Buildings_maint_8_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_8_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 8.0.1-maint.8.0.x/package.mo): time 1.735/1.735, allocations: 285.6 MB / 293.1 MB, free: 10.17 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009705/0.0009704, allocations: 180.9 kB / 361.4 MB, free: 6.789 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.857/1.857, allocations: 205.2 MB / 0.62 GB, free: 11.62 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008407/0.0008407, allocations: 99.48 kB / 0.733 GB, free: 44.13 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.94e-05/2.932e-05, allocations: 4 kB / 0.8518 GB, free: 2.605 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6716/0.6716, allocations: 115.3 MB / 0.9645 GB, free: 78.62 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1961/0.8678, allocations: 136.8 MB / 1.098 GB, free: 2.895 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002025/0.8681, allocations: 69.17 kB / 1.098 GB, free: 2.828 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002059/0.8702, allocations: 0.707 MB / 1.099 GB, free: 2.137 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8702, allocations: 3.891 kB / 1.099 GB, free: 2.137 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.805e-06/0.8702, allocations: 0 / 1.099 GB, free: 2.137 MB / 0.698 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.0004054/0.8706, allocations: 341.5 kB / 1.099 GB, free: 1.766 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.174e-05/0.8707, allocations: 12.03 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.457e-05/0.8707, allocations: 1.844 kB / 1.099 GB, free: 1.754 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001479/0.8709, allocations: 170.9 kB / 1.099 GB, free: 1.547 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.785e-05/0.8709, allocations: 7.156 kB / 1.099 GB, free: 1.543 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.334e-05/0.8709, allocations: 3.938 kB / 1.099 GB, free: 1.539 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 7.618e-05/0.871, allocations: 12 kB / 1.099 GB, free: 1.527 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.237e-05/0.8711, allocations: 37.69 kB / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.865e-06/0.8711, allocations: 0 / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.046e-05/0.8711, allocations: 0 / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.8711, allocations: 0 / 1.099 GB, free: 1.484 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000356/0.8715, allocations: 231.2 kB / 1.1 GB, free: 1.223 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 6.638e-05/0.8716, allocations: 31.36 kB / 1.1 GB, free: 1.184 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.062e-05/0.8716, allocations: 13.45 kB / 1.1 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.739e-05/0.8716, allocations: 0.5312 kB / 1.1 GB, free: 1.168 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.41e-05/0.8717, allocations: 31.16 kB / 1.1 GB, free: 1.129 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.603e-06/0.8717, allocations: 5.5 kB / 1.1 GB, free: 1.125 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000175/0.8719, allocations: 41.69 kB / 1.1 GB, free: 1.078 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.883e-05/0.8719, allocations: 51.41 kB / 1.1 GB, free: 1.016 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.881e-05/0.872, allocations: 93.56 kB / 1.1 GB, free: 0.918 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.662e-05/0.872, allocations: 30.19 kB / 1.1 GB, free: 0.8867 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.928e-05/0.8721, allocations: 82.89 kB / 1.1 GB, free: 0.8047 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.805e-05/0.8721, allocations: 7.906 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.668e-06/0.8721, allocations: 0.5625 kB / 1.1 GB, free: 0.7969 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000119/0.8722, allocations: 319.5 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.592e-05/0.8722, allocations: 4.625 kB / 1.1 GB, free: 484 kB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.82e-05/0.8723, allocations: 8.656 kB / 1.1 GB, free: 476 kB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.145e-05/0.8723, allocations: 8.609 kB / 1.1 GB, free: 468 kB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.8723, allocations: 4 kB / 1.1 GB, free: 464 kB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 7.976e-05/0.8724, allocations: 42.31 kB / 1.1 GB, free: 416 kB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.8724, allocations: 8.719 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.312e-06/0.8724, allocations: 0 / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.271e-05/0.8725, allocations: 0.6562 kB / 1.1 GB, free: 408 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001231/0.8726, allocations: 12.64 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.268e-06/0.8726, allocations: 0.7812 kB / 1.1 GB, free: 396 kB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.043e-05/0.8727, allocations: 8.625 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.125e-06/0.8727, allocations: 0 / 1.1 GB, free: 388 kB / 0.698 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 () * 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.986e-05/0.8728, allocations: 109.8 kB / 1.101 GB, free: 272 kB / 0.698 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 8.506e-05/0.8729, allocations: 47.36 kB / 1.101 GB, free: 220 kB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.547e-05/0.8729, allocations: 7.094 kB / 1.101 GB, free: 216 kB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.42e-05/0.8729, allocations: 7.75 kB / 1.101 GB, free: 208 kB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.547e-06/0.8729, allocations: 4 kB / 1.101 GB, free: 204 kB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.783e-06/0.8729, allocations: 5.141 kB / 1.101 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.873, allocations: 1.406 kB / 1.101 GB, free: 200 kB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001458/0.8731, allocations: 138.2 kB / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.8731, allocations: 3.297 kB / 1.101 GB, free: 24 kB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001058/0.8732, allocations: 11.98 kB / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.735e-06/0.8732, allocations: 0 / 1.101 GB, free: 12 kB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.005e-06/0.8733, allocations: 4.156 kB / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.323e-06/0.8733, allocations: 0 / 1.101 GB, free: 8 kB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.701e-06/0.8733, allocations: 4 kB / 1.101 GB, free: 4 kB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001503/0.8734, allocations: 139.4 kB / 1.101 GB, free: 15.85 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 3.685e-05/0.8735, allocations: 81.11 kB / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.298e-05/0.8735, allocations: 0 / 1.101 GB, free: 15.75 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.8736, allocations: 12.02 kB / 1.101 GB, free: 15.74 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.53e-05/0.8737, allocations: 11.98 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.049e-06/0.8737, allocations: 3.938 kB / 1.101 GB, free: 15.73 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 5.077e-05/0.8737, allocations: 79.28 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of sort global known variables: time 3.31e-07/0.8737, allocations: 0.9375 kB / 1.101 GB, free: 15.65 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002165/0.874, allocations: 4 kB / 1.101 GB, free: 15.64 MB / 0.7136 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 () * 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.0004689/0.8744, allocations: 0.6952 MB / 1.102 GB, free: 14.93 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 8.268e-05/0.8745, allocations: 16 kB / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.8745, allocations: 0 / 1.102 GB, free: 14.91 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 3.371e-05/0.8746, allocations: 19.92 kB / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001811/0.8748, allocations: 0 / 1.102 GB, free: 14.89 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003555/0.8751, allocations: 89.38 kB / 1.102 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002734/0.8754, allocations: 0.6808 MB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.212e-05/0.8755, allocations: 4 kB / 1.103 GB, free: 14.06 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.141e-05/0.8755, allocations: 11.42 kB / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of SimCode: time 2.4e-07/0.8755, allocations: 0 / 1.103 GB, free: 14.05 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02023/0.8958, allocations: 0.8404 MB / 1.103 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002538/0.8961, allocations: 159.2 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.515/2.411, allocations: 0.75 kB / 1.103 GB, free: 13.06 MB / 0.7136 GB (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 Buildings_maint_8_0_x_Buildings_Controls_OBC_CDL_Conversions_Validation_RealToInteger.fmu > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)