Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0009536/0.0009536, allocations: 80.8 kB / 20.75 MB, free: 3.738 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009702/0.0009702, allocations: 165 kB / 24.17 MB, free: 328 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9485/0.9485, allocations: 177.2 MB / 204.6 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo): time 2.074/2.074, allocations: 389.6 MB / 0.6354 GB, free: 12.31 MB / 0.6042 GB " [Timeout remaining time 177] Using package Buildings with version 13.0.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 13.0.2-maint.13.x/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.164e-06/2.164e-06, allocations: 0 / 0.7752 GB, free: 5.375 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.341e-05/2.558e-05, allocations: 4.438 kB / 0.7752 GB, free: 5.371 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001804/0.001829, allocations: 0.6726 MB / 0.7758 GB, free: 4.719 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.001058/0.002887, allocations: 0.8688 MB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.561e-05/0.002923, allocations: 4.625 kB / 0.7767 GB, free: 3.84 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.37e-05/0.002957, allocations: 3.938 kB / 0.7767 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.619e-05/0.003023, allocations: 0.875 kB / 0.7767 GB, free: 3.836 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.003161, allocations: 16.58 kB / 0.7767 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 7.207e-05/0.003233, allocations: 27.27 kB / 0.7767 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.136e-05/0.003304, allocations: 4.969 kB / 0.7767 GB, free: 3.793 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 8.184e-05/0.003386, allocations: 24.69 kB / 0.7768 GB, free: 3.77 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.399e-05/0.00343, allocations: 8.859 kB / 0.7768 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.613e-05/0.003446, allocations: 0 / 0.7768 GB, free: 3.762 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 8.015e-06/0.003454, allocations: 4 kB / 0.7768 GB, free: 3.758 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.757e-05/0.003472, allocations: 7.344 kB / 0.7768 GB, free: 3.754 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.763e-05/0.003489, allocations: 8.875 kB / 0.7768 GB, free: 3.746 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 7.387e-05/0.003563, allocations: 21.81 kB / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.926e-06/0.003566, allocations: 0 / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of FrontEnd: time 8.41e-07/0.003567, allocations: 0 / 0.7768 GB, free: 3.727 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 4.118e-06/0.003571, allocations: 0 / 0.7768 GB, free: 3.727 MB / 0.7292 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.0002848/0.003856, allocations: 229 kB / 0.777 GB, free: 3.477 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.003896, allocations: 10.25 kB / 0.777 GB, free: 3.469 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.827e-05/0.003925, allocations: 4.938 kB / 0.777 GB, free: 3.465 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.409e-05/0.004009, allocations: 114.5 kB / 0.7771 GB, free: 3.328 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.666e-05/0.004025, allocations: 4.375 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.673e-06/0.004032, allocations: 3.953 kB / 0.7772 GB, free: 3.324 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001128/0.004145, allocations: 54.89 kB / 0.7772 GB, free: 3.262 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.755e-06/0.004153, allocations: 4.172 kB / 0.7772 GB, free: 3.258 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.004161, allocations: 4.375 kB / 0.7772 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.28e-06/0.004166, allocations: 384 / 0.7772 GB, free: 3.254 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.373e-05/0.00419, allocations: 7.938 kB / 0.7772 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002117/0.004401, allocations: 144.3 kB / 0.7774 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 4.384e-05/0.004445, allocations: 25.88 kB / 0.7774 GB, free: 3.059 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.8e-05/0.004463, allocations: 12.86 kB / 0.7774 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.107e-05/0.004474, allocations: 0 / 0.7774 GB, free: 3.043 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.004496, allocations: 34.59 kB / 0.7774 GB, free: 3 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 2.194e-06/0.004498, allocations: 3.984 kB / 0.7774 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 0.0001177/0.004616, allocations: 44.73 kB / 0.7775 GB, free: 2.949 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.9e-05/0.004645, allocations: 55.34 kB / 0.7775 GB, free: 2.883 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.6e-05/0.004701, allocations: 106.7 kB / 0.7776 GB, free: 2.766 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.069e-05/0.004711, allocations: 25.7 kB / 0.7777 GB, free: 2.734 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.85e-05/0.00474, allocations: 84.14 kB / 0.7777 GB, free: 2.648 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.693e-05/0.004757, allocations: 3.953 kB / 0.7777 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.221e-05/0.004789, allocations: 14.44 kB / 0.7778 GB, free: 2.625 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.957e-05/0.004879, allocations: 318.8 kB / 0.7781 GB, free: 2.305 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.453e-05/0.004893, allocations: 5.125 kB / 0.7781 GB, free: 2.301 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.135e-05/0.004904, allocations: 4.938 kB / 0.7781 GB, free: 2.297 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.703e-05/0.004941, allocations: 13.44 kB / 0.7781 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.226e-06/0.004945, allocations: 4.75 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 6.185e-05/0.005007, allocations: 37.7 kB / 0.7781 GB, free: 2.234 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.425e-05/0.005021, allocations: 6.75 kB / 0.7781 GB, free: 2.23 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.005026, allocations: 6.094 kB / 0.7781 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.005039, allocations: 0 / 0.7781 GB, free: 2.227 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.335e-05/0.005113, allocations: 11.92 kB / 0.7781 GB, free: 2.215 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.005117, allocations: 3.938 kB / 0.7782 GB, free: 2.211 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.271e-05/0.00514, allocations: 4.656 kB / 0.7782 GB, free: 2.207 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.278e-06/0.005144, allocations: 0.625 kB / 0.7782 GB, free: 2.207 MB / 0.7292 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 6.228e-05/0.005206, allocations: 116.4 kB / 0.7783 GB, free: 2.086 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.005227, allocations: 3.984 kB / 0.7783 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.784e-05/0.005244, allocations: 3.312 kB / 0.7783 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.964e-06/0.005246, allocations: 0 / 0.7783 GB, free: 2.082 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.005252, allocations: 7.938 kB / 0.7783 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.005254, allocations: 0.8125 kB / 0.7783 GB, free: 2.074 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001057/0.00536, allocations: 65.91 kB / 0.7783 GB, free: 1.992 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.284e-06/0.005362, allocations: 4.578 kB / 0.7783 GB, free: 1.988 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.377e-05/0.005396, allocations: 7.828 kB / 0.7784 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.342e-06/0.005397, allocations: 1.188 kB / 0.7784 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.005402, allocations: 0 / 0.7784 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.685e-06/0.005404, allocations: 4 kB / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.005406, allocations: 0.875 kB / 0.7784 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001039/0.00551, allocations: 140 kB / 0.7785 GB, free: 1.828 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 1.03e-05/0.00552, allocations: 11.95 kB / 0.7785 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.836e-06/0.005529, allocations: 0.6875 kB / 0.7785 GB, free: 1.816 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.312e-05/0.005582, allocations: 3.984 kB / 0.7785 GB, free: 1.812 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.535e-05/0.005617, allocations: 9.75 kB / 0.7785 GB, free: 1.805 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.749e-06/0.005622, allocations: 3.984 kB / 0.7785 GB, free: 1.801 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.497e-05/0.005637, allocations: 12.8 kB / 0.7785 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.005637, allocations: 0 / 0.7785 GB, free: 1.785 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001852/0.005822, allocations: 4.594 kB / 0.7785 GB, free: 1.781 MB / 0.7292 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 9.168e-05/0.005914, allocations: 77.42 kB / 0.7786 GB, free: 1.699 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 6.451e-05/0.005979, allocations: 17.38 kB / 0.7786 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.005981, allocations: 1.125 kB / 0.7786 GB, free: 1.68 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.092e-05/0.006002, allocations: 12.8 kB / 0.7786 GB, free: 1.664 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001714/0.006174, allocations: 8.812 kB / 0.7787 GB, free: 1.656 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002393/0.006413, allocations: 113.4 kB / 0.7788 GB, free: 1.52 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.805e-05/0.006451, allocations: 56.25 kB / 0.7788 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 2.517e-05/0.006476, allocations: 5.031 kB / 0.7788 GB, free: 1.441 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.934e-05/0.006525, allocations: 51.38 kB / 0.7789 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of SimCode: time 8.32e-07/0.006526, allocations: 1.094 kB / 0.7789 GB, free: 1.391 MB / 0.7292 GB Notification: Performance of Templates: time 0.002519/0.009046, allocations: 0.6424 MB / 0.7795 GB, free: 0.7734 MB / 0.7292 GB " [Timeout remaining time 300] make -j1 -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile [Timeout 300] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -s gbode -gbm=radauIIA3 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 5.027588548138738]