Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.0 (/home/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(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 2.767/2.767, allocations: 287.5 MB / 303.2 MB, free: 8.188 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001273/0.001272, allocations: 189.9 kB / 371.8 MB, free: 10.75 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.203/2.203, allocations: 205.4 MB / 0.6305 GB, free: 10.46 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008453/0.0008452, allocations: 91.61 kB / 0.7438 GB, free: 6.441 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004968/0.0004968, allocations: 11.84 kB / 0.8667 GB, free: 141 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.215/0.2155, allocations: 115.3 MB / 0.9793 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9299/1.145, allocations: 137.4 MB / 1.113 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000248/1.146, allocations: 69.02 kB / 1.114 GB, free: 15.91 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00306/1.149, allocations: 0.7186 MB / 1.114 GB, free: 31.59 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.934e-06/1.149, allocations: 0 / 1.114 GB, free: 31.59 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.102e-05/1.149, allocations: 3.812 kB / 1.114 GB, free: 31.59 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.0004693/1.149, allocations: 340.1 kB / 1.115 GB, free: 31.23 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.155e-05/1.149, allocations: 7.688 kB / 1.115 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.578e-05/1.149, allocations: 10.73 kB / 1.115 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001207/1.15, allocations: 160.4 kB / 1.115 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.255e-05/1.15, allocations: 1.922 kB / 1.115 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.776e-05/1.15, allocations: 8.031 kB / 1.115 GB, free: 31.03 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002432/1.15, allocations: 54.59 kB / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.102e-05/1.15, allocations: 192 / 1.115 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.344e-05/1.15, allocations: 9.906 kB / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/1.15, allocations: 0 / 1.115 GB, free: 30.99 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002943/1.15, allocations: 49.44 kB / 1.115 GB, free: 30.98 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/1.151, allocations: 252 kB / 1.115 GB, free: 30.72 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002007/1.151, allocations: 47.34 kB / 1.115 GB, free: 30.69 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001537/1.151, allocations: 29.72 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 2.108e-05/1.151, allocations: 4 kB / 1.115 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.106e-05/1.151, allocations: 34.38 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.503e-06/1.151, allocations: 3.938 kB / 1.115 GB, free: 30.64 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0005593/1.152, allocations: 105 kB / 1.115 GB, free: 30.6 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.54e-05/1.152, allocations: 51.41 kB / 1.115 GB, free: 30.54 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.081e-05/1.152, allocations: 103 kB / 1.115 GB, free: 30.44 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.905e-05/1.152, allocations: 27.48 kB / 1.116 GB, free: 30.41 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.307e-05/1.152, allocations: 84.05 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.711e-05/1.152, allocations: 0 / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.009e-06/1.152, allocations: 2.516 kB / 1.116 GB, free: 30.32 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001142/1.152, allocations: 323.7 kB / 1.116 GB, free: 30 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001779/1.152, allocations: 17.27 kB / 1.116 GB, free: 30 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001383/1.152, allocations: 24.19 kB / 1.116 GB, free: 30 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002824/1.153, allocations: 57.19 kB / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/1.153, allocations: 0 / 1.116 GB, free: 29.99 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003418/1.153, allocations: 86.61 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.685e-05/1.153, allocations: 3.844 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.542e-06/1.153, allocations: 3.844 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.692e-05/1.153, allocations: 3.578 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001487/1.153, allocations: 10.64 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.142e-06/1.153, allocations: 0 / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.774e-05/1.153, allocations: 14.31 kB / 1.116 GB, free: 29.95 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.065e-06/1.153, allocations: 4.031 kB / 1.116 GB, free: 29.94 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.111e-05/1.154, allocations: 109.8 kB / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.046e-05/1.154, allocations: 9.359 kB / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.32e-05/1.154, allocations: 3.125 kB / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.035e-06/1.154, allocations: 0 / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/1.154, allocations: 0 / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.975e-06/1.154, allocations: 0 / 1.116 GB, free: 29.82 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001905/1.154, allocations: 168.6 kB / 1.116 GB, free: 29.63 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.593e-06/1.154, allocations: 7.875 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001129/1.154, allocations: 14.45 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.374e-06/1.154, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.048e-05/1.154, allocations: 1.875 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.725e-06/1.154, allocations: 0.625 kB / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/1.154, allocations: 0 / 1.116 GB, free: 29.62 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003919/1.154, allocations: 182.6 kB / 1.117 GB, free: 29.48 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.234e-05/1.155, allocations: 78.94 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.802e-05/1.155, allocations: 1.312 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001326/1.155, allocations: 8.469 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.305e-05/1.155, allocations: 9.078 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.932e-06/1.155, allocations: 1.344 kB / 1.117 GB, free: 29.39 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.746e-05/1.155, allocations: 84.44 kB / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of sort global known variables: time 3.8e-07/1.155, allocations: 0 / 1.117 GB, free: 29.31 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002975/1.155, allocations: 21.41 kB / 1.117 GB, free: 29.3 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 () * 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 (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.0001364/1.155, allocations: 103.7 kB / 1.117 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.000344/1.156, allocations: 50.22 kB / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.995e-06/1.156, allocations: 0 / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0001604/1.156, allocations: 27.58 kB / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003743/1.156, allocations: 14.52 kB / 1.117 GB, free: 29.2 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003811/1.157, allocations: 115.6 kB / 1.117 GB, free: 29.09 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002641/1.157, allocations: 0.6756 MB / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 4.956e-05/1.157, allocations: 0 / 1.118 GB, free: 28.39 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.62e-05/1.157, allocations: 12.98 kB / 1.118 GB, free: 28.38 MB / 0.698 GB Notification: Performance of SimCode: time 1.953e-06/1.157, allocations: 0 / 1.118 GB, free: 28.38 MB / 0.698 GB Notification: Performance of Templates: time 0.003019/1.16, allocations: 0.4909 MB / 1.118 GB, free: 28.33 MB / 0.698 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)