Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.783/2.783, allocations: 285 MB / 292.5 MB, free: 10.48 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001403/0.001403, allocations: 176.9 kB / 360.7 MB, free: 7.23 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.15/2.15, allocations: 205.3 MB / 0.6192 GB, free: 12.14 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001057/0.001057, allocations: 93.03 kB / 0.7322 GB, free: 44.66 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.674e-05/2.674e-05, allocations: 4 kB / 0.8509 GB, free: 3.34 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8958/0.8958, allocations: 115.2 MB / 0.9634 GB, free: 78.44 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2339/1.13, allocations: 136.7 MB / 1.097 GB, free: 3.816 MB / 0.698 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002588/1.13, allocations: 72.67 kB / 1.097 GB, free: 3.746 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 0.002714/1.133, allocations: 0.7059 MB / 1.098 GB, free: 3.055 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.613e-06/1.133, allocations: 0.7812 kB / 1.098 GB, free: 3.055 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.995e-06/1.133, allocations: 0 / 1.098 GB, free: 3.055 MB / 0.698 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.0004561/1.133, allocations: 341.3 kB / 1.098 GB, free: 2.684 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.408e-05/1.133, allocations: 8.781 kB / 1.098 GB, free: 2.676 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.579e-05/1.133, allocations: 5.203 kB / 1.098 GB, free: 2.672 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.134, allocations: 171.4 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.325e-05/1.134, allocations: 0 / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.137e-05/1.134, allocations: 0.5625 kB / 1.098 GB, free: 2.465 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.011e-05/1.134, allocations: 13.47 kB / 1.098 GB, free: 2.453 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.39e-05/1.134, allocations: 42.72 kB / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.887e-06/1.134, allocations: 0 / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.155e-05/1.134, allocations: 0 / 1.098 GB, free: 2.406 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/1.134, allocations: 4.703 kB / 1.098 GB, free: 2.402 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003835/1.134, allocations: 227 kB / 1.098 GB, free: 2.145 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 7.652e-05/1.134, allocations: 31.08 kB / 1.098 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.813e-05/1.134, allocations: 13.45 kB / 1.098 GB, free: 2.09 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.238e-05/1.134, allocations: 5.188 kB / 1.098 GB, free: 2.086 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.892e-05/1.135, allocations: 32.44 kB / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.583e-06/1.135, allocations: 0 / 1.099 GB, free: 2.047 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0001877/1.135, allocations: 41.7 kB / 1.099 GB, free: 2 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.395e-05/1.135, allocations: 52 kB / 1.099 GB, free: 1.938 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.712e-05/1.135, allocations: 100.6 kB / 1.099 GB, free: 1.836 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 2.241e-05/1.135, allocations: 29.64 kB / 1.099 GB, free: 1.801 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.476e-05/1.135, allocations: 81.39 kB / 1.099 GB, free: 1.719 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 2.01e-05/1.135, allocations: 3.906 kB / 1.099 GB, free: 1.715 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.26e-06/1.135, allocations: 3.938 kB / 1.099 GB, free: 1.711 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001332/1.135, allocations: 323.6 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.435e-05/1.135, allocations: 0.5 kB / 1.099 GB, free: 1.387 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.659e-05/1.135, allocations: 8.781 kB / 1.099 GB, free: 1.379 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.18e-05/1.135, allocations: 4 kB / 1.099 GB, free: 1.375 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.198e-06/1.135, allocations: 6.391 kB / 1.099 GB, free: 1.371 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001245/1.135, allocations: 41.7 kB / 1.099 GB, free: 1.324 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.904e-05/1.135, allocations: 4 kB / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/1.135, allocations: 0 / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.135, allocations: 0 / 1.099 GB, free: 1.32 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001685/1.136, allocations: 16.83 kB / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.218e-06/1.136, allocations: 0 / 1.099 GB, free: 1.305 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.67e-05/1.136, allocations: 10.86 kB / 1.099 GB, free: 1.297 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.295e-06/1.136, allocations: 0 / 1.099 GB, free: 1.297 MB / 0.698 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 () * 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.721e-05/1.136, allocations: 114.4 kB / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.965e-05/1.136, allocations: 0 / 1.099 GB, free: 1.18 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.767e-05/1.136, allocations: 9.906 kB / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.791e-06/1.136, allocations: 0 / 1.099 GB, free: 1.172 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.175e-06/1.136, allocations: 7.938 kB / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.915e-06/1.136, allocations: 0 / 1.099 GB, free: 1.164 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001741/1.136, allocations: 138.2 kB / 1.099 GB, free: 0.9922 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.047e-06/1.136, allocations: 3.953 kB / 1.099 GB, free: 0.9883 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001282/1.136, allocations: 16.11 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.795e-06/1.136, allocations: 0 / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.959e-06/1.136, allocations: 3.094 kB / 1.099 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.326e-06/1.136, allocations: 2.375 kB / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/1.136, allocations: 0 / 1.1 GB, free: 0.9727 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001583/1.137, allocations: 139.5 kB / 1.1 GB, free: 0.8203 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 5.152e-05/1.137, allocations: 89 kB / 1.1 GB, free: 0.7148 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.648e-05/1.137, allocations: 4.031 kB / 1.1 GB, free: 0.7109 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001434/1.137, allocations: 7.984 kB / 1.1 GB, free: 0.7031 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.918e-05/1.137, allocations: 8 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.241e-06/1.137, allocations: 2.625 kB / 1.1 GB, free: 0.6953 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.982e-05/1.137, allocations: 83.27 kB / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of sort global known variables: time 4.41e-07/1.137, allocations: 0 / 1.1 GB, free: 0.6133 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0003084/1.137, allocations: 8 kB / 1.1 GB, free: 0.6055 MB / 0.698 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 () * 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.000148/1.137, allocations: 111.1 kB / 1.1 GB, free: 500 kB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0001038/1.138, allocations: 12 kB / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/1.138, allocations: 0 / 1.1 GB, free: 488 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 4.492e-05/1.138, allocations: 15.98 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002147/1.138, allocations: 1.203 kB / 1.1 GB, free: 472 kB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002638/1.138, allocations: 62.41 kB / 1.1 GB, free: 388 kB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000311/1.138, allocations: 0.6769 MB / 1.101 GB, free: 15.68 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 4.918e-05/1.139, allocations: 8 kB / 1.101 GB, free: 15.67 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/1.139, allocations: 7.438 kB / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of SimCode: time 7.61e-07/1.139, allocations: 0 / 1.101 GB, free: 15.66 MB / 0.7136 GB Notification: Performance of Templates: time 0.003011/1.142, allocations: 479.7 kB / 1.101 GB, free: 15.22 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)