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.001168/0.001168, allocations: 91.06 kB / 15.06 MB, free: 1.098 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.001702/0.001702, allocations: 172.7 kB / 15.95 MB, free: 208 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.808/1.808, allocations: 205.4 MB / 222.1 MB, free: 5.516 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.586/1.586, allocations: 252 MB / 0.5102 GB, free: 4.789 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.000542/0.0005422, allocations: 16 kB / 0.6243 GB, free: 1.082 MB / 0.5137 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6594/0.6599, allocations: 106.3 MB / 0.7281 GB, free: 11.43 MB / 0.545 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002073/0.6621, allocations: 1.042 MB / 0.7292 GB, free: 10.38 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0004462/0.6626, allocations: 136.5 kB / 0.7293 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.688e-05/0.6626, allocations: 0 / 0.7293 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 1.93e-05/0.6627, allocations: 0 / 0.7293 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 8.367e-05/0.6627, allocations: 0 / 0.7293 GB, free: 10.24 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001744/0.6629, allocations: 11.98 kB / 0.7293 GB, free: 10.23 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 7.525e-05/0.663, allocations: 23.92 kB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001081/0.6631, allocations: 8 kB / 0.7293 GB, free: 10.2 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 8.856e-05/0.6632, allocations: 7.938 kB / 0.7293 GB, free: 10.19 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 6.494e-05/0.6633, allocations: 15.97 kB / 0.7294 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.909e-05/0.6633, allocations: 0 / 0.7294 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 1.397e-05/0.6634, allocations: 4 kB / 0.7294 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 1.349e-05/0.6634, allocations: 0 / 0.7294 GB, free: 10.17 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 3.224e-05/0.6634, allocations: 33.64 kB / 0.7294 GB, free: 10.13 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 6.877e-05/0.6635, allocations: 15.95 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 5.901e-06/0.6635, allocations: 3.938 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of FrontEnd: time 1.713e-06/0.6635, allocations: 4 kB / 0.7294 GB, free: 10.11 MB / 0.545 GB Notification: Performance of Transformations before backend: time 5.54e-06/0.6635, allocations: 0 / 0.7294 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.0005421/0.6641, allocations: 341.3 kB / 0.7297 GB, free: 9.727 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 5.785e-05/0.6641, allocations: 12.03 kB / 0.7298 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.943e-05/0.6642, allocations: 0 / 0.7298 GB, free: 9.715 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001466/0.6643, allocations: 163 kB / 0.7299 GB, free: 9.516 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.949e-05/0.6644, allocations: 4 kB / 0.7299 GB, free: 9.512 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.252e-05/0.6644, allocations: 4 kB / 0.7299 GB, free: 9.508 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002173/0.6646, allocations: 57.66 kB / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.245e-06/0.6646, allocations: 0 / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.6646, allocations: 0 / 0.73 GB, free: 9.445 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.075e-06/0.6647, allocations: 4 kB / 0.73 GB, free: 9.441 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001906/0.6649, allocations: 51.89 kB / 0.73 GB, free: 9.391 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004368/0.6653, allocations: 256.7 kB / 0.7303 GB, free: 9.09 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001462/0.6655, allocations: 50.59 kB / 0.7303 GB, free: 9.031 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001018/0.6656, allocations: 28.91 kB / 0.7303 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 1.919e-05/0.6656, allocations: 0 / 0.7303 GB, free: 9 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.022e-05/0.6656, allocations: 38.48 kB / 0.7304 GB, free: 8.953 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 9.02e-07/0.6657, allocations: 0 / 0.7304 GB, free: 8.953 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003974/0.6661, allocations: 101.6 kB / 0.7305 GB, free: 8.848 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.321e-05/0.6661, allocations: 51.41 kB / 0.7305 GB, free: 8.785 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001051/0.6662, allocations: 97.86 kB / 0.7306 GB, free: 8.68 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.6662, allocations: 29.83 kB / 0.7306 GB, free: 8.645 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 5.115e-05/0.6663, allocations: 92.06 kB / 0.7307 GB, free: 8.551 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 3.757e-05/0.6664, allocations: 7.891 kB / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.799e-06/0.6664, allocations: 0 / 0.7307 GB, free: 8.543 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.6665, allocations: 318.8 kB / 0.731 GB, free: 8.223 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.544e-05/0.6666, allocations: 19.98 kB / 0.7311 GB, free: 8.203 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.76e-05/0.6667, allocations: 31.97 kB / 0.7311 GB, free: 8.172 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.589e-05/0.6668, allocations: 19.92 kB / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6668, allocations: 0 / 0.7311 GB, free: 8.152 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002149/0.667, allocations: 85.72 kB / 0.7312 GB, free: 8.062 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 2.016e-05/0.667, allocations: 4 kB / 0.7312 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.667, allocations: 0 / 0.7312 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.6671, allocations: 0 / 0.7312 GB, free: 8.059 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001072/0.6672, allocations: 15.92 kB / 0.7312 GB, free: 8.043 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.187e-06/0.6672, allocations: 4 kB / 0.7312 GB, free: 8.039 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.628e-05/0.6673, allocations: 12.02 kB / 0.7312 GB, free: 8.027 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.751e-06/0.6673, allocations: 0 / 0.7312 GB, free: 8.027 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.956e-05/0.6674, allocations: 113.8 kB / 0.7313 GB, free: 7.906 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.15e-05/0.6674, allocations: 4 kB / 0.7313 GB, free: 7.902 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.329e-05/0.6674, allocations: 3.125 kB / 0.7313 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.923e-06/0.6674, allocations: 192 / 0.7313 GB, free: 7.898 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.6675, allocations: 4 kB / 0.7314 GB, free: 7.895 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.6675, allocations: 3.984 kB / 0.7314 GB, free: 7.891 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001651/0.6676, allocations: 165.6 kB / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.6676, allocations: 0 / 0.7315 GB, free: 7.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.446e-05/0.6677, allocations: 19.92 kB / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.196e-06/0.6677, allocations: 0 / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.466e-06/0.6677, allocations: 0 / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.6678, allocations: 0 / 0.7315 GB, free: 7.66 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.603e-06/0.6678, allocations: 4 kB / 0.7315 GB, free: 7.656 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002647/0.668, allocations: 179.4 kB / 0.7317 GB, free: 7.465 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.461e-05/0.6681, allocations: 77.11 kB / 0.7318 GB, free: 7.371 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.542e-05/0.6681, allocations: 4 kB / 0.7318 GB, free: 7.367 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.659e-05/0.6682, allocations: 7.984 kB / 0.7318 GB, free: 7.359 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.192e-05/0.6683, allocations: 16.02 kB / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6683, allocations: 0 / 0.7318 GB, free: 7.344 MB / 0.545 GB Notification: Performance of sorting global known variables: time 3.789e-05/0.6683, allocations: 79.28 kB / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.2e-07/0.6683, allocations: 0 / 0.7319 GB, free: 7.266 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002158/0.6685, allocations: 4 kB / 0.7319 GB, free: 7.262 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.0001344/0.6687, allocations: 103.2 kB / 0.732 GB, free: 7.148 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002491/0.6689, allocations: 51.91 kB / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.6689, allocations: 0 / 0.732 GB, free: 7.098 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.6691, allocations: 31.97 kB / 0.7321 GB, free: 7.066 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000291/0.6694, allocations: 12.02 kB / 0.7321 GB, free: 7.055 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003158/0.6697, allocations: 112.6 kB / 0.7322 GB, free: 6.922 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002908/0.67, allocations: 0.677 MB / 0.7328 GB, free: 6.219 MB / 0.545 GB Notification: Performance of simCode: alias equations: time 3.927e-05/0.67, allocations: 4 kB / 0.7328 GB, free: 6.215 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.947e-05/0.6701, allocations: 7.438 kB / 0.7329 GB, free: 6.207 MB / 0.545 GB Notification: Performance of SimCode: time 4.51e-07/0.6701, allocations: 0 / 0.7329 GB, free: 6.207 MB / 0.545 GB Notification: Performance of Templates: time 0.002952/0.673, allocations: 0.4938 MB / 0.7333 GB, free: 5.715 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: