Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_3.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_3.0.0_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.002143/0.002144, allocations: 111.3 kB / 15.23 MB, free: 0.6406 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.002356/0.002356, allocations: 195.4 kB / 16.14 MB, free: 6.688 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.81/1.81, allocations: 222.9 MB / 239.8 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.057/3.057, allocations: 472.6 MB / 0.7447 GB, free: 4.957 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.001309/0.001309, allocations: 60.3 kB / 0.9114 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3532/0.3545, allocations: 159.9 MB / 1.068 GB, free: 10.89 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001807/0.3564, allocations: 0.6824 MB / 1.068 GB, free: 10.21 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0008876/0.3573, allocations: 0.8274 MB / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.172e-05/0.3573, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 3.89e-05/0.3574, allocations: 0 / 1.069 GB, free: 9.375 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.193e-05/0.3574, allocations: 3.938 kB / 1.069 GB, free: 9.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001237/0.3576, allocations: 15.97 kB / 1.069 GB, free: 9.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.599e-05/0.3576, allocations: 27.88 kB / 1.069 GB, free: 9.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 8.96e-05/0.3577, allocations: 11.98 kB / 1.069 GB, free: 9.316 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.427e-05/0.3578, allocations: 8 kB / 1.069 GB, free: 9.309 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 4.71e-05/0.3579, allocations: 11.92 kB / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.3579, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.082e-05/0.3579, allocations: 0 / 1.069 GB, free: 9.297 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 3.738e-05/0.3579, allocations: 11.98 kB / 1.069 GB, free: 9.285 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 2.769e-05/0.358, allocations: 11.86 kB / 1.069 GB, free: 9.273 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.068e-05/0.3581, allocations: 15.97 kB / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 6.211e-06/0.3581, allocations: 0 / 1.069 GB, free: 9.258 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.643e-06/0.3581, allocations: 4 kB / 1.069 GB, free: 9.254 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 7.434e-06/0.3581, allocations: 0 / 1.069 GB, free: 9.254 MB / 0.8262 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.0006625/0.3588, allocations: 343.7 kB / 1.069 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 5.404e-05/0.3588, allocations: 8.031 kB / 1.069 GB, free: 8.859 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.447e-05/0.3589, allocations: 4.938 kB / 1.069 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001576/0.359, allocations: 168.3 kB / 1.07 GB, free: 8.652 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.146e-05/0.3591, allocations: 4.375 kB / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.635e-05/0.3591, allocations: 384 / 1.07 GB, free: 8.648 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002205/0.3593, allocations: 58.17 kB / 1.07 GB, free: 8.586 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.3594, allocations: 4.188 kB / 1.07 GB, free: 8.582 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.3594, allocations: 3.938 kB / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.793e-06/0.3594, allocations: 0 / 1.07 GB, free: 8.578 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001787/0.3596, allocations: 35.95 kB / 1.07 GB, free: 8.543 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004646/0.36, allocations: 249 kB / 1.07 GB, free: 8.25 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.3602, allocations: 46.5 kB / 1.07 GB, free: 8.195 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.543e-05/0.3603, allocations: 24.83 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.3603, allocations: 0 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.334e-05/0.3604, allocations: 34.56 kB / 1.07 GB, free: 8.125 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.3604, allocations: 4 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004341/0.3608, allocations: 89.55 kB / 1.07 GB, free: 8.027 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.272e-05/0.3609, allocations: 51.41 kB / 1.07 GB, free: 7.965 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.535e-05/0.361, allocations: 105.8 kB / 1.07 GB, free: 7.852 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.496e-05/0.361, allocations: 25.7 kB / 1.07 GB, free: 7.82 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.927e-05/0.3611, allocations: 88.14 kB / 1.07 GB, free: 7.73 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.838e-05/0.3611, allocations: 3.984 kB / 1.07 GB, free: 7.727 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.506e-05/0.3611, allocations: 9.719 kB / 1.07 GB, free: 7.711 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.000157/0.3613, allocations: 327 kB / 1.071 GB, free: 7.383 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.312e-05/0.3614, allocations: 11.98 kB / 1.071 GB, free: 7.371 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.522e-05/0.3615, allocations: 19.98 kB / 1.071 GB, free: 7.352 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001503/0.3616, allocations: 40.81 kB / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.004e-06/0.3616, allocations: 0 / 1.071 GB, free: 7.309 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001965/0.3618, allocations: 81.56 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 2.001e-05/0.3619, allocations: 5.562 kB / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.614e-06/0.3619, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.75e-05/0.3619, allocations: 0 / 1.071 GB, free: 7.219 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.362, allocations: 15.92 kB / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.75e-06/0.362, allocations: 0 / 1.071 GB, free: 7.203 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.419e-05/0.3621, allocations: 7.984 kB / 1.071 GB, free: 7.195 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.932e-06/0.3621, allocations: 3.938 kB / 1.071 GB, free: 7.191 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.894e-05/0.3622, allocations: 121.8 kB / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.226e-05/0.3622, allocations: 0 / 1.071 GB, free: 7.062 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.057e-05/0.3623, allocations: 7.125 kB / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.282e-06/0.3623, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.3623, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.044e-06/0.3623, allocations: 0 / 1.071 GB, free: 7.055 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001613/0.3624, allocations: 165.6 kB / 1.071 GB, free: 6.844 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.3624, allocations: 4 kB / 1.071 GB, free: 6.84 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.672e-05/0.3625, allocations: 7.984 kB / 1.071 GB, free: 6.832 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.503e-06/0.3625, allocations: 4 kB / 1.071 GB, free: 6.828 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.696e-06/0.3625, allocations: 4 kB / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.333e-06/0.3625, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.3626, allocations: 0 / 1.071 GB, free: 6.824 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002435/0.3628, allocations: 167.4 kB / 1.071 GB, free: 6.645 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.536e-05/0.3628, allocations: 81.02 kB / 1.071 GB, free: 6.547 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.413e-05/0.3629, allocations: 8.016 kB / 1.071 GB, free: 6.539 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.863e-05/0.363, allocations: 4 kB / 1.071 GB, free: 6.535 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.955e-05/0.363, allocations: 11.98 kB / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.507e-06/0.363, allocations: 0 / 1.071 GB, free: 6.523 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.784e-05/0.3631, allocations: 79.28 kB / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3631, allocations: 0 / 1.072 GB, free: 6.445 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002061/0.3633, allocations: 4 kB / 1.072 GB, free: 6.441 MB / 0.8262 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001037/0.3634, allocations: 103.2 kB / 1.072 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002134/0.3636, allocations: 39.97 kB / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.3636, allocations: 0 / 1.072 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 8.927e-05/0.3637, allocations: 23.91 kB / 1.072 GB, free: 6.266 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002914/0.364, allocations: 13.66 kB / 1.072 GB, free: 6.254 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000297/0.3643, allocations: 111.3 kB / 1.072 GB, free: 6.117 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002555/0.3646, allocations: 0.677 MB / 1.072 GB, free: 5.414 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.3646, allocations: 4 kB / 1.072 GB, free: 5.41 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.3647, allocations: 7.438 kB / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of SimCode: time 2.41e-07/0.3647, allocations: 0 / 1.072 GB, free: 5.402 MB / 0.8262 GB Notification: Performance of Templates: time 0.002479/0.3671, allocations: 0.507 MB / 1.073 GB, free: 4.898 MB / 0.8262 GB make -j1 -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)