Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/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.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_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_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.411/2.411, allocations: 254.9 MB / 269.9 MB, free: 9.637 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.001428/0.001428, allocations: 200.3 kB / 329.5 MB, free: 1.164 MB / 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 2.586/2.586, allocations: 225.6 MB / 0.6001 GB, free: 2.18 MB / 426.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.0009423/0.0009422, allocations: 106.9 kB / 0.7074 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004897, allocations: 12 kB / 0.8242 GB, free: 124.3 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2197/0.2202, allocations: 109.1 MB / 0.9308 GB, free: 25.12 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.00155/0.2218, allocations: 1.037 MB / 0.9318 GB, free: 24.07 MB / 0.5886 GB Notification: Performance of NFInst.instExpressions: time 0.0003723/0.2222, allocations: 135.7 kB / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.2223, allocations: 0 / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeComponents: time 1.524e-05/0.2223, allocations: 0 / 0.9319 GB, free: 23.94 MB / 0.5886 GB Notification: Performance of NFTyping.typeBindings: time 7.562e-05/0.2224, allocations: 3.938 kB / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001378/0.2225, allocations: 8 kB / 0.9319 GB, free: 23.93 MB / 0.5886 GB Notification: Performance of NFFlatten.flatten: time 6.955e-05/0.2226, allocations: 23.92 kB / 0.932 GB, free: 23.9 MB / 0.5886 GB Notification: Performance of NFFlatten.resolveConnections: time 9.782e-05/0.2227, allocations: 15.92 kB / 0.932 GB, free: 23.89 MB / 0.5886 GB Notification: Performance of NFEvalConstants.evaluate: time 5.849e-05/0.2228, allocations: 11.98 kB / 0.932 GB, free: 23.88 MB / 0.5886 GB Notification: Performance of NFSimplifyModel.simplify: time 5.342e-05/0.2229, allocations: 11.92 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFPackage.collectConstants: time 1.698e-05/0.2229, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFFlatten.collectFunctions: time 1.155e-05/0.2229, allocations: 0 / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFScalarize.scalarize: time 1.202e-05/0.2229, allocations: 4 kB / 0.932 GB, free: 23.86 MB / 0.5886 GB Notification: Performance of NFVerifyModel.verify: time 2.222e-05/0.223, allocations: 29.7 kB / 0.932 GB, free: 23.82 MB / 0.5886 GB Notification: Performance of NFConvertDAE.convert: time 5.859e-05/0.223, allocations: 19.89 kB / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 5.229e-06/0.2231, allocations: 0 / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of FrontEnd: time 1.914e-06/0.2231, allocations: 0 / 0.9321 GB, free: 23.8 MB / 0.5886 GB Notification: Performance of Transformations before backend: time 4.589e-06/0.2231, allocations: 0 / 0.9321 GB, free: 23.8 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.0004684/0.2236, allocations: 343.8 kB / 0.9324 GB, free: 23.42 MB / 0.5886 GB Notification: Performance of prepare preOptimizeDAE: time 4.075e-05/0.2236, allocations: 8.031 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.461e-05/0.2236, allocations: 4.938 kB / 0.9324 GB, free: 23.41 MB / 0.5886 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.785e-05/0.2238, allocations: 168.2 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.644e-05/0.2238, allocations: 384 / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.586e-05/0.2238, allocations: 4.312 kB / 0.9326 GB, free: 23.2 MB / 0.5886 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002381/0.2241, allocations: 62.23 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.2241, allocations: 192 / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.267e-05/0.2241, allocations: 3.938 kB / 0.9326 GB, free: 23.13 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.03e-05/0.2241, allocations: 3.984 kB / 0.9326 GB, free: 23.12 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002953/0.2244, allocations: 47.97 kB / 0.9327 GB, free: 23.08 MB / 0.5886 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003851/0.2248, allocations: 253 kB / 0.9329 GB, free: 22.78 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002077/0.2251, allocations: 50.42 kB / 0.933 GB, free: 22.72 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001645/0.2252, allocations: 32.91 kB / 0.933 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 1.685e-05/0.2253, allocations: 0 / 0.933 GB, free: 22.69 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.58e-05/0.2253, allocations: 30.56 kB / 0.933 GB, free: 22.65 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=2): time 1.383e-06/0.2253, allocations: 4 kB / 0.933 GB, free: 22.64 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2): time 0.0005707/0.2259, allocations: 97.64 kB / 0.9331 GB, free: 22.54 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.727e-05/0.2259, allocations: 59.39 kB / 0.9332 GB, free: 22.47 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.38e-05/0.226, allocations: 105.8 kB / 0.9333 GB, free: 22.36 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 1.157e-05/0.226, allocations: 25.7 kB / 0.9333 GB, free: 22.33 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 3.324e-05/0.2261, allocations: 84.27 kB / 0.9334 GB, free: 22.24 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 2.069e-05/0.2261, allocations: 7.906 kB / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.2261, allocations: 0 / 0.9334 GB, free: 22.23 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 6.321e-05/0.2262, allocations: 318.8 kB / 0.9337 GB, free: 21.91 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001468/0.2263, allocations: 23.92 kB / 0.9337 GB, free: 21.89 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001416/0.2265, allocations: 23.98 kB / 0.9337 GB, free: 21.87 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001505/0.2267, allocations: 27.97 kB / 0.9338 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.595e-06/0.2267, allocations: 0 / 0.9338 GB, free: 21.84 MB / 0.5886 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003486/0.227, allocations: 81.66 kB / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of prepare postOptimizeDAE: time 1.931e-05/0.2271, allocations: 8 kB / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.951e-06/0.2271, allocations: 0 / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.027e-05/0.2271, allocations: 0 / 0.9338 GB, free: 21.75 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001589/0.2273, allocations: 11.98 kB / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2273, allocations: 3.938 kB / 0.9339 GB, free: 21.73 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.638e-05/0.2274, allocations: 12.03 kB / 0.9339 GB, free: 21.72 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.907e-06/0.2274, allocations: 0 / 0.9339 GB, free: 21.72 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.499e-05/0.2275, allocations: 117.8 kB / 0.934 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.202e-05/0.2275, allocations: 7.938 kB / 0.934 GB, free: 21.59 MB / 0.5886 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.435e-05/0.2276, allocations: 3.125 kB / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.556e-06/0.2276, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.2276, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.527e-06/0.2276, allocations: 0 / 0.934 GB, free: 21.58 MB / 0.5886 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001624/0.2278, allocations: 161.6 kB / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.354e-06/0.2278, allocations: 0 / 0.9342 GB, free: 21.37 MB / 0.5886 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000115/0.2279, allocations: 20 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.2279, allocations: 3.984 kB / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.788e-06/0.228, allocations: 0 / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.184e-06/0.228, allocations: 0 / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.384e-06/0.228, allocations: 0 / 0.9342 GB, free: 21.35 MB / 0.5886 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003784/0.2284, allocations: 179.4 kB / 0.9343 GB, free: 21.16 MB / 0.5886 GB Notification: Performance of postOpt removeConstants (simulation): time 2.604e-05/0.2284, allocations: 85.05 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.741e-05/0.2284, allocations: 4 kB / 0.9344 GB, free: 21.05 MB / 0.5886 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001298/0.2286, allocations: 11.98 kB / 0.9344 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.607e-05/0.2287, allocations: 3.984 kB / 0.9344 GB, free: 21.04 MB / 0.5886 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.947e-06/0.2287, allocations: 8.031 kB / 0.9345 GB, free: 21.03 MB / 0.5886 GB Notification: Performance of sorting global known variables: time 3.375e-05/0.2287, allocations: 79.28 kB / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2287, allocations: 0 / 0.9345 GB, free: 20.95 MB / 0.5886 GB Notification: Performance of remove unused functions: time 0.0002674/0.229, allocations: 4 kB / 0.9345 GB, free: 20.95 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001202/0.2292, allocations: 103.2 kB / 0.9346 GB, free: 20.84 MB / 0.5886 GB Notification: Performance of simCode: created initialization part: time 0.0003628/0.2295, allocations: 51.95 kB / 0.9347 GB, free: 20.79 MB / 0.5886 GB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.2295, allocations: 3.938 kB / 0.9347 GB, free: 20.78 MB / 0.5886 GB Notification: Performance of simCode: created simulation system equations: time 0.0001631/0.2297, allocations: 27.97 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003534/0.2301, allocations: 7.938 kB / 0.9347 GB, free: 20.75 MB / 0.5886 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000382/0.2305, allocations: 116.8 kB / 0.9348 GB, free: 20.6 MB / 0.5886 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001355/0.2306, allocations: 0.6731 MB / 0.9355 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of simCode: alias equations: time 4.863e-05/0.2307, allocations: 4 kB / 0.9355 GB, free: 19.9 MB / 0.5886 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.956e-05/0.2307, allocations: 15.42 kB / 0.9355 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of SimCode: time 1.153e-06/0.2307, allocations: 0 / 0.9355 GB, free: 19.88 MB / 0.5886 GB Notification: Performance of Templates: time 0.003194/0.234, allocations: 497.5 kB / 0.936 GB, free: 19.4 MB / 0.5886 GB make -j1 -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_7.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)