Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_latest_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_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 1.925/1.925, allocations: 306.1 MB / 321.4 MB, free: 10.7 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001445/0.001445, allocations: 171.5 kB / 393.1 MB, free: 4.078 MB / 314.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.652/1.652, allocations: 225.7 MB / 0.6743 GB, free: 12.58 MB / 0.4948 GB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008346/0.0008347, allocations: 98.8 kB / 0.7935 GB, free: 40.02 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0003819/0.0003819, allocations: 8 kB / 0.9224 GB, free: 8.621 MB / 0.6355 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6884/0.6888, allocations: 121.3 MB / 1.041 GB, free: 58.36 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009482/0.6898, allocations: 358.6 kB / 1.041 GB, free: 58.17 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.0008633/0.6907, allocations: 0.8078 MB / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.939e-05/0.6907, allocations: 0 / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.714e-05/0.6908, allocations: 1 kB / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 6.502e-05/0.6908, allocations: 6.156 kB / 1.042 GB, free: 57.56 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001269/0.691, allocations: 17.16 kB / 1.042 GB, free: 57.55 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 6.334e-05/0.6911, allocations: 22.06 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 9.974e-05/0.6912, allocations: 9.031 kB / 1.042 GB, free: 57.54 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 6.517e-05/0.6912, allocations: 12.5 kB / 1.042 GB, free: 57.53 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 5.272e-05/0.6913, allocations: 18.14 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 1.451e-05/0.6913, allocations: 0.625 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.417e-06/0.6913, allocations: 1.219 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 1.665e-05/0.6914, allocations: 5.438 kB / 1.042 GB, free: 57.52 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 4.736e-05/0.6914, allocations: 37.59 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.219e-05/0.6915, allocations: 16.31 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 5.18e-06/0.6915, allocations: 1.781 kB / 1.042 GB, free: 57.48 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.302e-06/0.6916, allocations: 3.938 kB / 1.042 GB, free: 57.47 MB / 0.698 GB Notification: Performance of Transformations before backend: time 7.074e-06/0.6916, allocations: 1 kB / 1.042 GB, free: 57.47 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.0003915/0.692, allocations: 342.7 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.684e-05/0.692, allocations: 9.781 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.35e-05/0.6921, allocations: 4.031 kB / 1.042 GB, free: 57.11 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.799e-05/0.6922, allocations: 163.5 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.6922, allocations: 3.781 kB / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.324e-05/0.6922, allocations: 384 / 1.043 GB, free: 56.92 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001848/0.6924, allocations: 56.61 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.6924, allocations: 1.281 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.168e-05/0.6924, allocations: 7.938 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.773e-06/0.6924, allocations: 3.719 kB / 1.043 GB, free: 56.88 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001803/0.6926, allocations: 50.38 kB / 1.043 GB, free: 56.87 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000294/0.6929, allocations: 255.4 kB / 1.043 GB, free: 56.59 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.6931, allocations: 47.89 kB / 1.043 GB, free: 56.56 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.447e-05/0.6932, allocations: 31.5 kB / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.599e-05/0.6932, allocations: 0 / 1.043 GB, free: 56.55 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.007e-05/0.6932, allocations: 40.19 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 8.22e-07/0.6932, allocations: 1.812 kB / 1.043 GB, free: 56.5 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.0003665/0.6936, allocations: 97.33 kB / 1.043 GB, free: 56.46 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.717e-05/0.6936, allocations: 52.78 kB / 1.043 GB, free: 56.4 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.941e-05/0.6937, allocations: 102.4 kB / 1.043 GB, free: 56.3 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.6937, allocations: 26.98 kB / 1.043 GB, free: 56.27 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 3.103e-05/0.6938, allocations: 82.27 kB / 1.043 GB, free: 56.19 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.701e-05/0.6938, allocations: 11.84 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.087e-06/0.6938, allocations: 1.938 kB / 1.043 GB, free: 56.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 6.225e-05/0.6939, allocations: 313.8 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.198e-05/0.694, allocations: 24.95 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.393e-05/0.6941, allocations: 22.64 kB / 1.044 GB, free: 55.86 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001621/0.6942, allocations: 58.33 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.6942, allocations: 0.625 kB / 1.044 GB, free: 55.84 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001925/0.6944, allocations: 80.62 kB / 1.044 GB, free: 55.8 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.714e-05/0.6945, allocations: 17.88 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.669e-06/0.6945, allocations: 0 / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.188e-05/0.6945, allocations: 3.938 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001068/0.6946, allocations: 12.3 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.39e-06/0.6946, allocations: 3.938 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.155e-05/0.6947, allocations: 7.766 kB / 1.044 GB, free: 55.79 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.771e-06/0.6947, allocations: 0 / 1.044 GB, free: 55.79 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.69e-05/0.6947, allocations: 120.7 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.271e-05/0.6948, allocations: 7.203 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.58e-05/0.6948, allocations: 3.125 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.6948, allocations: 3.938 kB / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.6948, allocations: 0 / 1.044 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.627e-06/0.6948, allocations: 4 kB / 1.044 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.6949, allocations: 163.5 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.6949, allocations: 0 / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.777e-05/0.695, allocations: 9.125 kB / 1.044 GB, free: 55.46 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.603e-06/0.695, allocations: 4 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.077e-06/0.695, allocations: 3.328 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.032e-06/0.695, allocations: 0 / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.695, allocations: 1.125 kB / 1.044 GB, free: 55.45 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002282/0.6953, allocations: 182.6 kB / 1.044 GB, free: 55.3 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.027e-05/0.6953, allocations: 77.91 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.6953, allocations: 0.5625 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.532e-05/0.6954, allocations: 10.98 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.387e-05/0.6955, allocations: 10.55 kB / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.827e-06/0.6955, allocations: 0 / 1.045 GB, free: 55.21 MB / 0.698 GB Notification: Performance of sorting global known variables: time 2.582e-05/0.6955, allocations: 79.88 kB / 1.045 GB, free: 55.13 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.41e-07/0.6955, allocations: 7.969 kB / 1.045 GB, free: 55.12 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001873/0.6957, allocations: 8.188 kB / 1.045 GB, free: 55.12 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001039/0.6958, allocations: 102.2 kB / 1.045 GB, free: 55.04 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002265/0.6961, allocations: 52.05 kB / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.6961, allocations: 0 / 1.045 GB, free: 55.03 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.589e-05/0.6962, allocations: 26.89 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002614/0.6965, allocations: 11.52 kB / 1.045 GB, free: 55.02 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002742/0.6967, allocations: 115.4 kB / 1.045 GB, free: 54.91 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001032/0.6969, allocations: 0.6792 MB / 1.046 GB, free: 54.21 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.319e-05/0.6969, allocations: 6.125 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.733e-05/0.6969, allocations: 8.625 kB / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of SimCode: time 3.61e-07/0.6969, allocations: 0 / 1.046 GB, free: 54.2 MB / 0.698 GB Notification: Performance of Templates: time 0.002353/0.6993, allocations: 0.5015 MB / 1.046 GB, free: 54.14 MB / 0.698 GB make -j1 -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_latest_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)