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.001356/0.001356, 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.0009506/0.0009506, allocations: 161 kB / 24.16 MB, free: 332 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 1.062/1.062, allocations: 177.2 MB / 204.6 MB, free: 5.488 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.921/1.921, allocations: 389.6 MB / 0.6354 GB, free: 12.3 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 2.244e-06/2.244e-06, allocations: 0.6562 kB / 0.7752 GB, free: 5.418 MB / 0.7292 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.425e-05/1.649e-05, allocations: 2.906 kB / 0.7752 GB, free: 5.414 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001219/0.001236, allocations: 0.6724 MB / 0.7758 GB, free: 4.762 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0008273/0.002063, allocations: 0.8611 MB / 0.7767 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.072e-05/0.002094, allocations: 0 / 0.7767 GB, free: 3.891 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 3.023e-05/0.002124, allocations: 3.938 kB / 0.7767 GB, free: 3.887 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 6.788e-05/0.002192, allocations: 6.188 kB / 0.7767 GB, free: 3.883 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.000123/0.002315, allocations: 23.17 kB / 0.7767 GB, free: 3.863 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 6.297e-05/0.002378, allocations: 24.25 kB / 0.7767 GB, free: 3.844 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 7.163e-05/0.00245, allocations: 11.98 kB / 0.7767 GB, free: 3.832 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 6.555e-05/0.002515, allocations: 12.81 kB / 0.7768 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 4.327e-05/0.002558, allocations: 12.86 kB / 0.7768 GB, free: 3.809 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 1.633e-05/0.002575, allocations: 4 kB / 0.7768 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 7.003e-06/0.002582, allocations: 0 / 0.7768 GB, free: 3.805 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 1.626e-05/0.002598, allocations: 8.859 kB / 0.7768 GB, free: 3.797 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 1.665e-05/0.002615, allocations: 9.188 kB / 0.7768 GB, free: 3.789 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 6.494e-05/0.00268, allocations: 15.61 kB / 0.7768 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 2.244e-06/0.002682, allocations: 1.094 kB / 0.7768 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of FrontEnd: time 6.31e-07/0.002682, allocations: 0 / 0.7768 GB, free: 3.777 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 2.594e-06/0.002685, allocations: 0 / 0.7768 GB, free: 3.777 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.0002669/0.002952, allocations: 237 kB / 0.777 GB, free: 3.52 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.101e-05/0.002983, allocations: 13.34 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.365e-05/0.003007, allocations: 0.9375 kB / 0.777 GB, free: 3.508 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.136e-05/0.003088, allocations: 111.5 kB / 0.7771 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.597e-05/0.003104, allocations: 384 / 0.7771 GB, free: 3.375 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.953e-06/0.003111, allocations: 4.375 kB / 0.7772 GB, free: 3.371 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.694e-05/0.003208, allocations: 62.88 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.773e-06/0.003215, allocations: 1.969 kB / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.051e-06/0.003221, allocations: 384 / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.19e-06/0.003226, allocations: 384 / 0.7772 GB, free: 3.301 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.187e-05/0.003248, allocations: 8.469 kB / 0.7772 GB, free: 3.293 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001812/0.003429, allocations: 141.2 kB / 0.7774 GB, free: 3.141 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 3.967e-05/0.003469, allocations: 34.59 kB / 0.7774 GB, free: 3.098 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.399e-05/0.003483, allocations: 10.33 kB / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.291e-05/0.003495, allocations: 64 / 0.7774 GB, free: 3.086 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.003515, allocations: 40 kB / 0.7774 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=2): time 4.91e-07/0.003515, allocations: 0 / 0.7774 GB, free: 3.039 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2): time 9.645e-05/0.003612, allocations: 38.34 kB / 0.7775 GB, free: 2.996 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.729e-05/0.003639, allocations: 55.34 kB / 0.7775 GB, free: 2.93 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.126e-05/0.00369, allocations: 108 kB / 0.7776 GB, free: 2.812 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 9.167e-06/0.003699, allocations: 25.7 kB / 0.7777 GB, free: 2.781 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 2.539e-05/0.003725, allocations: 85.84 kB / 0.7777 GB, free: 2.695 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.409e-05/0.003739, allocations: 3.953 kB / 0.7777 GB, free: 2.691 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.344e-05/0.003762, allocations: 17.7 kB / 0.7778 GB, free: 2.668 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 7.415e-05/0.003836, allocations: 314.8 kB / 0.7781 GB, free: 2.352 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.947e-06/0.003845, allocations: 8.594 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.073e-06/0.003852, allocations: 0.875 kB / 0.7781 GB, free: 2.344 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.205e-05/0.003874, allocations: 17.81 kB / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.943e-06/0.003876, allocations: 0 / 0.7781 GB, free: 2.324 MB / 0.7292 GB Notification: Performance of matching and sorting (n=2) (initialization): time 4.041e-05/0.003917, allocations: 38.44 kB / 0.7781 GB, free: 2.281 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 9.167e-06/0.003926, allocations: 4.875 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.807e-06/0.00393, allocations: 0.6562 kB / 0.7781 GB, free: 2.277 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.331e-05/0.003943, allocations: 4 kB / 0.7781 GB, free: 2.273 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.847e-05/0.004001, allocations: 8.688 kB / 0.7781 GB, free: 2.266 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.647e-06/0.004005, allocations: 4.625 kB / 0.7781 GB, free: 2.262 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.775e-05/0.004023, allocations: 7.984 kB / 0.7781 GB, free: 2.254 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.975e-06/0.004026, allocations: 1.875 kB / 0.7782 GB, free: 2.254 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 4.929e-05/0.004075, allocations: 110.5 kB / 0.7783 GB, free: 2.137 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.185e-05/0.004087, allocations: 4 kB / 0.7783 GB, free: 2.133 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.94e-05/0.004106, allocations: 7.312 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.092e-06/0.004107, allocations: 0.7812 kB / 0.7783 GB, free: 2.129 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.286e-06/0.004111, allocations: 3.938 kB / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.004114, allocations: 0.6875 kB / 0.7783 GB, free: 2.125 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.397e-05/0.004188, allocations: 71.08 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.2e-07/0.004188, allocations: 1.062 kB / 0.7783 GB, free: 2.039 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.998e-05/0.004208, allocations: 12 kB / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.82e-07/0.004209, allocations: 0 / 0.7784 GB, free: 2.027 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.38e-06/0.004215, allocations: 4.797 kB / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.71e-07/0.004215, allocations: 0 / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.8e-07/0.004216, allocations: 0.9375 kB / 0.7784 GB, free: 2.023 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.644e-05/0.004282, allocations: 139.4 kB / 0.7785 GB, free: 1.871 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 6.422e-06/0.004288, allocations: 8.922 kB / 0.7785 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.983e-06/0.004295, allocations: 0 / 0.7785 GB, free: 1.863 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.004325, allocations: 4.844 kB / 0.7785 GB, free: 1.859 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.192e-05/0.004357, allocations: 8.641 kB / 0.7785 GB, free: 1.852 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.886e-06/0.00436, allocations: 4.938 kB / 0.7785 GB, free: 1.848 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 9.888e-06/0.00437, allocations: 8.797 kB / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of sort global known variables: time 6e-08/0.00437, allocations: 0 / 0.7785 GB, free: 1.836 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0001106/0.00448, allocations: 5.031 kB / 0.7785 GB, free: 1.832 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 5.879e-05/0.004539, allocations: 82.16 kB / 0.7786 GB, free: 1.746 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 5.637e-05/0.004595, allocations: 20.8 kB / 0.7786 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 1.483e-06/0.004597, allocations: 0 / 0.7786 GB, free: 1.723 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 2.276e-05/0.00462, allocations: 17.89 kB / 0.7786 GB, free: 1.703 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001181/0.004738, allocations: 14.11 kB / 0.7787 GB, free: 1.691 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001805/0.004918, allocations: 114.2 kB / 0.7788 GB, free: 1.555 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.774e-05/0.004946, allocations: 55.36 kB / 0.7788 GB, free: 1.48 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 1.997e-05/0.004966, allocations: 4.969 kB / 0.7788 GB, free: 1.477 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.081e-05/0.005007, allocations: 52.28 kB / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of SimCode: time 5.81e-07/0.005007, allocations: 0 / 0.7789 GB, free: 1.426 MB / 0.7292 GB Notification: Performance of Templates: time 0.001934/0.006941, allocations: 0.6398 MB / 0.7795 GB, free: 0.8164 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: 5.092770389281213]