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.001363/0.001363, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001252/0.001252, allocations: 195.3 kB / 16.53 MB, free: 6.664 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.472/1.472, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.879/2.879, allocations: 472.6 MB / 0.7451 GB, free: 4.734 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.00134/0.00134, allocations: 62.95 kB / 0.912 GB, free: 33.31 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4001/0.4014, allocations: 159.9 MB / 1.068 GB, free: 10.43 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001954/0.4034, allocations: 0.6172 MB / 1.069 GB, free: 9.805 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009087/0.4043, allocations: 0.8334 MB / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.839e-05/0.4044, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.653e-05/0.4044, allocations: 0 / 1.07 GB, free: 8.961 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.094e-05/0.4045, allocations: 3.938 kB / 1.07 GB, free: 8.957 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001454/0.4047, allocations: 11.98 kB / 1.07 GB, free: 8.945 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 7.497e-05/0.4047, allocations: 31.91 kB / 1.07 GB, free: 8.914 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001107/0.4049, allocations: 3.938 kB / 1.07 GB, free: 8.91 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 7.47e-05/0.4049, allocations: 15.92 kB / 1.07 GB, free: 8.895 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.743e-05/0.405, allocations: 11.98 kB / 1.07 GB, free: 8.883 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.822e-05/0.405, allocations: 11.94 kB / 1.07 GB, free: 8.871 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 1.418e-05/0.405, allocations: 4 kB / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 2.088e-05/0.4051, allocations: 0 / 1.07 GB, free: 8.867 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.893e-05/0.4051, allocations: 11.92 kB / 1.07 GB, free: 8.855 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 9.26e-05/0.4052, allocations: 27.95 kB / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.4052, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.164e-06/0.4052, allocations: 0 / 1.07 GB, free: 8.828 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 8.617e-06/0.4052, allocations: 0 / 1.07 GB, free: 8.828 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.0005404/0.4058, allocations: 335.8 kB / 1.07 GB, free: 8.449 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.4059, allocations: 16.03 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.437e-05/0.4059, allocations: 0.9375 kB / 1.07 GB, free: 8.434 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001334/0.406, allocations: 168.3 kB / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.351e-05/0.4061, allocations: 384 / 1.07 GB, free: 8.23 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.305e-05/0.4061, allocations: 4.375 kB / 1.07 GB, free: 8.227 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001914/0.4063, allocations: 54.22 kB / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.4063, allocations: 192 / 1.07 GB, free: 8.168 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.279e-05/0.4063, allocations: 7.875 kB / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.259e-06/0.4063, allocations: 0 / 1.07 GB, free: 8.16 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001875/0.4065, allocations: 39.95 kB / 1.07 GB, free: 8.121 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003975/0.4069, allocations: 248.9 kB / 1.071 GB, free: 7.828 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001577/0.4071, allocations: 46.53 kB / 1.071 GB, free: 7.773 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.741e-05/0.4072, allocations: 20.91 kB / 1.071 GB, free: 7.75 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.75e-05/0.4072, allocations: 8 kB / 1.071 GB, free: 7.742 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.702e-05/0.4073, allocations: 34.55 kB / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.123e-06/0.4073, allocations: 0 / 1.071 GB, free: 7.699 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004006/0.4077, allocations: 89.48 kB / 1.071 GB, free: 7.605 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.46e-05/0.4077, allocations: 51.41 kB / 1.071 GB, free: 7.543 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.025e-05/0.4078, allocations: 102 kB / 1.071 GB, free: 7.434 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 1.606e-05/0.4078, allocations: 29.7 kB / 1.071 GB, free: 7.398 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 4.771e-05/0.4079, allocations: 84.12 kB / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.833e-05/0.4079, allocations: 0 / 1.071 GB, free: 7.312 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.786e-05/0.4079, allocations: 17.72 kB / 1.071 GB, free: 7.289 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001097/0.4081, allocations: 310.8 kB / 1.071 GB, free: 6.977 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.033e-05/0.4082, allocations: 15.97 kB / 1.071 GB, free: 6.961 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001128/0.4083, allocations: 23.98 kB / 1.071 GB, free: 6.938 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002083/0.4085, allocations: 40.81 kB / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.4085, allocations: 0 / 1.071 GB, free: 6.895 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002183/0.4087, allocations: 81.44 kB / 1.071 GB, free: 6.809 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.4088, allocations: 4 kB / 1.071 GB, free: 6.805 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.022e-06/0.4088, allocations: 8.031 kB / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.634e-05/0.4088, allocations: 0 / 1.071 GB, free: 6.797 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001111/0.4089, allocations: 11.98 kB / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.4089, allocations: 0 / 1.071 GB, free: 6.785 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.387e-05/0.409, allocations: 4 kB / 1.071 GB, free: 6.781 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.24e-06/0.409, allocations: 0 / 1.071 GB, free: 6.781 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.713e-05/0.4091, allocations: 114.3 kB / 1.072 GB, free: 6.66 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.259e-05/0.4091, allocations: 4.172 kB / 1.072 GB, free: 6.656 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.542e-05/0.4092, allocations: 15.11 kB / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.4092, allocations: 0 / 1.072 GB, free: 6.641 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.432e-06/0.4092, allocations: 4 kB / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.955e-06/0.4092, allocations: 0 / 1.072 GB, free: 6.637 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001589/0.4093, allocations: 165.6 kB / 1.072 GB, free: 6.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.236e-06/0.4094, allocations: 7.922 kB / 1.072 GB, free: 6.418 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.664e-05/0.4094, allocations: 4 kB / 1.072 GB, free: 6.414 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.4094, allocations: 4 kB / 1.072 GB, free: 6.41 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.168e-06/0.4095, allocations: 3.984 kB / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.052e-06/0.4095, allocations: 0 / 1.072 GB, free: 6.406 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.4095, allocations: 4 kB / 1.072 GB, free: 6.402 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002423/0.4097, allocations: 167.4 kB / 1.072 GB, free: 6.223 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 4.021e-05/0.4098, allocations: 81.02 kB / 1.072 GB, free: 6.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.437e-05/0.4098, allocations: 4 kB / 1.072 GB, free: 6.121 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.184e-05/0.4099, allocations: 7.984 kB / 1.072 GB, free: 6.113 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.714e-05/0.4099, allocations: 8.031 kB / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.356e-06/0.4099, allocations: 0 / 1.072 GB, free: 6.105 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.316e-05/0.41, allocations: 83.27 kB / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.1e-07/0.41, allocations: 0 / 1.072 GB, free: 6.023 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.000215/0.4102, allocations: 4 kB / 1.072 GB, free: 6.02 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.0001092/0.4103, allocations: 99.25 kB / 1.072 GB, free: 5.91 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.0002309/0.4106, allocations: 47.89 kB / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 2.033e-06/0.4106, allocations: 0 / 1.072 GB, free: 5.863 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001063/0.4107, allocations: 23.98 kB / 1.072 GB, free: 5.84 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004476/0.4111, allocations: 9.641 kB / 1.072 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003407/0.4115, allocations: 113.4 kB / 1.072 GB, free: 5.695 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002292/0.4117, allocations: 0.6729 MB / 1.073 GB, free: 4.996 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.11e-05/0.4118, allocations: 4.125 kB / 1.073 GB, free: 4.992 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.231e-05/0.4118, allocations: 19.42 kB / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of SimCode: time 4.41e-07/0.4118, allocations: 0 / 1.073 GB, free: 4.973 MB / 0.8262 GB Notification: Performance of Templates: time 0.002727/0.4146, allocations: 0.5914 MB / 1.074 GB, free: 4.383 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)