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.862/1.862, allocations: 288.2 MB / 303.2 MB, free: 8.234 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.001048/0.001048, allocations: 181.1 kB / 371.8 MB, free: 10.26 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.782/1.782, allocations: 205.4 MB / 0.6305 GB, free: 9.977 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009002/0.0009001, allocations: 90.88 kB / 0.7439 GB, free: 5.91 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.000431/0.0004311, allocations: 11.56 kB / 0.8669 GB, free: 142 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2266, allocations: 115.3 MB / 0.9795 GB, free: 27.58 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6892/0.9159, allocations: 137.6 MB / 1.114 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002701/0.9162, allocations: 67.95 kB / 1.114 GB, free: 16.51 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.002837/0.919, allocations: 0.7111 MB / 1.115 GB, free: 32.18 MB / 0.698 GB Notification: Performance of FrontEnd: time 3.397e-06/0.9191, allocations: 0 / 1.115 GB, free: 32.18 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.244e-05/0.9191, allocations: 3.812 kB / 1.115 GB, free: 32.18 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.0004156/0.9195, allocations: 344.9 kB / 1.115 GB, free: 31.82 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.124e-05/0.9196, allocations: 15.61 kB / 1.115 GB, free: 31.82 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.525e-05/0.9196, allocations: 34.56 kB / 1.115 GB, free: 31.78 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.852e-05/0.9197, allocations: 6.75 kB / 1.115 GB, free: 31.77 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001147/0.9198, allocations: 170.1 kB / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.321e-05/0.9198, allocations: 0 / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.292e-05/0.9198, allocations: 0 / 1.115 GB, free: 31.57 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002053/0.92, allocations: 63.36 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.167e-06/0.9201, allocations: 3.781 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.075e-05/0.9201, allocations: 0 / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.96e-06/0.9201, allocations: 4 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000177/0.9203, allocations: 40.11 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003768/0.9207, allocations: 256.1 kB / 1.115 GB, free: 31.27 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001376/0.9208, allocations: 49.14 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.978e-05/0.9208, allocations: 3.938 kB / 1.116 GB, free: 31.24 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.605e-05/0.9209, allocations: 30.56 kB / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.022e-06/0.9209, allocations: 0 / 1.116 GB, free: 31.2 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003803/0.9213, allocations: 102.4 kB / 1.116 GB, free: 31.16 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.9213, allocations: 55.22 kB / 1.116 GB, free: 31.1 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.402e-05/0.9214, allocations: 91.69 kB / 1.116 GB, free: 31.01 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.575e-05/0.9214, allocations: 29.83 kB / 1.116 GB, free: 30.98 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 6.628e-05/0.9215, allocations: 86.17 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/0.9215, allocations: 3.906 kB / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.917e-06/0.9215, allocations: 0 / 1.116 GB, free: 30.89 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001565/0.9217, allocations: 318.7 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.578e-05/0.9218, allocations: 22.88 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.007e-05/0.9219, allocations: 29.48 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.391e-05/0.922, allocations: 23.17 kB / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.922, allocations: 0 / 1.116 GB, free: 30.57 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002212/0.9222, allocations: 83.16 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.932e-05/0.9222, allocations: 5.188 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.9222, allocations: 0 / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.9223, allocations: 0 / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001035/0.9224, allocations: 16.14 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.141e-06/0.9224, allocations: 1.312 kB / 1.116 GB, free: 30.53 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.098e-05/0.9225, allocations: 13.23 kB / 1.116 GB, free: 30.52 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.9225, allocations: 2.312 kB / 1.116 GB, free: 30.52 MB / 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 () * 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 8.367e-05/0.9226, allocations: 112.2 kB / 1.117 GB, free: 30.41 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.792e-05/0.9226, allocations: 7.656 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.626e-05/0.9226, allocations: 11.69 kB / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.9226, allocations: 0 / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.9226, allocations: 0 / 1.117 GB, free: 30.4 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.9227, allocations: 5.25 kB / 1.117 GB, free: 30.39 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000171/0.9228, allocations: 162.9 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.9228, allocations: 1.312 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.436e-05/0.9229, allocations: 11.05 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.53e-06/0.9229, allocations: 8.422 kB / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.953e-06/0.9229, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.923, allocations: 0 / 1.117 GB, free: 30.2 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.944e-06/0.923, allocations: 5.297 kB / 1.117 GB, free: 30.19 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002615/0.9232, allocations: 182.2 kB / 1.117 GB, free: 30.05 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.801e-05/0.9233, allocations: 77.11 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.551e-05/0.9233, allocations: 3.906 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.651e-05/0.9234, allocations: 7.172 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.972e-05/0.9235, allocations: 11.38 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.9235, allocations: 3.938 kB / 1.117 GB, free: 29.96 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.587e-05/0.9235, allocations: 82.75 kB / 1.117 GB, free: 29.88 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.4e-07/0.9235, allocations: 0 / 1.117 GB, free: 29.88 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002144/0.9237, allocations: 7.844 kB / 1.117 GB, free: 29.88 MB / 0.698 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.0005609/0.9243, allocations: 0.7268 MB / 1.118 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002051/0.9245, allocations: 48.17 kB / 1.118 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.024e-06/0.9245, allocations: 0 / 1.118 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.434e-05/0.9246, allocations: 33.31 kB / 1.118 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001851/0.9248, allocations: 0 / 1.118 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000401/0.9252, allocations: 149.4 kB / 1.118 GB, free: 29.05 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002696/0.9255, allocations: 0.6799 MB / 1.119 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.268e-05/0.9255, allocations: 3.812 kB / 1.119 GB, free: 28.35 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.687e-05/0.9256, allocations: 7.438 kB / 1.119 GB, free: 28.34 MB / 0.698 GB Notification: Performance of SimCode: time 2.1e-07/0.9256, allocations: 0 / 1.119 GB, free: 28.34 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01116/0.9367, allocations: 1.159 MB / 1.12 GB, free: 28.21 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001432/0.9369, allocations: 201.8 kB / 1.12 GB, free: 27.97 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 1.472/2.409, allocations: 0 / 1.12 GB, free: 27.97 MB / 0.698 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)