Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_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 7.0.3-maint.7.0.x/package.mo", uses=false) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.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: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.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.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001082/0.001082, allocations: 100.1 kB / 15.05 MB, free: 1.105 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001375/0.001375, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.766/1.766, allocations: 205.4 MB / 222.1 MB, free: 5.652 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.653/1.653, allocations: 251.9 MB / 0.51 GB, free: 4.836 MB / 414.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.0005445/0.0005445, allocations: 16 kB / 0.6241 GB, free: 1.168 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6635/0.664, allocations: 106.3 MB / 0.728 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001458/0.6655, allocations: 1.046 MB / 0.729 GB, free: 10.37 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0003267/0.6659, allocations: 120.6 kB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.448e-05/0.6659, allocations: 4 kB / 0.7291 GB, free: 10.25 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.495e-05/0.666, allocations: 3.938 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 6.992e-05/0.666, allocations: 4 kB / 0.7291 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.000134/0.6662, allocations: 15.92 kB / 0.7292 GB, free: 10.22 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 5.972e-05/0.6662, allocations: 15.97 kB / 0.7292 GB, free: 10.21 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 9.71e-05/0.6663, allocations: 8 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 6.241e-05/0.6664, allocations: 4 kB / 0.7292 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 5.55e-05/0.6665, allocations: 15.92 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.683e-05/0.6665, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.027e-05/0.6665, allocations: 0 / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.407e-05/0.6665, allocations: 3.984 kB / 0.7292 GB, free: 10.18 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 2.629e-05/0.6666, allocations: 33.7 kB / 0.7292 GB, free: 10.14 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 5.711e-05/0.6667, allocations: 19.95 kB / 0.7292 GB, free: 10.12 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 4.399e-06/0.6667, allocations: 3.938 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 2.074e-06/0.6667, allocations: 3.938 kB / 0.7293 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 7.464e-06/0.6667, allocations: 0 / 0.7293 GB, free: 10.11 MB / 0.545 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.0005183/0.6672, allocations: 337.3 kB / 0.7296 GB, free: 9.734 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.828e-05/0.6673, allocations: 8.031 kB / 0.7296 GB, free: 9.727 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.93e-05/0.6673, allocations: 4 kB / 0.7296 GB, free: 9.723 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001226/0.6674, allocations: 167 kB / 0.7297 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.6675, allocations: 0 / 0.7297 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.202e-05/0.6675, allocations: 0 / 0.7297 GB, free: 9.52 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002385/0.6677, allocations: 65.66 kB / 0.7298 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.855e-06/0.6677, allocations: 0 / 0.7298 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.037e-05/0.6677, allocations: 0 / 0.7298 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.439e-06/0.6678, allocations: 0 / 0.7298 GB, free: 9.449 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001832/0.6679, allocations: 47.95 kB / 0.7299 GB, free: 9.402 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003753/0.6683, allocations: 260.7 kB / 0.7301 GB, free: 9.098 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.6685, allocations: 46.59 kB / 0.7301 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.6685, allocations: 0 / 0.7301 GB, free: 9.043 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.267e-05/0.6686, allocations: 38.62 kB / 0.7302 GB, free: 8.996 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 8.82e-07/0.6686, allocations: 0 / 0.7302 GB, free: 8.996 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003887/0.669, allocations: 101.6 kB / 0.7303 GB, free: 8.891 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.203e-05/0.669, allocations: 55.41 kB / 0.7303 GB, free: 8.824 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.204e-05/0.6691, allocations: 97.84 kB / 0.7304 GB, free: 8.719 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.761e-05/0.6691, allocations: 25.7 kB / 0.7305 GB, free: 8.688 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 4.555e-05/0.6692, allocations: 92.2 kB / 0.7305 GB, free: 8.594 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.536e-05/0.6692, allocations: 3.906 kB / 0.7305 GB, free: 8.59 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.566e-06/0.6692, allocations: 0 / 0.7305 GB, free: 8.59 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001145/0.6693, allocations: 322.8 kB / 0.7309 GB, free: 8.266 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.551e-05/0.6694, allocations: 19.98 kB / 0.7309 GB, free: 8.246 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.2e-05/0.6695, allocations: 27.98 kB / 0.7309 GB, free: 8.219 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.253e-05/0.6696, allocations: 23.97 kB / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.432e-06/0.6696, allocations: 0 / 0.7309 GB, free: 8.195 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002067/0.6698, allocations: 85.66 kB / 0.731 GB, free: 8.105 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.563e-05/0.6698, allocations: 8 kB / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.399e-06/0.6698, allocations: 0 / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.325e-05/0.6699, allocations: 0 / 0.731 GB, free: 8.098 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001074/0.67, allocations: 11.98 kB / 0.731 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.172e-06/0.67, allocations: 0 / 0.731 GB, free: 8.086 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.602e-05/0.6701, allocations: 12.03 kB / 0.731 GB, free: 8.074 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.651e-06/0.6701, allocations: 0 / 0.731 GB, free: 8.074 MB / 0.545 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.906e-05/0.6702, allocations: 116.9 kB / 0.7311 GB, free: 7.953 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6702, allocations: 4 kB / 0.7311 GB, free: 7.949 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.059e-05/0.6702, allocations: 7.125 kB / 0.7312 GB, free: 7.941 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.6702, allocations: 3.938 kB / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.6702, allocations: 0 / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.865e-06/0.6702, allocations: 0 / 0.7312 GB, free: 7.938 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001633/0.6704, allocations: 161.6 kB / 0.7313 GB, free: 7.73 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.042e-06/0.6704, allocations: 4 kB / 0.7313 GB, free: 7.727 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.805e-05/0.6705, allocations: 12 kB / 0.7313 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.944e-06/0.6705, allocations: 192 / 0.7313 GB, free: 7.715 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.106e-05/0.6705, allocations: 3.984 kB / 0.7313 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6705, allocations: 0 / 0.7313 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.6705, allocations: 0 / 0.7313 GB, free: 7.711 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002686/0.6708, allocations: 191.3 kB / 0.7315 GB, free: 7.508 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 3.812e-05/0.6708, allocations: 77.11 kB / 0.7316 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.313e-05/0.6709, allocations: 0 / 0.7316 GB, free: 7.414 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.523e-05/0.671, allocations: 15.98 kB / 0.7316 GB, free: 7.398 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.21e-05/0.671, allocations: 4 kB / 0.7316 GB, free: 7.395 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.475e-06/0.6711, allocations: 12.02 kB / 0.7316 GB, free: 7.383 MB / 0.545 GB Notification: Performance of sorting global known variables: time 4.315e-05/0.6711, allocations: 75.28 kB / 0.7317 GB, free: 7.309 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6711, allocations: 3.938 kB / 0.7317 GB, free: 7.305 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002077/0.6713, allocations: 4 kB / 0.7317 GB, free: 7.301 MB / 0.545 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.0001694/0.6715, allocations: 99.25 kB / 0.7318 GB, free: 7.191 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002554/0.6718, allocations: 55.95 kB / 0.7318 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.914e-06/0.6718, allocations: 0 / 0.7318 GB, free: 7.137 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.258e-05/0.6719, allocations: 23.92 kB / 0.7319 GB, free: 7.113 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002571/0.6721, allocations: 16.69 kB / 0.7319 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003491/0.6725, allocations: 116.8 kB / 0.732 GB, free: 6.961 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003084/0.6728, allocations: 0.677 MB / 0.7327 GB, free: 6.258 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.622e-05/0.6729, allocations: 4 kB / 0.7327 GB, free: 6.254 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.399e-05/0.6729, allocations: 7.438 kB / 0.7327 GB, free: 6.246 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6729, allocations: 0 / 0.7327 GB, free: 6.246 MB / 0.545 GB Notification: Performance of Templates: time 0.00274/0.6756, allocations: 0.4884 MB / 0.7331 GB, free: 5.762 MB / 0.545 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile Environment - environmentSimulation: (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) Environment - environmentSimulation: