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.0007696/0.0007696, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001048/0.001818, allocations: 449.7 kB / 10.37 MB, free: 328 kB / 10.45 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.0007549/0.0007549, allocations: 165.2 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009409/0.001696, allocations: 459.6 kB / 11.71 MB, free: 2.457 MB / 13.93 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 1.025/1.025, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08648/1.112, allocations: 53.64 MB / 243.3 MB, free: 15.59 MB / 250.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 1.933/1.933, allocations: 389.9 MB / 0.619 GB, free: 11.79 MB / 0.6042 GB Notification: Performance of NFInstanceAPI.mkTop(): time 0.5307/2.464, allocations: 127.1 MB / 0.7432 GB, free: 4.641 MB / 0.7136 GB " [Timeout remaining time 178] 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 1.874e-06/1.874e-06, allocations: 0 / 0.7444 GB, free: 3.379 MB / 0.7136 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.865e-05/2.052e-05, allocations: 2.312 kB / 0.7444 GB, free: 3.375 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001925/0.001945, allocations: 0.6768 MB / 0.7451 GB, free: 2.723 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0007877/0.002733, allocations: 0.8732 MB / 0.746 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.438e-05/0.002757, allocations: 0 / 0.746 GB, free: 1.84 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 2.205e-05/0.002779, allocations: 4.562 kB / 0.746 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 3.084e-05/0.00281, allocations: 1.312 kB / 0.746 GB, free: 1.836 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 7.161e-05/0.002882, allocations: 18.2 kB / 0.746 GB, free: 1.82 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.345e-05/0.002945, allocations: 31.38 kB / 0.746 GB, free: 1.793 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 7.044e-05/0.003016, allocations: 4.812 kB / 0.746 GB, free: 1.789 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 7.636e-05/0.003092, allocations: 22.98 kB / 0.746 GB, free: 1.77 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 4.717e-05/0.003139, allocations: 12.84 kB / 0.7461 GB, free: 1.758 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.194e-05/0.003161, allocations: 4 kB / 0.7461 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 7.334e-06/0.003169, allocations: 0 / 0.7461 GB, free: 1.754 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.436e-05/0.003183, allocations: 5.797 kB / 0.7461 GB, free: 1.75 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 1.985e-05/0.003203, allocations: 4.875 kB / 0.7461 GB, free: 1.746 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 7.284e-05/0.003276, allocations: 18.97 kB / 0.7461 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 1.422e-05/0.00329, allocations: 0 / 0.7461 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of FrontEnd: time 8.22e-07/0.003291, allocations: 3.219 kB / 0.7461 GB, free: 1.73 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 1.676e-05/0.003307, allocations: 0 / 0.7461 GB, free: 1.73 MB / 0.7136 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.0003531/0.003661, allocations: 228.7 kB / 0.7463 GB, free: 1.48 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.452e-05/0.003695, allocations: 8.031 kB / 0.7463 GB, free: 1.473 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.224e-05/0.003737, allocations: 5.812 kB / 0.7463 GB, free: 1.469 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.757e-05/0.003825, allocations: 121.7 kB / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.899e-05/0.003844, allocations: 384 / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.853e-06/0.003851, allocations: 384 / 0.7464 GB, free: 1.324 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001202/0.003971, allocations: 55.58 kB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.833e-06/0.003978, allocations: 192 / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.51e-06/0.003983, allocations: 1.062 kB / 0.7465 GB, free: 1.262 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.00399, allocations: 8.359 kB / 0.7465 GB, free: 1.254 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.538e-05/0.004015, allocations: 9.562 kB / 0.7465 GB, free: 1.246 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001923/0.004207, allocations: 144.9 kB / 0.7466 GB, free: 1.09 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 4.413e-05/0.004252, allocations: 20.08 kB / 0.7467 GB, free: 1.062 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.42e-05/0.004266, allocations: 12.86 kB / 0.7467 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.12e-05/0.004277, allocations: 0 / 0.7467 GB, free: 1.047 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.049e-05/0.004297, allocations: 35.53 kB / 0.7467 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.004298, allocations: 0 / 0.7467 GB, free: 1.004 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0001002/0.004398, allocations: 38.33 kB / 0.7467 GB, free: 0.9609 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.827e-05/0.004427, allocations: 55.94 kB / 0.7468 GB, free: 0.8945 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.163e-05/0.004478, allocations: 110.7 kB / 0.7469 GB, free: 0.7734 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.004486, allocations: 27.23 kB / 0.7469 GB, free: 0.7422 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.53e-05/0.004511, allocations: 84.14 kB / 0.747 GB, free: 0.6562 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.43e-05/0.004526, allocations: 4.516 kB / 0.747 GB, free: 0.6523 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.95e-05/0.004555, allocations: 15.25 kB / 0.747 GB, free: 0.6328 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 7.406e-05/0.004629, allocations: 322.8 kB / 0.7473 GB, free: 316 kB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.004639, allocations: 4 kB / 0.7473 GB, free: 312 kB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.414e-06/0.004647, allocations: 0 / 0.7473 GB, free: 312 kB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.311e-05/0.00467, allocations: 14.67 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.004672, allocations: 0.9844 kB / 0.7474 GB, free: 296 kB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.134e-05/0.004713, allocations: 37.69 kB / 0.7474 GB, free: 252 kB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.087e-05/0.004724, allocations: 6.438 kB / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.004728, allocations: 0 / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.725e-06/0.004736, allocations: 0 / 0.7474 GB, free: 248 kB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.521e-05/0.004811, allocations: 15.92 kB / 0.7474 GB, free: 232 kB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.234e-06/0.004814, allocations: 3.938 kB / 0.7474 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.594e-05/0.00483, allocations: 0 / 0.7474 GB, free: 228 kB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.166e-06/0.004833, allocations: 1.969 kB / 0.7474 GB, free: 228 kB / 0.7136 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 4.934e-05/0.004882, allocations: 114.5 kB / 0.7475 GB, free: 104 kB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.134e-05/0.004893, allocations: 3.984 kB / 0.7475 GB, free: 100 kB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.505e-05/0.004908, allocations: 7.312 kB / 0.7475 GB, free: 96 kB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.415e-06/0.004911, allocations: 4.188 kB / 0.7475 GB, free: 92 kB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.244e-06/0.004913, allocations: 5.188 kB / 0.7475 GB, free: 88 kB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.817e-06/0.004917, allocations: 3.984 kB / 0.7476 GB, free: 84 kB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.272e-05/0.00499, allocations: 66.66 kB / 0.7476 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.004991, allocations: 1.281 kB / 0.7476 GB, free: 0 / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.802e-05/0.005029, allocations: 8.047 kB / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 4.368e-06/0.005033, allocations: 0 / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.71e-07/0.005034, allocations: 0.5 kB / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.486e-06/0.005037, allocations: 0 / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.52e-07/0.005038, allocations: 4.688 kB / 0.7476 GB, free: 15.99 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.00504, allocations: 4.812 kB / 0.7476 GB, free: 15.98 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.106e-05/0.005111, allocations: 141.3 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.488e-06/0.005121, allocations: 3.984 kB / 0.7478 GB, free: 15.83 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.987e-05/0.00515, allocations: 4 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.14e-05/0.005182, allocations: 7.984 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.184e-06/0.005184, allocations: 2.75 kB / 0.7478 GB, free: 15.82 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 8.636e-06/0.005193, allocations: 12.8 kB / 0.7478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.005193, allocations: 0 / 0.7478 GB, free: 15.8 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001096/0.005302, allocations: 9.047 kB / 0.7478 GB, free: 15.79 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 6.599e-05/0.005368, allocations: 76.42 kB / 0.7479 GB, free: 15.71 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.288e-05/0.005421, allocations: 20.06 kB / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.128e-06/0.005425, allocations: 0 / 0.7479 GB, free: 15.69 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.685e-05/0.005442, allocations: 16.8 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001327/0.005575, allocations: 4 kB / 0.7479 GB, free: 15.67 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003188/0.005894, allocations: 116.6 kB / 0.748 GB, free: 15.53 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.115e-05/0.005925, allocations: 56.48 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.934e-05/0.005944, allocations: 1.031 kB / 0.7481 GB, free: 15.45 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.353e-05/0.005988, allocations: 60.12 kB / 0.7481 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of SimCode: time 1.012e-06/0.005989, allocations: 0.5 kB / 0.7481 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of Templates: time 0.00222/0.008208, allocations: 0.659 MB / 0.7488 GB, free: 14.77 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 -lv LOG_STATS > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.9125920459628105]