Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Integers.Validation.GreaterThreshold,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Integers_Validation_GreaterThreshold",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.957/3.957, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.43e-05/3.441e-05, allocations: 5.531 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.2026, allocations: 98.73 MB / 0.6347 GB, free: 1.895 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2242/0.4268, allocations: 124.5 MB / 0.7563 GB, free: 5.227 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002575/0.4271, allocations: 71.95 kB / 0.7564 GB, free: 5.156 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004095/0.4312, allocations: 0.9618 MB / 0.7573 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.472e-06/0.4313, allocations: 0 / 0.7573 GB, free: 4.188 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4313, allocations: 0 / 0.7573 GB, free: 4.188 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005302/0.4318, allocations: 356 kB / 0.7577 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.081e-05/0.4319, allocations: 11.97 kB / 0.7577 GB, free: 3.785 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.78e-05/0.432, allocations: 34.56 kB / 0.7577 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.281e-05/0.432, allocations: 7.906 kB / 0.7577 GB, free: 3.734 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.4322, allocations: 175 kB / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.705e-05/0.4322, allocations: 0 / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.669e-05/0.4322, allocations: 4 kB / 0.7579 GB, free: 3.52 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001563/0.4324, allocations: 53.67 kB / 0.7579 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.4324, allocations: 0 / 0.7579 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.221e-05/0.4324, allocations: 0 / 0.7579 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.076e-06/0.4324, allocations: 4 kB / 0.7579 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001127/0.4326, allocations: 27.92 kB / 0.758 GB, free: 3.43 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005139/0.4331, allocations: 284.8 kB / 0.7582 GB, free: 3.102 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001479/0.4333, allocations: 50.56 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.313e-05/0.4333, allocations: 16.89 kB / 0.7583 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.119e-05/0.4334, allocations: 0 / 0.7583 GB, free: 3.023 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.033e-05/0.4334, allocations: 42.5 kB / 0.7583 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 4.378e-06/0.4334, allocations: 7.984 kB / 0.7583 GB, free: 2.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0002749/0.4337, allocations: 61.69 kB / 0.7584 GB, free: 2.898 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.452e-05/0.4338, allocations: 51.41 kB / 0.7585 GB, free: 2.836 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.839e-05/0.4339, allocations: 109 kB / 0.7586 GB, free: 2.723 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 1.97e-05/0.4339, allocations: 25.7 kB / 0.7586 GB, free: 2.691 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.724e-05/0.434, allocations: 88.08 kB / 0.7587 GB, free: 2.602 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.604e-05/0.434, allocations: 15.75 kB / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.244e-06/0.434, allocations: 0 / 0.7587 GB, free: 2.586 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001185/0.4342, allocations: 322.8 kB / 0.759 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.918e-05/0.4342, allocations: 12 kB / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.381e-05/0.4343, allocations: 8 kB / 0.759 GB, free: 2.242 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.289e-05/0.4343, allocations: 15.94 kB / 0.759 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.691e-06/0.4344, allocations: 7.922 kB / 0.759 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001722/0.4345, allocations: 57.69 kB / 0.7591 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.726e-05/0.4346, allocations: 4 kB / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.451e-06/0.4346, allocations: 0 / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.415e-05/0.4346, allocations: 0 / 0.7591 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002086/0.4348, allocations: 19.98 kB / 0.7591 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.025e-05/0.4348, allocations: 3.953 kB / 0.7591 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001409/0.435, allocations: 15.98 kB / 0.7591 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.107e-05/0.435, allocations: 0 / 0.7591 GB, free: 2.113 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * 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.694e-05/0.4351, allocations: 101 kB / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.55e-05/0.4352, allocations: 7.906 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.083e-05/0.4352, allocations: 8.031 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.4352, allocations: 0 / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.552e-06/0.4352, allocations: 8 kB / 0.7592 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.602e-06/0.4352, allocations: 7.938 kB / 0.7593 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000221/0.4355, allocations: 169.7 kB / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.418e-06/0.4355, allocations: 0 / 0.7594 GB, free: 1.762 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001596/0.4357, allocations: 19.92 kB / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.005e-06/0.4357, allocations: 0 / 0.7594 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.682e-05/0.4357, allocations: 4 kB / 0.7594 GB, free: 1.738 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.168e-06/0.4357, allocations: 3.984 kB / 0.7594 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.764e-06/0.4357, allocations: 0 / 0.7594 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002053/0.4359, allocations: 155.5 kB / 0.7596 GB, free: 1.566 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.751e-05/0.436, allocations: 85.02 kB / 0.7597 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.083e-05/0.436, allocations: 0 / 0.7597 GB, free: 1.465 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001765/0.4362, allocations: 19.92 kB / 0.7597 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.488e-05/0.4363, allocations: 7.984 kB / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.787e-06/0.4363, allocations: 0 / 0.7597 GB, free: 1.438 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.106e-05/0.4364, allocations: 91.27 kB / 0.7598 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.41e-07/0.4364, allocations: 4 kB / 0.7598 GB, free: 1.344 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002872/0.4367, allocations: 12 kB / 0.7598 GB, free: 1.332 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 (intGreThr.u,intGreThr.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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.000533/0.4372, allocations: 0.7066 MB / 0.7605 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000155/0.4374, allocations: 28 kB / 0.7605 GB, free: 0.5703 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.4374, allocations: 4 kB / 0.7605 GB, free: 0.5664 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.4375, allocations: 23.92 kB / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002283/0.4378, allocations: 0 / 0.7605 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000492/0.4383, allocations: 118.5 kB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002737/0.4386, allocations: 0.6887 MB / 0.7613 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 7.342e-05/0.4387, allocations: 8.25 kB / 0.7613 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.851e-05/0.4387, allocations: 15.44 kB / 0.7614 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/0.4388, allocations: 0 / 0.7614 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01901/0.4578, allocations: 1.522 MB / 0.7628 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002345/0.4581, allocations: 168.2 kB / 0.763 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.279/2.737, allocations: 0 / 0.763 GB, free: 13.99 MB / 0.6511 GB