Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.0.0_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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.503/2.503, allocations: 284.8 MB / 297.3 MB, free: 6.32 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002213/0.002212, allocations: 180.8 kB / 365.7 MB, free: 2.566 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.004/2.004, allocations: 205.1 MB / 0.6241 GB, free: 8.184 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.00112/0.00112, allocations: 90.47 kB / 0.7372 GB, free: 40.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.297e-05/4.311e-05, allocations: 4 kB / 0.8574 GB, free: 13.68 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8791/0.8792, allocations: 115.2 MB / 0.97 GB, free: 78.18 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3035/1.183, allocations: 137.3 MB / 1.104 GB, free: 15.11 MB / 0.7136 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002616/1.183, allocations: 73.59 kB / 1.104 GB, free: 15.04 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 0.002764/1.186, allocations: 0.7132 MB / 1.105 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.383e-06/1.186, allocations: 0 / 1.105 GB, free: 14.34 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 7.103e-06/1.186, allocations: 0 / 1.105 GB, free: 14.34 MB / 0.7136 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.0004733/1.186, allocations: 335.7 kB / 1.105 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.249e-05/1.186, allocations: 16.02 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.936e-05/1.186, allocations: 2.453 kB / 1.105 GB, free: 13.96 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001473/1.187, allocations: 166.9 kB / 1.105 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.392e-05/1.187, allocations: 4 kB / 1.105 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.496e-05/1.187, allocations: 1.031 kB / 1.105 GB, free: 13.75 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001186/1.187, allocations: 41.62 kB / 1.105 GB, free: 13.71 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.406e-06/1.187, allocations: 4 kB / 1.105 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.163e-05/1.187, allocations: 3.875 kB / 1.105 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.444e-06/1.187, allocations: 0 / 1.105 GB, free: 13.7 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.348e-05/1.187, allocations: 15.94 kB / 1.105 GB, free: 13.69 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004171/1.187, allocations: 252.9 kB / 1.106 GB, free: 13.39 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 8.012e-05/1.187, allocations: 26.58 kB / 1.106 GB, free: 13.36 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.299e-05/1.188, allocations: 12.92 kB / 1.106 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.473e-05/1.188, allocations: 3.219 kB / 1.106 GB, free: 13.34 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.992e-05/1.188, allocations: 35.48 kB / 1.106 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.623e-06/1.188, allocations: 1.469 kB / 1.106 GB, free: 13.3 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.000191/1.188, allocations: 45.64 kB / 1.106 GB, free: 13.25 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.528e-05/1.188, allocations: 51.41 kB / 1.106 GB, free: 13.18 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.966e-05/1.188, allocations: 97.89 kB / 1.106 GB, free: 13.08 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/1.188, allocations: 29.64 kB / 1.106 GB, free: 13.05 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 5.325e-05/1.188, allocations: 84.8 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 3.28e-05/1.188, allocations: 5.062 kB / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/1.188, allocations: 0 / 1.106 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001356/1.188, allocations: 318.8 kB / 1.106 GB, free: 12.64 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.167e-05/1.188, allocations: 4.688 kB / 1.106 GB, free: 12.63 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.884e-05/1.188, allocations: 9.375 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.32e-05/1.188, allocations: 4 kB / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/1.188, allocations: 0 / 1.106 GB, free: 12.62 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001219/1.189, allocations: 50.88 kB / 1.106 GB, free: 12.57 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.75e-05/1.189, allocations: 4 kB / 1.106 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.839e-06/1.189, allocations: 4.969 kB / 1.106 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.358e-05/1.189, allocations: 0 / 1.106 GB, free: 12.56 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000164/1.189, allocations: 15.98 kB / 1.106 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.422e-06/1.189, allocations: 0 / 1.106 GB, free: 12.55 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.964e-05/1.189, allocations: 7.984 kB / 1.106 GB, free: 12.54 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.198e-05/1.189, allocations: 6.312 kB / 1.106 GB, free: 12.54 MB / 0.7136 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 8.503e-05/1.189, allocations: 112.5 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.927e-05/1.189, allocations: 1.219 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.337e-05/1.189, allocations: 3.125 kB / 1.107 GB, free: 12.42 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.099e-06/1.189, allocations: 4 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.189, allocations: 1.562 kB / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/1.189, allocations: 0 / 1.107 GB, free: 12.41 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002045/1.189, allocations: 161.6 kB / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.503e-06/1.189, allocations: 0 / 1.107 GB, free: 12.21 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001258/1.19, allocations: 13.05 kB / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.675e-06/1.19, allocations: 0 / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.528e-06/1.19, allocations: 128 / 1.107 GB, free: 12.2 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.844e-06/1.19, allocations: 8 kB / 1.107 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/1.19, allocations: 0 / 1.107 GB, free: 12.19 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001824/1.19, allocations: 151.3 kB / 1.107 GB, free: 12.02 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 4.407e-05/1.19, allocations: 81.05 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.091e-05/1.19, allocations: 2.875 kB / 1.107 GB, free: 11.93 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/1.19, allocations: 11.98 kB / 1.107 GB, free: 11.91 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.897e-05/1.19, allocations: 12.02 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.737e-06/1.19, allocations: 5.594 kB / 1.107 GB, free: 11.9 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 4.859e-05/1.19, allocations: 82.89 kB / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of sort global known variables: time 4.3e-07/1.19, allocations: 0 / 1.107 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0002753/1.191, allocations: 8 kB / 1.107 GB, free: 11.81 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.0001457/1.191, allocations: 103.2 kB / 1.107 GB, free: 11.7 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0001178/1.191, allocations: 23.92 kB / 1.107 GB, free: 11.68 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.191, allocations: 4.062 kB / 1.107 GB, free: 11.67 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 4.678e-05/1.191, allocations: 8 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002055/1.191, allocations: 10.55 kB / 1.107 GB, free: 11.66 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002549/1.191, allocations: 63.39 kB / 1.107 GB, free: 11.57 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003079/1.192, allocations: 0.677 MB / 1.108 GB, free: 10.87 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.668e-05/1.192, allocations: 8.062 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.786e-05/1.192, allocations: 7.438 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of SimCode: time 7.31e-07/1.192, allocations: 1.688 kB / 1.108 GB, free: 10.86 MB / 0.7136 GB Notification: Performance of Templates: time 0.003145/1.195, allocations: 0.495 MB / 1.108 GB, free: 10.39 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)