Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/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 7.0.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_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_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.526/1.526, allocations: 255.9 MB / 271.2 MB, free: 8.906 MB / 218.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.001133/0.001133, allocations: 183.2 kB / 330.8 MB, free: 472 kB / 250.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.726/1.726, allocations: 225.7 MB / 0.6016 GB, free: 15.92 MB / 442.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008847/0.0008845, allocations: 101.5 kB / 0.709 GB, free: 5.371 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0003787/0.0003787, allocations: 11.08 kB / 0.8261 GB, free: 123.7 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2269/0.2273, allocations: 109.2 MB / 0.9328 GB, free: 24.09 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.001372/0.2288, allocations: 1.049 MB / 0.9338 GB, free: 23.03 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0002987/0.2291, allocations: 123.7 kB / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.586e-05/0.2291, allocations: 0 / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.871e-05/0.2292, allocations: 3.938 kB / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.632e-05/0.2292, allocations: 0 / 0.9339 GB, free: 22.91 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001294/0.2294, allocations: 15.98 kB / 0.9339 GB, free: 22.89 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.2294, allocations: 27.88 kB / 0.934 GB, free: 22.86 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.833e-05/0.2295, allocations: 11.98 kB / 0.934 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 6.339e-05/0.2296, allocations: 4 kB / 0.934 GB, free: 22.85 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.347e-05/0.2297, allocations: 19.91 kB / 0.934 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.798e-05/0.2297, allocations: 0 / 0.934 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.101e-05/0.2297, allocations: 0 / 0.934 GB, free: 22.83 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.2297, allocations: 4 kB / 0.934 GB, free: 22.82 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 3.632e-05/0.2298, allocations: 37.62 kB / 0.934 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 7.012e-05/0.2299, allocations: 15.97 kB / 0.934 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 4.187e-06/0.2299, allocations: 0 / 0.934 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2299, allocations: 0 / 0.934 GB, free: 22.77 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.008e-06/0.2299, allocations: 8 kB / 0.934 GB, free: 22.76 MB / 0.5886 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.0003962/0.2303, allocations: 327.9 kB / 0.9344 GB, free: 22.39 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.2303, allocations: 13.11 kB / 0.9344 GB, free: 22.38 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.011e-05/0.2304, allocations: 12.72 kB / 0.9344 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.963e-05/0.2305, allocations: 180.2 kB / 0.9346 GB, free: 22.15 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.175e-05/0.2305, allocations: 4.375 kB / 0.9346 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.066e-05/0.2305, allocations: 384 / 0.9346 GB, free: 22.14 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001949/0.2307, allocations: 58.23 kB / 0.9346 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.2307, allocations: 192 / 0.9346 GB, free: 22.08 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.312e-05/0.2307, allocations: 7.938 kB / 0.9346 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2308, allocations: 0 / 0.9346 GB, free: 22.07 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001786/0.2309, allocations: 47.95 kB / 0.9347 GB, free: 22.03 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003633/0.2313, allocations: 248.9 kB / 0.9349 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001341/0.2315, allocations: 54.48 kB / 0.935 GB, free: 21.67 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.663e-05/0.2316, allocations: 32.89 kB / 0.935 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/0.2316, allocations: 0 / 0.935 GB, free: 21.64 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.923e-05/0.2316, allocations: 30.56 kB / 0.935 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 8.42e-07/0.2316, allocations: 0 / 0.935 GB, free: 21.6 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0003546/0.232, allocations: 105.6 kB / 0.9351 GB, free: 21.49 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.787e-05/0.232, allocations: 55.41 kB / 0.9352 GB, free: 21.42 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.459e-05/0.2321, allocations: 97.84 kB / 0.9353 GB, free: 21.32 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 7.785e-06/0.2321, allocations: 25.7 kB / 0.9353 GB, free: 21.29 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 2.873e-05/0.2321, allocations: 92.27 kB / 0.9354 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 1.7e-05/0.2322, allocations: 3.906 kB / 0.9354 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.2322, allocations: 0 / 0.9354 GB, free: 21.19 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 4.845e-05/0.2322, allocations: 310.8 kB / 0.9357 GB, free: 20.88 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.861e-05/0.2323, allocations: 27.97 kB / 0.9357 GB, free: 20.85 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.941e-05/0.2324, allocations: 27.98 kB / 0.9357 GB, free: 20.82 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001394/0.2325, allocations: 48.81 kB / 0.9358 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.144e-06/0.2325, allocations: 0 / 0.9358 GB, free: 20.77 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001799/0.2327, allocations: 89.59 kB / 0.9359 GB, free: 20.68 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.504e-05/0.2327, allocations: 4 kB / 0.9359 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.891e-06/0.2328, allocations: 0 / 0.9359 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.642e-05/0.2328, allocations: 0 / 0.9359 GB, free: 20.67 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.756e-05/0.2329, allocations: 12.02 kB / 0.9359 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.34e-06/0.2329, allocations: 4 kB / 0.9359 GB, free: 20.66 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.129e-05/0.2329, allocations: 8 kB / 0.9359 GB, free: 20.65 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.711e-06/0.233, allocations: 0 / 0.9359 GB, free: 20.65 MB / 0.5886 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.481e-05/0.233, allocations: 122.4 kB / 0.936 GB, free: 20.52 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.146e-05/0.2331, allocations: 7.844 kB / 0.936 GB, free: 20.51 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.09e-05/0.2331, allocations: 3.125 kB / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.162e-06/0.2331, allocations: 0 / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.328e-06/0.2331, allocations: 4 kB / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.326e-06/0.2331, allocations: 0 / 0.936 GB, free: 20.5 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001201/0.2332, allocations: 165.6 kB / 0.9362 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.21e-07/0.2332, allocations: 3.938 kB / 0.9362 GB, free: 20.29 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.481e-05/0.2333, allocations: 12 kB / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.2333, allocations: 3.984 kB / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.575e-06/0.2333, allocations: 0 / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.152e-06/0.2333, allocations: 0 / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.21e-07/0.2333, allocations: 0 / 0.9362 GB, free: 20.27 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002272/0.2336, allocations: 183.4 kB / 0.9364 GB, free: 20.07 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.319e-05/0.2336, allocations: 81.11 kB / 0.9365 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.33e-05/0.2336, allocations: 0 / 0.9365 GB, free: 19.98 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.342e-05/0.2337, allocations: 16.02 kB / 0.9365 GB, free: 19.96 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.2338, allocations: 7.984 kB / 0.9365 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.707e-06/0.2338, allocations: 0 / 0.9365 GB, free: 19.95 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 2.433e-05/0.2338, allocations: 83.28 kB / 0.9366 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of sort global known variables: time 1.01e-07/0.2338, allocations: 0 / 0.9366 GB, free: 19.87 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0001826/0.234, allocations: 4 kB / 0.9366 GB, free: 19.87 MB / 0.5886 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.000113/0.2341, allocations: 99.25 kB / 0.9367 GB, free: 19.76 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0002077/0.2343, allocations: 55.89 kB / 0.9367 GB, free: 19.71 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.2343, allocations: 4 kB / 0.9367 GB, free: 19.7 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 8.699e-05/0.2344, allocations: 28.05 kB / 0.9367 GB, free: 19.68 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003393/0.2348, allocations: 15.86 kB / 0.9368 GB, free: 19.66 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003234/0.2351, allocations: 118.2 kB / 0.9369 GB, free: 19.52 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001437/0.2353, allocations: 0.6731 MB / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.041e-05/0.2353, allocations: 64 / 0.9375 GB, free: 18.82 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.844e-05/0.2354, allocations: 23.42 kB / 0.9375 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of SimCode: time 2.51e-07/0.2354, allocations: 0 / 0.9375 GB, free: 18.79 MB / 0.5886 GB Notification: Performance of Templates: time 0.00278/0.2382, allocations: 0.509 MB / 0.938 GB, free: 18.29 MB / 0.5886 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)