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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.855/1.855, allocations: 288.3 MB / 303.2 MB, free: 8.199 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.001756/0.001756, allocations: 173 kB / 371.8 MB, free: 10.28 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.875/1.875, allocations: 205.4 MB / 0.6306 GB, free: 10 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.0008674/0.0008673, allocations: 93.33 kB / 0.7439 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004085/0.0004086, allocations: 12.69 kB / 0.8668 GB, free: 142.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2646/0.2651, allocations: 115.3 MB / 0.9794 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9063/1.171, allocations: 137.6 MB / 1.114 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002472/1.172, allocations: 75.44 kB / 1.114 GB, free: 16.22 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00244/1.174, allocations: 0.7018 MB / 1.115 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.198e-06/1.174, allocations: 2.812 kB / 1.115 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.426e-06/1.174, allocations: 3.5 kB / 1.115 GB, free: 31.89 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.0004238/1.175, allocations: 342.8 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.415e-05/1.175, allocations: 7.656 kB / 1.115 GB, free: 31.54 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.533e-05/1.175, allocations: 10.5 kB / 1.115 GB, free: 31.53 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/1.175, allocations: 163 kB / 1.115 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.001e-05/1.175, allocations: 2.844 kB / 1.115 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.997e-05/1.175, allocations: 6.469 kB / 1.115 GB, free: 31.33 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001846/1.175, allocations: 65.25 kB / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.576e-06/1.175, allocations: 0 / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.608e-06/1.175, allocations: 0 / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.868e-06/1.175, allocations: 0 / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001683/1.175, allocations: 49.14 kB / 1.115 GB, free: 31.29 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003656/1.176, allocations: 254.3 kB / 1.115 GB, free: 31.02 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/1.176, allocations: 42.25 kB / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.669e-05/1.176, allocations: 0 / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.021e-05/1.176, allocations: 45.53 kB / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.61e-07/1.176, allocations: 0 / 1.115 GB, free: 30.95 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003637/1.176, allocations: 95.86 kB / 1.116 GB, free: 30.92 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.619e-05/1.176, allocations: 55.53 kB / 1.116 GB, free: 30.85 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.609e-05/1.176, allocations: 94.67 kB / 1.116 GB, free: 30.76 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/1.176, allocations: 25.7 kB / 1.116 GB, free: 30.73 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/1.176, allocations: 83.98 kB / 1.116 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.749e-05/1.176, allocations: 7.219 kB / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.697e-06/1.176, allocations: 0 / 1.116 GB, free: 30.64 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001201/1.177, allocations: 317.6 kB / 1.116 GB, free: 30.33 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.559e-05/1.177, allocations: 28.91 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.094e-05/1.177, allocations: 22.34 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.431e-05/1.177, allocations: 25.09 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.664e-06/1.177, allocations: 5.703 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001972/1.177, allocations: 77.47 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.337e-05/1.177, allocations: 3.844 kB / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.177, allocations: 0 / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.479e-05/1.177, allocations: 0 / 1.116 GB, free: 30.29 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001095/1.177, allocations: 21.53 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.751e-06/1.177, allocations: 0 / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.685e-05/1.177, allocations: 6.656 kB / 1.116 GB, free: 30.28 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.772e-06/1.177, allocations: 0 / 1.116 GB, free: 30.28 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.276e-05/1.177, allocations: 117 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.438e-05/1.177, allocations: 7.891 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.183e-05/1.177, allocations: 6.969 kB / 1.116 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/1.177, allocations: 4 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/1.177, allocations: 4 kB / 1.116 GB, free: 30.15 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.846e-06/1.178, allocations: 3.938 kB / 1.116 GB, free: 30.14 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001481/1.178, allocations: 164.5 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.12e-07/1.178, allocations: 3.938 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.251e-05/1.178, allocations: 10.73 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.703e-06/1.178, allocations: 3.844 kB / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.375e-06/1.178, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.353e-06/1.178, allocations: 0 / 1.117 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.02e-07/1.178, allocations: 7.938 kB / 1.117 GB, free: 29.94 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/1.178, allocations: 170.5 kB / 1.117 GB, free: 29.81 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 3.554e-05/1.178, allocations: 81.06 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.458e-05/1.178, allocations: 6.844 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.247e-05/1.178, allocations: 7.719 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.495e-05/1.178, allocations: 9.812 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.268e-06/1.178, allocations: 2.812 kB / 1.117 GB, free: 29.71 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.928e-05/1.178, allocations: 79.16 kB / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.2e-07/1.178, allocations: 0 / 1.117 GB, free: 29.64 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002163/1.179, allocations: 15.72 kB / 1.117 GB, free: 29.63 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.0001317/1.179, allocations: 108.4 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002323/1.179, allocations: 47.84 kB / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/1.179, allocations: 0 / 1.117 GB, free: 29.54 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.614e-05/1.179, allocations: 31.81 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002285/1.179, allocations: 5.312 kB / 1.117 GB, free: 29.53 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003095/1.18, allocations: 106.2 kB / 1.117 GB, free: 29.42 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003021/1.18, allocations: 0.6828 MB / 1.118 GB, free: 28.73 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.538e-05/1.18, allocations: 4.062 kB / 1.118 GB, free: 28.72 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.883e-05/1.18, allocations: 11.28 kB / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of SimCode: time 2.485e-06/1.18, allocations: 0 / 1.118 GB, free: 28.71 MB / 0.698 GB Notification: Performance of Templates: time 0.002564/1.183, allocations: 499 kB / 1.118 GB, free: 28.66 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (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 & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)