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.0009439/0.0009439, allocations: 91.67 kB / 20.95 MB, free: 3.297 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.005144/0.005144, allocations: 159.2 kB / 24.38 MB, free: 8.52 MB / 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.9466/0.9466, allocations: 177.1 MB / 204.8 MB, free: 5.414 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 1.85/1.85, allocations: 389.6 MB / 0.6356 GB, free: 12.2 MB / 0.6042 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 5.531e-06/5.531e-06, allocations: 3.984 kB / 0.7755 GB, free: 5.141 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.113e-05/3.666e-05, allocations: 2.312 kB / 0.7755 GB, free: 5.137 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001548/0.001584, allocations: 0.6758 MB / 0.7762 GB, free: 4.48 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0007851/0.002369, allocations: 0.8655 MB / 0.777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.159e-05/0.002401, allocations: 3 kB / 0.777 GB, free: 3.605 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.502e-05/0.002436, allocations: 3.938 kB / 0.7771 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.305e-05/0.002499, allocations: 1.094 kB / 0.7771 GB, free: 3.602 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001284/0.002627, allocations: 15.92 kB / 0.7771 GB, free: 3.586 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.671e-05/0.002694, allocations: 27.92 kB / 0.7771 GB, free: 3.562 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.139e-05/0.002766, allocations: 7.938 kB / 0.7771 GB, free: 3.555 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.634e-05/0.002832, allocations: 21.94 kB / 0.7771 GB, free: 3.535 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 3.771e-05/0.00287, allocations: 7.984 kB / 0.7771 GB, free: 3.527 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.518e-05/0.002885, allocations: 7.438 kB / 0.7771 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 6.041e-06/0.002891, allocations: 1.094 kB / 0.7771 GB, free: 3.523 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.384e-05/0.002905, allocations: 4 kB / 0.7771 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.48e-05/0.002919, allocations: 8.75 kB / 0.7772 GB, free: 3.512 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.687e-05/0.002986, allocations: 21.39 kB / 0.7772 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.034e-06/0.002988, allocations: 0 / 0.7772 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.002e-06/0.002989, allocations: 0 / 0.7772 GB, free: 3.492 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 3.476e-06/0.002993, allocations: 0.7656 kB / 0.7772 GB, free: 3.492 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.0002485/0.003241, allocations: 228.6 kB / 0.7774 GB, free: 3.246 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.023e-05/0.003272, allocations: 13.34 kB / 0.7774 GB, free: 3.234 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.734e-05/0.003299, allocations: 12.91 kB / 0.7774 GB, free: 3.223 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.495e-05/0.003374, allocations: 109.7 kB / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.003388, allocations: 384 / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.446e-06/0.003397, allocations: 384 / 0.7775 GB, free: 3.09 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.23e-05/0.003489, allocations: 59.75 kB / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.721e-06/0.003495, allocations: 192 / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.66e-06/0.0035, allocations: 384 / 0.7776 GB, free: 3.023 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.003505, allocations: 4.375 kB / 0.7776 GB, free: 3.02 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.915e-05/0.003524, allocations: 8.5 kB / 0.7776 GB, free: 3.012 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.003693, allocations: 152.2 kB / 0.7777 GB, free: 2.852 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.835e-05/0.003731, allocations: 22.58 kB / 0.7778 GB, free: 2.82 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.543e-05/0.003747, allocations: 16.89 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 9.338e-06/0.003756, allocations: 0.5469 kB / 0.7778 GB, free: 2.801 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.696e-05/0.003773, allocations: 34.56 kB / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 6.81e-07/0.003774, allocations: 0 / 0.7778 GB, free: 2.758 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.197e-05/0.003866, allocations: 33.7 kB / 0.7778 GB, free: 2.719 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.011e-05/0.003896, allocations: 63.33 kB / 0.7779 GB, free: 2.645 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.912e-05/0.003945, allocations: 106.4 kB / 0.778 GB, free: 2.531 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 8.076e-06/0.003953, allocations: 25.7 kB / 0.778 GB, free: 2.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.372e-05/0.003977, allocations: 84.14 kB / 0.7781 GB, free: 2.414 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.821e-05/0.003995, allocations: 3.953 kB / 0.7781 GB, free: 2.41 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.987e-05/0.004025, allocations: 17.7 kB / 0.7781 GB, free: 2.387 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 8.396e-05/0.004109, allocations: 318.8 kB / 0.7784 GB, free: 2.066 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.211e-05/0.004121, allocations: 4 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.815e-06/0.004129, allocations: 1.031 kB / 0.7784 GB, free: 2.062 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.045e-05/0.004159, allocations: 17.5 kB / 0.7785 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.004161, allocations: 1.156 kB / 0.7785 GB, free: 2.043 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.336e-05/0.004204, allocations: 33.7 kB / 0.7785 GB, free: 2.004 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.364e-05/0.004218, allocations: 7.188 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-06/0.004222, allocations: 0.9375 kB / 0.7785 GB, free: 2 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.536e-06/0.004231, allocations: 3.984 kB / 0.7785 GB, free: 1.996 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.355e-05/0.004294, allocations: 13.14 kB / 0.7785 GB, free: 1.984 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.265e-06/0.004297, allocations: 4.438 kB / 0.7785 GB, free: 1.98 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.631e-05/0.004313, allocations: 4.875 kB / 0.7785 GB, free: 1.977 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.965e-06/0.004316, allocations: 0 / 0.7785 GB, free: 1.977 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 5.23e-05/0.004368, allocations: 119.5 kB / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.11e-05/0.004379, allocations: 0 / 0.7786 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.662e-05/0.004396, allocations: 7.312 kB / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.403e-06/0.004397, allocations: 0 / 0.7786 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.779e-06/0.004402, allocations: 4.625 kB / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.004405, allocations: 0 / 0.7786 GB, free: 1.844 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.63e-05/0.004481, allocations: 67.67 kB / 0.7787 GB, free: 1.762 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.004482, allocations: 4.547 kB / 0.7787 GB, free: 1.758 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.946e-05/0.004502, allocations: 4 kB / 0.7787 GB, free: 1.754 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.376e-06/0.004505, allocations: 4.188 kB / 0.7787 GB, free: 1.75 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.18e-06/0.004511, allocations: 4.906 kB / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.32e-07/0.004511, allocations: 0 / 0.7787 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.004e-06/0.004513, allocations: 4.75 kB / 0.7787 GB, free: 1.742 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.806e-05/0.004591, allocations: 136.8 kB / 0.7789 GB, free: 1.594 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-06/0.004601, allocations: 15.92 kB / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.723e-06/0.004607, allocations: 0 / 0.7789 GB, free: 1.578 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.95e-05/0.004637, allocations: 4.875 kB / 0.7789 GB, free: 1.574 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.59e-05/0.004673, allocations: 7.984 kB / 0.7789 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.004675, allocations: 0.875 kB / 0.7789 GB, free: 1.566 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 1.206e-05/0.004687, allocations: 13.45 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5e-08/0.004687, allocations: 0.5625 kB / 0.7789 GB, free: 1.551 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000105/0.004792, allocations: 4 kB / 0.7789 GB, free: 1.547 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 7.055e-05/0.004863, allocations: 79.72 kB / 0.779 GB, free: 1.465 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.025e-05/0.004913, allocations: 18.06 kB / 0.779 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.004915, allocations: 0 / 0.779 GB, free: 1.445 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 1.585e-05/0.004931, allocations: 13.45 kB / 0.779 GB, free: 1.43 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001183/0.005049, allocations: 10.89 kB / 0.779 GB, free: 1.422 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.005242, allocations: 113.7 kB / 0.7791 GB, free: 1.285 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.787e-05/0.00527, allocations: 55.86 kB / 0.7792 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.787e-05/0.005288, allocations: 0.9375 kB / 0.7792 GB, free: 1.211 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.011e-05/0.005328, allocations: 56.31 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of SimCode: time 4.61e-07/0.005328, allocations: 0.875 kB / 0.7792 GB, free: 1.156 MB / 0.7292 GB Notification: Performance of Templates: time 0.001966/0.007294, allocations: 0.6417 MB / 0.7799 GB, free: 0.5391 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 & (cd run_cvode && ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s cvode) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_gbode.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_gbode.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_gbode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_gbode.sim & (cd run_gbode && ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s gbode -gbm=radauIIA3) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_gbode.pipe 2>&1) [Timeout 240] (rm -f Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_ida.pipe ; mkfifo Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_ida.pipe ; head -c 1048576 < Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_ida.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_ida.sim & (cd run_ida && ../Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=240 -lv LOG_STATS -inputPath=.. -s ida) > Buildings_13_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger_ida.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.883060161024332]