Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_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_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.662/1.662, allocations: 288.4 MB / 304.3 MB, free: 8.117 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.0009905/0.0009904, allocations: 176.5 kB / 373 MB, free: 10.16 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.605/1.605, allocations: 205.4 MB / 0.6317 GB, free: 9.914 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.000756/0.0007559, allocations: 100 kB / 0.745 GB, free: 5.805 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003521/0.0003521, allocations: 12.44 kB / 0.8681 GB, free: 141.9 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2045/0.2049, allocations: 115.3 MB / 0.9807 GB, free: 27.41 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6345/0.8394, allocations: 137.6 MB / 1.115 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001797/0.8396, allocations: 67.64 kB / 1.115 GB, free: 16.59 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.00212/0.8418, allocations: 0.7163 MB / 1.116 GB, free: 32.26 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.263e-06/0.8418, allocations: 3.938 kB / 1.116 GB, free: 32.26 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.511e-06/0.8418, allocations: 0 / 1.116 GB, free: 32.26 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.0003282/0.8421, allocations: 336.7 kB / 1.116 GB, free: 31.9 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.191e-05/0.8422, allocations: 7.656 kB / 1.116 GB, free: 31.9 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.625e-05/0.8422, allocations: 16.09 kB / 1.116 GB, free: 31.89 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.893e-05/0.8423, allocations: 163.2 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.035e-05/0.8423, allocations: 4.25 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.222e-05/0.8423, allocations: 4.281 kB / 1.116 GB, free: 31.7 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.8425, allocations: 53.91 kB / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.264e-06/0.8425, allocations: 192 / 1.116 GB, free: 31.67 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.087e-06/0.8425, allocations: 3.938 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.306e-06/0.8425, allocations: 0 / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001541/0.8427, allocations: 51.02 kB / 1.116 GB, free: 31.66 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002935/0.843, allocations: 255.2 kB / 1.117 GB, free: 31.39 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001172/0.8431, allocations: 51.52 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.249e-05/0.8432, allocations: 29.2 kB / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.467e-05/0.8433, allocations: 0 / 1.117 GB, free: 31.36 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.818e-05/0.8433, allocations: 34.56 kB / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.71e-07/0.8433, allocations: 0 / 1.117 GB, free: 31.31 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003335/0.8436, allocations: 105.6 kB / 1.117 GB, free: 31.28 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.188e-05/0.8437, allocations: 55.53 kB / 1.117 GB, free: 31.21 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.787e-05/0.8437, allocations: 100.2 kB / 1.117 GB, free: 31.11 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.274e-05/0.8438, allocations: 25.7 kB / 1.117 GB, free: 31.08 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.641e-05/0.8438, allocations: 87.89 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.243e-05/0.8438, allocations: 0 / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.8438, allocations: 3.812 kB / 1.117 GB, free: 31 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.8439, allocations: 317 kB / 1.117 GB, free: 30.68 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.464e-05/0.844, allocations: 29.28 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.996e-05/0.8441, allocations: 23.02 kB / 1.118 GB, free: 30.68 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001425/0.8442, allocations: 52.67 kB / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.513e-06/0.8443, allocations: 0 / 1.118 GB, free: 30.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001801/0.8444, allocations: 83.91 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.141e-05/0.8445, allocations: 7.719 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.8445, allocations: 4.031 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.8445, allocations: 0 / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.311e-05/0.8446, allocations: 11 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.344e-06/0.8446, allocations: 0.7031 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.424e-05/0.8447, allocations: 14.62 kB / 1.118 GB, free: 30.62 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.5e-06/0.8447, allocations: 0.875 kB / 1.118 GB, free: 30.62 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 7.443e-05/0.8448, allocations: 124.7 kB / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.179e-05/0.8448, allocations: 0 / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.796e-05/0.8448, allocations: 3.672 kB / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.8448, allocations: 0 / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.506e-06/0.8448, allocations: 0 / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.254e-06/0.8448, allocations: 0 / 1.118 GB, free: 30.5 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001235/0.845, allocations: 167.1 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/0.845, allocations: 3.062 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.825e-05/0.845, allocations: 10.53 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.384e-06/0.8451, allocations: 4 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.975e-06/0.8451, allocations: 2.578 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.8451, allocations: 3.938 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.333e-06/0.8451, allocations: 4.031 kB / 1.118 GB, free: 30.3 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002421/0.8453, allocations: 177.7 kB / 1.118 GB, free: 30.16 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 4.385e-05/0.8454, allocations: 84.97 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.8454, allocations: 0 / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.193e-05/0.8455, allocations: 10.36 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.795e-05/0.8455, allocations: 2.672 kB / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.8455, allocations: 0 / 1.118 GB, free: 30.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.364e-05/0.8456, allocations: 86.19 kB / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.11e-07/0.8456, allocations: 0 / 1.118 GB, free: 29.99 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002058/0.8458, allocations: 19.44 kB / 1.118 GB, free: 29.98 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 9.798e-05/0.8459, allocations: 99.94 kB / 1.118 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.8461, allocations: 50.91 kB / 1.119 GB, free: 29.89 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.8461, allocations: 4.062 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.324e-05/0.8462, allocations: 28.64 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002473/0.8465, allocations: 10.48 kB / 1.119 GB, free: 29.88 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002635/0.8467, allocations: 119.7 kB / 1.119 GB, free: 29.77 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002357/0.847, allocations: 0.6795 MB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.117e-05/0.847, allocations: 3.844 kB / 1.119 GB, free: 29.07 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.181e-05/0.8471, allocations: 7.438 kB / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of SimCode: time 2.2e-07/0.8471, allocations: 0 / 1.119 GB, free: 29.06 MB / 0.698 GB Notification: Performance of Templates: time 0.001996/0.8491, allocations: 0.4957 MB / 1.12 GB, free: 29 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)