Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/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.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8.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_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo): time 1.735/1.735, allocations: 291.7 MB / 306.8 MB, free: 7.668 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.001161/0.001161, allocations: 186.5 kB / 375.4 MB, free: 5.109 MB / 298.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.548/1.548, allocations: 225.7 MB / 0.6538 GB, free: 13.59 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.000863/0.000863, allocations: 94.33 kB / 0.7698 GB, free: 50.33 MB / 0.5417 GB Notification: Performance of FrontEnd - loaded program: time 0.0004576/0.0004577, allocations: 19.06 kB / 0.8956 GB, free: 11.87 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8087/0.8092, allocations: 118.1 MB / 1.011 GB, free: 57.74 MB / 0.7136 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger): time 0.0009672/0.8102, allocations: 348 kB / 1.011 GB, free: 57.73 MB / 0.7136 GB Notification: Performance of NFInst.instExpressions: time 0.0009881/0.8112, allocations: 0.8133 MB / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.212e-05/0.8112, allocations: 2.344 kB / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeComponents: time 1.865e-05/0.8113, allocations: 0 / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeBindings: time 7.019e-05/0.8113, allocations: 6.891 kB / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001283/0.8115, allocations: 11.48 kB / 1.012 GB, free: 57.7 MB / 0.7136 GB Notification: Performance of NFFlatten.flatten: time 6.46e-05/0.8116, allocations: 25.22 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001145/0.8117, allocations: 7.734 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFEvalConstants.evaluate: time 5.842e-05/0.8117, allocations: 7.688 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFSimplifyModel.simplify: time 5.809e-05/0.8118, allocations: 16.06 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFPackage.collectConstants: time 2.002e-05/0.8118, allocations: 3.594 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFFlatten.collectFunctions: time 1.069e-05/0.8118, allocations: 0 / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFScalarize.scalarize: time 1.418e-05/0.8119, allocations: 2.219 kB / 1.012 GB, free: 57.69 MB / 0.7136 GB Notification: Performance of NFVerifyModel.verify: time 2.495e-05/0.8119, allocations: 32.95 kB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 6.078e-05/0.812, allocations: 13.05 kB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.812, allocations: 1.188 kB / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of FrontEnd: time 1.703e-06/0.812, allocations: 0 / 1.012 GB, free: 57.66 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 3.627e-06/0.812, allocations: 0 / 1.012 GB, free: 57.66 MB / 0.7136 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.0004253/0.8124, allocations: 341.7 kB / 1.012 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 4.04e-05/0.8125, allocations: 8.625 kB / 1.012 GB, free: 57.31 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.205e-05/0.8125, allocations: 9.312 kB / 1.013 GB, free: 57.3 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.913e-05/0.8126, allocations: 163.2 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.522e-05/0.8127, allocations: 3.812 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.505e-05/0.8127, allocations: 3.125 kB / 1.013 GB, free: 57.11 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.8129, allocations: 57.47 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.8129, allocations: 4.156 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.229e-05/0.8129, allocations: 4.922 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.8129, allocations: 4.562 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001738/0.8131, allocations: 46.23 kB / 1.013 GB, free: 57.07 MB / 0.7136 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003211/0.8134, allocations: 249.7 kB / 1.013 GB, free: 56.81 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001322/0.8136, allocations: 55.44 kB / 1.013 GB, free: 56.78 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.91e-05/0.8137, allocations: 30.78 kB / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 1.724e-05/0.8137, allocations: 0 / 1.013 GB, free: 56.77 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.8137, allocations: 35.55 kB / 1.013 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=2): time 1.463e-06/0.8137, allocations: 1.453 kB / 1.013 GB, free: 56.73 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2): time 0.0003642/0.8141, allocations: 107 kB / 1.013 GB, free: 56.7 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.499e-05/0.8141, allocations: 51.41 kB / 1.013 GB, free: 56.63 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.043e-05/0.8142, allocations: 104.7 kB / 1.013 GB, free: 56.53 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 1.02e-05/0.8142, allocations: 25.7 kB / 1.013 GB, free: 56.5 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 2.748e-05/0.8142, allocations: 85.27 kB / 1.013 GB, free: 56.42 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 1.556e-05/0.8143, allocations: 8.578 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.316e-06/0.8143, allocations: 0.625 kB / 1.013 GB, free: 56.41 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 6.139e-05/0.8143, allocations: 314.6 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.117e-05/0.8144, allocations: 24.19 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.751e-05/0.8145, allocations: 26.77 kB / 1.014 GB, free: 56.1 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001534/0.8147, allocations: 50 kB / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.483e-06/0.8147, allocations: 0 / 1.014 GB, free: 56.09 MB / 0.7136 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001917/0.8149, allocations: 91.22 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.278e-05/0.8149, allocations: 8.406 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.8149, allocations: 0.5625 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.577e-05/0.8149, allocations: 0 / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001076/0.815, allocations: 16.91 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.823e-06/0.8151, allocations: 0 / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.33e-05/0.8151, allocations: 7.75 kB / 1.014 GB, free: 56.05 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.202e-06/0.8151, allocations: 2.875 kB / 1.014 GB, free: 56.05 MB / 0.7136 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 6.126e-05/0.8152, allocations: 116.6 kB / 1.014 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.309e-05/0.8152, allocations: 6.594 kB / 1.014 GB, free: 55.93 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.055e-05/0.8153, allocations: 8.797 kB / 1.014 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.8153, allocations: 0 / 1.014 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/0.8153, allocations: 0 / 1.014 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.116e-06/0.8153, allocations: 3.109 kB / 1.014 GB, free: 55.92 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001219/0.8154, allocations: 157.5 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.554e-06/0.8154, allocations: 5.281 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.808e-05/0.8155, allocations: 15.28 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.8155, allocations: 0 / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.215e-06/0.8155, allocations: 1.875 kB / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.11e-07/0.8155, allocations: 0 / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.8155, allocations: 0 / 1.014 GB, free: 55.73 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.8158, allocations: 187 kB / 1.014 GB, free: 55.59 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 2.174e-05/0.8158, allocations: 79.83 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.8158, allocations: 0 / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.878e-05/0.8159, allocations: 16.8 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.68e-05/0.816, allocations: 6.312 kB / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.406e-06/0.816, allocations: 0 / 1.015 GB, free: 55.5 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 2.505e-05/0.816, allocations: 81.88 kB / 1.015 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.2e-07/0.816, allocations: 2.5 kB / 1.015 GB, free: 55.42 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0001888/0.8162, allocations: 8.656 kB / 1.015 GB, free: 55.42 MB / 0.7136 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.0001019/0.8163, allocations: 104.8 kB / 1.015 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.0002226/0.8166, allocations: 49.14 kB / 1.015 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.8166, allocations: 0 / 1.015 GB, free: 55.33 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 9.613e-05/0.8167, allocations: 36.56 kB / 1.015 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002695/0.8169, allocations: 7.438 kB / 1.015 GB, free: 55.32 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002828/0.8172, allocations: 113.9 kB / 1.015 GB, free: 55.21 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001184/0.8174, allocations: 0.6766 MB / 1.016 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 3.787e-05/0.8174, allocations: 5.25 kB / 1.016 GB, free: 54.52 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.629e-05/0.8174, allocations: 7.438 kB / 1.016 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of SimCode: time 2.2e-07/0.8174, allocations: 0 / 1.016 GB, free: 54.51 MB / 0.7136 GB Notification: Performance of Templates: time 0.002354/0.8198, allocations: 0.4943 MB / 1.016 GB, free: 54.5 MB / 0.7136 GB make -j1 -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.makefile (rm -f Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; mkfifo Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe >> ../files/Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.sim & ./Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.RealToInteger.pipe 2>&1)