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.001149/0.001149, allocations: 98.03 kB / 15.36 MB, free: 0.7344 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.01035/0.01035, allocations: 168.9 kB / 16.26 MB, free: 6.648 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.557/1.557, allocations: 223.3 MB / 240.3 MB, free: 5.352 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 3.063/3.063, allocations: 473.4 MB / 0.7469 GB, free: 6.066 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003764/0.0003764, allocations: 6.688 kB / 0.9158 GB, free: 33.11 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3924, allocations: 162.2 MB / 1.074 GB, free: 7.555 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0008454/0.3933, allocations: 353.5 kB / 1.074 GB, free: 7.215 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.0009517/0.3942, allocations: 0.8274 MB / 1.075 GB, free: 6.375 MB / 0.8262 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.3943, allocations: 4 kB / 1.075 GB, free: 6.371 MB / 0.8262 GB Notification: Performance of NFTyping.typeComponents: time 2.083e-05/0.3943, allocations: 7.922 kB / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeBindings: time 6.892e-05/0.3944, allocations: 0 / 1.075 GB, free: 6.363 MB / 0.8262 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001369/0.3945, allocations: 8 kB / 1.075 GB, free: 6.355 MB / 0.8262 GB Notification: Performance of NFFlatten.flatten: time 6.805e-05/0.3946, allocations: 27.92 kB / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFFlatten.resolveConnections: time 9.072e-05/0.3947, allocations: 0 / 1.075 GB, free: 6.328 MB / 0.8262 GB Notification: Performance of NFEvalConstants.evaluate: time 5.547e-05/0.3948, allocations: 11.92 kB / 1.075 GB, free: 6.316 MB / 0.8262 GB Notification: Performance of NFSimplifyModel.simplify: time 5.572e-05/0.3948, allocations: 15.97 kB / 1.075 GB, free: 6.301 MB / 0.8262 GB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.3949, allocations: 4 kB / 1.075 GB, free: 6.297 MB / 0.8262 GB Notification: Performance of NFFlatten.collectFunctions: time 9.959e-06/0.3949, allocations: 4 kB / 1.075 GB, free: 6.293 MB / 0.8262 GB Notification: Performance of NFScalarize.scalarize: time 1.354e-05/0.3949, allocations: 3.938 kB / 1.075 GB, free: 6.289 MB / 0.8262 GB Notification: Performance of NFVerifyModel.verify: time 3.942e-05/0.3949, allocations: 37.64 kB / 1.075 GB, free: 6.246 MB / 0.8262 GB Notification: Performance of NFConvertDAE.convert: time 7.39e-05/0.395, allocations: 19.95 kB / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.395, allocations: 0 / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of FrontEnd: time 2.134e-06/0.395, allocations: 0 / 1.075 GB, free: 6.227 MB / 0.8262 GB Notification: Performance of Transformations before backend: time 4.779e-06/0.3951, allocations: 0 / 1.075 GB, free: 6.227 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.000475/0.3955, allocations: 339.8 kB / 1.076 GB, free: 5.844 MB / 0.8262 GB Notification: Performance of prepare preOptimizeDAE: time 4.51e-05/0.3956, allocations: 12.03 kB / 1.076 GB, free: 5.832 MB / 0.8262 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.108e-05/0.3956, allocations: 4.844 kB / 1.076 GB, free: 5.828 MB / 0.8262 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001326/0.3958, allocations: 164.3 kB / 1.076 GB, free: 5.629 MB / 0.8262 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.669e-05/0.3958, allocations: 4.375 kB / 1.076 GB, free: 5.625 MB / 0.8262 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.402e-05/0.3958, allocations: 8.312 kB / 1.076 GB, free: 5.617 MB / 0.8262 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001952/0.396, allocations: 58.22 kB / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.053e-06/0.396, allocations: 192 / 1.076 GB, free: 5.555 MB / 0.8262 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.3961, allocations: 7.938 kB / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.243e-06/0.3961, allocations: 0 / 1.076 GB, free: 5.547 MB / 0.8262 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001976/0.3963, allocations: 51.89 kB / 1.076 GB, free: 5.496 MB / 0.8262 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004163/0.3967, allocations: 248.9 kB / 1.076 GB, free: 5.203 MB / 0.8262 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001593/0.3969, allocations: 58.47 kB / 1.076 GB, free: 5.137 MB / 0.8262 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.397, allocations: 20.91 kB / 1.076 GB, free: 5.113 MB / 0.8262 GB Notification: Performance of preOpt evalFunc (simulation): time 1.658e-05/0.397, allocations: 8 kB / 1.076 GB, free: 5.105 MB / 0.8262 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.384e-05/0.397, allocations: 34.55 kB / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.397, allocations: 0 / 1.076 GB, free: 5.062 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2): time 0.0004046/0.3974, allocations: 101.7 kB / 1.076 GB, free: 4.957 MB / 0.8262 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.058e-05/0.3975, allocations: 55.41 kB / 1.077 GB, free: 4.891 MB / 0.8262 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.478e-05/0.3976, allocations: 97.8 kB / 1.077 GB, free: 4.785 MB / 0.8262 GB Notification: Performance of collectPreVariables (initialization): time 2.105e-05/0.3976, allocations: 29.69 kB / 1.077 GB, free: 4.75 MB / 0.8262 GB Notification: Performance of collectInitialEqns (initialization): time 5.443e-05/0.3977, allocations: 92.05 kB / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of collectInitialBindings (initialization): time 1.66e-05/0.3977, allocations: 0 / 1.077 GB, free: 4.656 MB / 0.8262 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.532e-05/0.3977, allocations: 9.719 kB / 1.077 GB, free: 4.641 MB / 0.8262 GB Notification: Performance of setup shared object (initialization): time 0.0001204/0.3978, allocations: 314.9 kB / 1.077 GB, free: 4.324 MB / 0.8262 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.649e-05/0.3979, allocations: 23.98 kB / 1.077 GB, free: 4.301 MB / 0.8262 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.76e-05/0.398, allocations: 27.97 kB / 1.077 GB, free: 4.273 MB / 0.8262 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001863/0.3982, allocations: 48.89 kB / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.964e-06/0.3982, allocations: 0 / 1.077 GB, free: 4.223 MB / 0.8262 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000243/0.3985, allocations: 89.69 kB / 1.077 GB, free: 4.129 MB / 0.8262 GB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3985, allocations: 4 kB / 1.077 GB, free: 4.125 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.498e-06/0.3985, allocations: 3.984 kB / 1.077 GB, free: 4.121 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.355e-05/0.3985, allocations: 3.938 kB / 1.077 GB, free: 4.117 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001084/0.3987, allocations: 11.98 kB / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.859e-06/0.3987, allocations: 0 / 1.077 GB, free: 4.105 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.357e-05/0.3987, allocations: 15.98 kB / 1.077 GB, free: 4.09 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.071e-06/0.3988, allocations: 4.031 kB / 1.077 GB, free: 4.086 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.318e-05/0.3989, allocations: 113.8 kB / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.287e-05/0.3989, allocations: 0 / 1.077 GB, free: 3.965 MB / 0.8262 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.157e-05/0.3989, allocations: 7.109 kB / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.3989, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.837e-06/0.3989, allocations: 0 / 1.077 GB, free: 3.957 MB / 0.8262 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.926e-06/0.3989, allocations: 3.938 kB / 1.077 GB, free: 3.953 MB / 0.8262 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000172/0.3991, allocations: 165.6 kB / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.3991, allocations: 0 / 1.078 GB, free: 3.742 MB / 0.8262 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.488e-05/0.3992, allocations: 19.98 kB / 1.078 GB, free: 3.723 MB / 0.8262 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.3992, allocations: 3.938 kB / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.633e-06/0.3992, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.3992, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.3992, allocations: 0 / 1.078 GB, free: 3.719 MB / 0.8262 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002773/0.3995, allocations: 187.4 kB / 1.078 GB, free: 3.52 MB / 0.8262 GB Notification: Performance of postOpt removeConstants (simulation): time 3.474e-05/0.3996, allocations: 77.11 kB / 1.078 GB, free: 3.426 MB / 0.8262 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.52e-05/0.3996, allocations: 4 kB / 1.078 GB, free: 3.422 MB / 0.8262 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.455e-05/0.3997, allocations: 7.984 kB / 1.078 GB, free: 3.414 MB / 0.8262 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.395e-05/0.3997, allocations: 4 kB / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.456e-06/0.3997, allocations: 0 / 1.078 GB, free: 3.41 MB / 0.8262 GB Notification: Performance of sorting global known variables: time 4.743e-05/0.3998, allocations: 91.3 kB / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of sort global known variables: time 1.4e-07/0.3998, allocations: 0 / 1.078 GB, free: 3.32 MB / 0.8262 GB Notification: Performance of remove unused functions: time 0.0002182/0.4, allocations: 4 kB / 1.078 GB, free: 3.316 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.0001065/0.4001, allocations: 95.25 kB / 1.078 GB, free: 3.211 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.00024/0.4004, allocations: 51.95 kB / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.4004, allocations: 0 / 1.078 GB, free: 3.16 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0001069/0.4005, allocations: 31.92 kB / 1.078 GB, free: 3.129 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002794/0.4008, allocations: 3.938 kB / 1.078 GB, free: 3.125 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003253/0.4011, allocations: 116.7 kB / 1.078 GB, free: 2.984 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002596/0.4014, allocations: 0.677 MB / 1.079 GB, free: 2.281 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 3.123e-05/0.4014, allocations: 4 kB / 1.079 GB, free: 2.277 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.914e-05/0.4015, allocations: 7.438 kB / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of SimCode: time 2.7e-07/0.4015, allocations: 0 / 1.079 GB, free: 2.27 MB / 0.8262 GB Notification: Performance of Templates: time 0.002565/0.404, allocations: 0.5018 MB / 1.079 GB, free: 1.77 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)