Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_1.6_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_1.6_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_1.6_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.001323/0.001323, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001671/0.001671, allocations: 189.8 kB / 16.25 MB, free: 6.617 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.489/1.489, allocations: 222.9 MB / 239.9 MB, free: 4.52 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.985/2.985, allocations: 472.6 MB / 0.7448 GB, free: 4.906 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.002057/0.002057, allocations: 67.55 kB / 0.9115 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4497/0.4518, allocations: 159.9 MB / 1.068 GB, free: 10.77 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.002173/0.454, allocations: 0.6863 MB / 1.068 GB, free: 10.09 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.000881/0.4549, allocations: 0.8274 MB / 1.069 GB, free: 9.25 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.769e-05/0.4549, allocations: 7.938 kB / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.975e-05/0.455, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.443e-05/0.4551, allocations: 0 / 1.069 GB, free: 9.242 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001438/0.4552, allocations: 11.98 kB / 1.069 GB, free: 9.23 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.432e-05/0.4553, allocations: 31.91 kB / 1.069 GB, free: 9.199 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001061/0.4554, allocations: 7.938 kB / 1.069 GB, free: 9.191 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 6.663e-05/0.4555, allocations: 15.92 kB / 1.069 GB, free: 9.176 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.365e-05/0.4555, allocations: 11.94 kB / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 2.017e-05/0.4556, allocations: 0 / 1.069 GB, free: 9.164 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.424e-05/0.4556, allocations: 4 kB / 1.069 GB, free: 9.16 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.546e-05/0.4556, allocations: 7.984 kB / 1.069 GB, free: 9.152 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.478e-05/0.4556, allocations: 15.92 kB / 1.069 GB, free: 9.137 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 8.803e-05/0.4557, allocations: 23.95 kB / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.008e-06/0.4557, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of FrontEnd: time 1.763e-06/0.4558, allocations: 0 / 1.069 GB, free: 9.113 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 9.208e-06/0.4558, allocations: 0 / 1.069 GB, free: 9.113 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.0005175/0.4563, allocations: 331.8 kB / 1.07 GB, free: 8.738 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.623e-05/0.4563, allocations: 12.03 kB / 1.07 GB, free: 8.727 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.57e-05/0.4564, allocations: 8.938 kB / 1.07 GB, free: 8.719 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.4565, allocations: 168.3 kB / 1.07 GB, free: 8.516 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.945e-05/0.4566, allocations: 4.375 kB / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.332e-05/0.4566, allocations: 384 / 1.07 GB, free: 8.512 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001987/0.4568, allocations: 54.22 kB / 1.07 GB, free: 8.453 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.044e-05/0.4568, allocations: 4.125 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.334e-05/0.4568, allocations: 3.938 kB / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.279e-06/0.4568, allocations: 0 / 1.07 GB, free: 8.445 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001749/0.457, allocations: 35.97 kB / 1.07 GB, free: 8.41 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004432/0.4575, allocations: 256.9 kB / 1.07 GB, free: 8.109 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001491/0.4576, allocations: 42.48 kB / 1.07 GB, free: 8.059 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.539e-05/0.4577, allocations: 20.91 kB / 1.07 GB, free: 8.035 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.4578, allocations: 4 kB / 1.07 GB, free: 8.031 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.898e-05/0.4578, allocations: 34.56 kB / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.4578, allocations: 0 / 1.07 GB, free: 7.988 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004143/0.4582, allocations: 93.47 kB / 1.07 GB, free: 7.891 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.236e-05/0.4583, allocations: 51.41 kB / 1.07 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001151/0.4584, allocations: 97.98 kB / 1.07 GB, free: 7.723 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.056e-05/0.4584, allocations: 33.7 kB / 1.07 GB, free: 7.684 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 6.117e-05/0.4585, allocations: 84.12 kB / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 2.772e-05/0.4585, allocations: 0 / 1.071 GB, free: 7.598 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.909e-05/0.4586, allocations: 13.72 kB / 1.071 GB, free: 7.578 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001654/0.4588, allocations: 314.8 kB / 1.071 GB, free: 7.262 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.967e-05/0.4589, allocations: 15.98 kB / 1.071 GB, free: 7.246 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.992e-05/0.4589, allocations: 23.97 kB / 1.071 GB, free: 7.223 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001517/0.4591, allocations: 40.83 kB / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.414e-06/0.4591, allocations: 0 / 1.071 GB, free: 7.18 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002002/0.4593, allocations: 81.62 kB / 1.071 GB, free: 7.094 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.877e-05/0.4593, allocations: 5.719 kB / 1.071 GB, free: 7.09 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.255e-06/0.4594, allocations: 11.92 kB / 1.071 GB, free: 7.078 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4594, allocations: 4.094 kB / 1.071 GB, free: 7.074 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.4595, allocations: 7.984 kB / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.123e-06/0.4595, allocations: 0 / 1.071 GB, free: 7.066 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.413e-05/0.4596, allocations: 7.984 kB / 1.071 GB, free: 7.059 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.704e-06/0.4596, allocations: 4 kB / 1.071 GB, free: 7.055 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 9.945e-05/0.4597, allocations: 109.8 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.189e-05/0.4597, allocations: 0 / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.948e-05/0.4598, allocations: 11.11 kB / 1.071 GB, free: 6.926 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.4598, allocations: 8 kB / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.4598, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.719e-06/0.4598, allocations: 0 / 1.071 GB, free: 6.918 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001867/0.46, allocations: 165.5 kB / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.71e-07/0.46, allocations: 0 / 1.071 GB, free: 6.707 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.092e-05/0.4601, allocations: 11.98 kB / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.352e-06/0.4601, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.498e-06/0.4601, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.382e-06/0.4601, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.4601, allocations: 0 / 1.071 GB, free: 6.695 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002858/0.4604, allocations: 175.4 kB / 1.072 GB, free: 6.508 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.58e-05/0.4604, allocations: 85.02 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.434e-05/0.4605, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.018e-05/0.4605, allocations: 7.984 kB / 1.072 GB, free: 6.398 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.872e-05/0.4606, allocations: 4 kB / 1.072 GB, free: 6.395 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.15e-06/0.4606, allocations: 4 kB / 1.072 GB, free: 6.391 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.701e-05/0.4607, allocations: 83.3 kB / 1.072 GB, free: 6.309 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.2e-07/0.4607, allocations: 4 kB / 1.072 GB, free: 6.305 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002121/0.4609, allocations: 0 / 1.072 GB, free: 6.305 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.000122/0.461, allocations: 103.2 kB / 1.072 GB, free: 6.191 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002231/0.4613, allocations: 39.89 kB / 1.072 GB, free: 6.152 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.119e-06/0.4613, allocations: 4.062 kB / 1.072 GB, free: 6.148 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 9.58e-05/0.4614, allocations: 23.98 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.4616, allocations: 3.938 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.462, allocations: 121.4 kB / 1.072 GB, free: 5.977 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002276/0.4622, allocations: 0.6729 MB / 1.073 GB, free: 5.277 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.421e-05/0.4623, allocations: 4.062 kB / 1.073 GB, free: 5.273 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.37e-05/0.4623, allocations: 19.42 kB / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of SimCode: time 2.21e-07/0.4623, allocations: 0 / 1.073 GB, free: 5.254 MB / 0.8262 GB Notification: Performance of Templates: time 0.002685/0.465, allocations: 0.5334 MB / 1.073 GB, free: 4.727 MB / 0.8262 GB make -j1 -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_1.6_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)