Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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 8.1.1 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_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_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.702/1.702, allocations: 297.4 MB / 312.6 MB, free: 2.945 MB / 234.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.001033/0.001033, allocations: 189.5 kB / 382.3 MB, free: 14.85 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.66/1.66, allocations: 225.7 MB / 0.6617 GB, free: 7.234 MB / 490.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.0008621/0.0008625, allocations: 96.45 kB / 0.7789 GB, free: 46.83 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004352/0.0004359, allocations: 9.156 kB / 0.9058 GB, free: 4.898 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.9001/0.9006, allocations: 119.2 MB / 1.022 GB, free: 57.97 MB / 0.698 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009877/0.9016, allocations: 348.6 kB / 1.023 GB, free: 57.84 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.001285/0.9029, allocations: 0.8166 MB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.172e-05/0.903, allocations: 0 / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 1.877e-05/0.903, allocations: 0.5 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 8.284e-05/0.9031, allocations: 5.312 kB / 1.023 GB, free: 57.41 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001672/0.9033, allocations: 12.69 kB / 1.023 GB, free: 57.4 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 7.389e-05/0.9034, allocations: 27.2 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001157/0.9035, allocations: 5.219 kB / 1.023 GB, free: 57.39 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 7.212e-05/0.9036, allocations: 14.55 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 6.29e-05/0.9036, allocations: 11.2 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 2.059e-05/0.9037, allocations: 2.344 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 9.888e-06/0.9037, allocations: 1.281 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 2.272e-05/0.9037, allocations: 8.672 kB / 1.023 GB, free: 57.38 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 3.717e-05/0.9038, allocations: 34.66 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 8.606e-05/0.9039, allocations: 25.44 kB / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 6.302e-06/0.9039, allocations: 0 / 1.024 GB, free: 57.34 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.114e-06/0.9039, allocations: 3.938 kB / 1.024 GB, free: 57.33 MB / 0.698 GB Notification: Performance of Transformations before backend: time 4.638e-06/0.9039, allocations: 0 / 1.024 GB, free: 57.33 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.0004384/0.9043, allocations: 340.9 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.555e-05/0.9044, allocations: 10.53 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.839e-05/0.9044, allocations: 2.312 kB / 1.024 GB, free: 56.98 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.634e-05/0.9045, allocations: 164.7 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.68e-05/0.9046, allocations: 384 / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.9046, allocations: 3.656 kB / 1.024 GB, free: 56.78 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001837/0.9048, allocations: 58.12 kB / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.9048, allocations: 3.812 kB / 1.024 GB, free: 56.75 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.9048, allocations: 3.938 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.005e-05/0.9048, allocations: 0.6562 kB / 1.024 GB, free: 56.74 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001876/0.905, allocations: 48.58 kB / 1.024 GB, free: 56.73 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003276/0.9054, allocations: 254.2 kB / 1.024 GB, free: 56.46 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001395/0.9055, allocations: 50.95 kB / 1.024 GB, free: 56.43 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001011/0.9056, allocations: 33.58 kB / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.898e-05/0.9056, allocations: 0 / 1.024 GB, free: 56.41 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.261e-05/0.9057, allocations: 36.81 kB / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.9057, allocations: 0 / 1.025 GB, free: 56.37 MB / 0.698 GB Notification: Performance of matching and sorting (n=2): time 0.000461/0.9061, allocations: 104.6 kB / 1.025 GB, free: 56.33 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.031e-05/0.9062, allocations: 52.11 kB / 1.025 GB, free: 56.27 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.339e-05/0.9063, allocations: 104.8 kB / 1.025 GB, free: 56.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 9.758e-06/0.9063, allocations: 25.7 kB / 1.025 GB, free: 56.13 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 2.971e-05/0.9063, allocations: 81.2 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.875e-05/0.9064, allocations: 5.156 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.107e-06/0.9064, allocations: 2.375 kB / 1.025 GB, free: 56.05 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 5.92e-05/0.9064, allocations: 317.4 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.635e-05/0.9065, allocations: 19.22 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.802e-05/0.9066, allocations: 29.02 kB / 1.025 GB, free: 55.73 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002052/0.9068, allocations: 52.22 kB / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.244e-06/0.9069, allocations: 0.9688 kB / 1.025 GB, free: 55.71 MB / 0.698 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002272/0.9071, allocations: 91.42 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.9071, allocations: 8.781 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.434e-06/0.9071, allocations: 4.828 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.787e-05/0.9072, allocations: 0.5156 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001204/0.9073, allocations: 13.59 kB / 1.025 GB, free: 55.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.742e-06/0.9073, allocations: 3.938 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.834e-05/0.9074, allocations: 13.53 kB / 1.025 GB, free: 55.65 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.9074, allocations: 1.312 kB / 1.025 GB, free: 55.65 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 6.692e-05/0.9074, allocations: 112.5 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.606e-05/0.9075, allocations: 1.906 kB / 1.026 GB, free: 55.53 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.715e-05/0.9075, allocations: 13.14 kB / 1.026 GB, free: 55.52 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.9075, allocations: 3.938 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/0.9075, allocations: 0.5625 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.076e-06/0.9075, allocations: 5.312 kB / 1.026 GB, free: 55.51 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001426/0.9077, allocations: 160.4 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.9077, allocations: 0 / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.602e-05/0.9078, allocations: 12.38 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.679e-06/0.9078, allocations: 1.406 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.789e-06/0.9078, allocations: 1.641 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.513e-06/0.9078, allocations: 0 / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.144e-06/0.9078, allocations: 2.141 kB / 1.026 GB, free: 55.31 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002661/0.9081, allocations: 178.4 kB / 1.026 GB, free: 55.17 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.553e-05/0.9081, allocations: 81.58 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.9081, allocations: 1.359 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.297e-05/0.9082, allocations: 15.58 kB / 1.026 GB, free: 55.07 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.272e-05/0.9083, allocations: 10.98 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.933e-06/0.9083, allocations: 4.25 kB / 1.026 GB, free: 55.06 MB / 0.698 GB Notification: Performance of sorting global known variables: time 3.464e-05/0.9084, allocations: 79.41 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.9084, allocations: 3.938 kB / 1.026 GB, free: 54.98 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0001979/0.9086, allocations: 4.844 kB / 1.026 GB, free: 54.98 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.0001369/0.9087, allocations: 106.6 kB / 1.026 GB, free: 54.89 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002551/0.909, allocations: 57.97 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 2.154e-06/0.909, allocations: 0 / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 9.773e-05/0.9091, allocations: 26.7 kB / 1.026 GB, free: 54.88 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002699/0.9094, allocations: 11.38 kB / 1.026 GB, free: 54.87 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003359/0.9097, allocations: 112.8 kB / 1.026 GB, free: 54.75 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001445/0.9099, allocations: 0.6772 MB / 1.027 GB, free: 54.06 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.269e-05/0.9099, allocations: 6.688 kB / 1.027 GB, free: 54.05 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.841e-05/0.9099, allocations: 12.88 kB / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of SimCode: time 3.51e-07/0.91, allocations: 0 / 1.027 GB, free: 54.04 MB / 0.698 GB Notification: Performance of Templates: time 0.002952/0.9129, allocations: 0.4954 MB / 1.028 GB, free: 54 MB / 0.698 GB make -j1 -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)