Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Continuous.Validation.GreaterThreshold") Notification: Performance of loadModel(Buildings): time 3.959/3.959, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.462e-05/3.486e-05, allocations: 7.719 kB / 0.5383 GB, free: 10.28 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1727/0.1728, allocations: 98.74 MB / 0.6347 GB, free: 1.859 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1894/0.3622, allocations: 124.2 MB / 0.756 GB, free: 5.523 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002361/0.3625, allocations: 67.95 kB / 0.7561 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.001944/0.3644, allocations: 0.6259 MB / 0.7567 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of FrontEnd: time 6.549e-06/0.3645, allocations: 0 / 0.7567 GB, free: 4.828 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.026e-06/0.3645, allocations: 3.938 kB / 0.7567 GB, free: 4.824 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0004123/0.3649, allocations: 350.4 kB / 0.757 GB, free: 4.438 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.6e-05/0.365, allocations: 8.031 kB / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.091e-05/0.365, allocations: 0 / 0.757 GB, free: 4.43 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000158/0.3652, allocations: 167 kB / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.195e-05/0.3652, allocations: 0 / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.9e-06/0.3652, allocations: 0 / 0.7572 GB, free: 4.227 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001046/0.3653, allocations: 41.69 kB / 0.7572 GB, free: 4.18 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.3654, allocations: 4 kB / 0.7572 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.5e-06/0.3654, allocations: 0 / 0.7572 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.546e-06/0.3654, allocations: 0 / 0.7572 GB, free: 4.176 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.622e-05/0.3655, allocations: 12 kB / 0.7572 GB, free: 4.164 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004678/0.3659, allocations: 272.8 kB / 0.7575 GB, free: 3.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 6.821e-05/0.366, allocations: 22.58 kB / 0.7575 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.074e-05/0.3661, allocations: 16.92 kB / 0.7575 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.181e-05/0.3661, allocations: 0 / 0.7575 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.891e-05/0.3661, allocations: 34.56 kB / 0.7576 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=2): time 3.932e-06/0.3662, allocations: 3.984 kB / 0.7576 GB, free: 3.75 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2): time 0.0001598/0.3663, allocations: 45.55 kB / 0.7576 GB, free: 3.699 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.318e-05/0.3664, allocations: 51.41 kB / 0.7577 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.641e-05/0.3665, allocations: 105 kB / 0.7578 GB, free: 3.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.3665, allocations: 29.7 kB / 0.7578 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.701e-05/0.3666, allocations: 84.08 kB / 0.7579 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.96e-05/0.3666, allocations: 7.906 kB / 0.7579 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.844e-06/0.3666, allocations: 3.938 kB / 0.7579 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001509/0.3668, allocations: 314.8 kB / 0.7582 GB, free: 3.078 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.3668, allocations: 8 kB / 0.7582 GB, free: 3.07 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.14e-05/0.3669, allocations: 4 kB / 0.7582 GB, free: 3.066 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.402e-05/0.3669, allocations: 8.062 kB / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.3669, allocations: 0 / 0.7582 GB, free: 3.059 MB / 0.6355 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001047/0.367, allocations: 45.62 kB / 0.7583 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.818e-05/0.3671, allocations: 8 kB / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.956e-06/0.3671, allocations: 0 / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.156e-05/0.3671, allocations: 0 / 0.7583 GB, free: 3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001138/0.3672, allocations: 11.98 kB / 0.7583 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.679e-06/0.3672, allocations: 0 / 0.7583 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.316e-05/0.3673, allocations: 16.02 kB / 0.7583 GB, free: 2.973 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.56e-06/0.3673, allocations: 3.953 kB / 0.7583 GB, free: 2.969 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: 1 (greThr.y) * Number of discrete 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 8.24e-05/0.3674, allocations: 105 kB / 0.7584 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.108e-05/0.3675, allocations: 4 kB / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.942e-05/0.3675, allocations: 3.125 kB / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.827e-06/0.3675, allocations: 0 / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.08e-06/0.3675, allocations: 0 / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.787e-06/0.3675, allocations: 0 / 0.7584 GB, free: 2.855 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002103/0.3678, allocations: 165.6 kB / 0.7586 GB, free: 2.645 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.978e-06/0.3678, allocations: 4 kB / 0.7586 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.3679, allocations: 4 kB / 0.7586 GB, free: 2.637 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.119e-06/0.3679, allocations: 4 kB / 0.7586 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.044e-06/0.3679, allocations: 0 / 0.7586 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.471e-06/0.3679, allocations: 3.984 kB / 0.7586 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.572e-06/0.3679, allocations: 0 / 0.7586 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001629/0.3681, allocations: 151.4 kB / 0.7587 GB, free: 2.465 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.026e-05/0.3682, allocations: 77.11 kB / 0.7588 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.3682, allocations: 0 / 0.7588 GB, free: 2.371 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001223/0.3683, allocations: 11.98 kB / 0.7588 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.658e-05/0.3684, allocations: 7.984 kB / 0.7588 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.154e-06/0.3684, allocations: 256 / 0.7588 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.906e-05/0.3685, allocations: 87.28 kB / 0.7589 GB, free: 2.266 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.52e-07/0.3685, allocations: 4.031 kB / 0.7589 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0002845/0.3688, allocations: 4 kB / 0.7589 GB, free: 2.258 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: 1 (greThr.y) * Number of discrete 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.0001509/0.3689, allocations: 99.25 kB / 0.759 GB, free: 2.152 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 9.369e-05/0.369, allocations: 19.94 kB / 0.759 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.525e-06/0.369, allocations: 0 / 0.759 GB, free: 2.133 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 4.812e-05/0.3691, allocations: 11.94 kB / 0.759 GB, free: 2.121 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002211/0.3693, allocations: 11.89 kB / 0.759 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002206/0.3696, allocations: 61.11 kB / 0.7591 GB, free: 2.027 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003369/0.3699, allocations: 0.6809 MB / 0.7598 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.856e-05/0.37, allocations: 0 / 0.7598 GB, free: 1.32 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.96e-05/0.37, allocations: 7.438 kB / 0.7598 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of SimCode: time 1.795e-06/0.37, allocations: 0 / 0.7598 GB, free: 1.312 MB / 0.6355 GB Notification: Performance of Templates: time 0.00262/0.3727, allocations: 399.7 kB / 0.7601 GB, free: 0.9219 MB / 0.6355 GB