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.Logical.Validation.OnOffController.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.Logical.Validation.OnOffController,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.OnOffController") Notification: Performance of loadModel(Buildings): time 4.475/4.475, allocations: 432.7 MB / 445.3 MB, free: 15.67 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.541e-05/5.554e-05, allocations: 5.797 kB / 0.5383 GB, free: 10.33 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.194/0.1941, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1938/0.388, allocations: 124.5 MB / 0.7563 GB, free: 5.27 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002452/0.3883, allocations: 71.95 kB / 0.7563 GB, free: 5.199 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003697/0.392, allocations: 0.9659 MB / 0.7573 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.303e-06/0.392, allocations: 0 / 0.7573 GB, free: 4.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.296e-05/0.392, allocations: 0 / 0.7573 GB, free: 4.23 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.0005435/0.3926, allocations: 370.4 kB / 0.7576 GB, free: 3.824 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.288e-05/0.3926, allocations: 8.031 kB / 0.7576 GB, free: 3.816 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.677e-05/0.3927, allocations: 7.906 kB / 0.7577 GB, free: 3.809 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001507/0.3929, allocations: 171 kB / 0.7578 GB, free: 3.602 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.521e-05/0.3929, allocations: 4 kB / 0.7578 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.3929, allocations: 0 / 0.7578 GB, free: 3.598 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001511/0.3931, allocations: 57.61 kB / 0.7579 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.389e-06/0.3931, allocations: 0 / 0.7579 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.3931, allocations: 4 kB / 0.7579 GB, free: 3.531 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.829e-06/0.3931, allocations: 8 kB / 0.7579 GB, free: 3.523 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.579e-05/0.3932, allocations: 16 kB / 0.7579 GB, free: 3.508 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006124/0.3939, allocations: 304.7 kB / 0.7582 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002284/0.3941, allocations: 42.52 kB / 0.7582 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.048e-05/0.3942, allocations: 16.91 kB / 0.7583 GB, free: 3.09 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.213e-05/0.3942, allocations: 4 kB / 0.7583 GB, free: 3.086 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.916e-05/0.3942, allocations: 34.64 kB / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=3): time 2.477e-06/0.3943, allocations: 0 / 0.7583 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of matching and sorting (n=3): time 0.0001867/0.3945, allocations: 53.59 kB / 0.7583 GB, free: 2.984 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.045e-05/0.3945, allocations: 55.41 kB / 0.7584 GB, free: 2.918 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001063/0.3946, allocations: 108.9 kB / 0.7585 GB, free: 2.805 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.502e-05/0.3947, allocations: 25.7 kB / 0.7585 GB, free: 2.773 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.057e-05/0.3947, allocations: 88.14 kB / 0.7586 GB, free: 2.684 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.972e-05/0.3948, allocations: 15.83 kB / 0.7586 GB, free: 2.668 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.632e-06/0.3948, allocations: 3.938 kB / 0.7586 GB, free: 2.664 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001521/0.3949, allocations: 310.8 kB / 0.7589 GB, free: 2.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.96e-05/0.395, allocations: 12 kB / 0.7589 GB, free: 2.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.525e-05/0.395, allocations: 8 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.62e-05/0.3951, allocations: 12 kB / 0.7589 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.369e-06/0.3951, allocations: 4 kB / 0.759 GB, free: 2.316 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001405/0.3953, allocations: 53.59 kB / 0.759 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.3953, allocations: 9.656 kB / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.631e-06/0.3953, allocations: 0 / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.3953, allocations: 0 / 0.759 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001128/0.3954, allocations: 11.98 kB / 0.759 GB, free: 2.238 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.3955, allocations: 3.953 kB / 0.759 GB, free: 2.234 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.3956, allocations: 31.97 kB / 0.7591 GB, free: 2.203 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.086e-06/0.3956, allocations: 0 / 0.7591 GB, free: 2.203 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 ($PRE.onOffController.y,onOffController.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 9.192e-05/0.3957, allocations: 106.9 kB / 0.7592 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.174e-05/0.3958, allocations: 3.906 kB / 0.7592 GB, free: 2.09 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001645/0.396, allocations: 53.72 kB / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.781e-06/0.396, allocations: 0 / 0.7592 GB, free: 2.031 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.611e-06/0.396, allocations: 8 kB / 0.7592 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.22e-06/0.396, allocations: 15.88 kB / 0.7592 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002393/0.3963, allocations: 169.7 kB / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.141e-06/0.3963, allocations: 0 / 0.7594 GB, free: 1.793 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.525e-05/0.3964, allocations: 11.98 kB / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.532e-06/0.3964, allocations: 0 / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.842e-06/0.3964, allocations: 0 / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.484e-06/0.3964, allocations: 0 / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.075e-06/0.3965, allocations: 0 / 0.7594 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001861/0.3967, allocations: 151.5 kB / 0.7596 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.837e-05/0.3967, allocations: 81.3 kB / 0.7596 GB, free: 1.52 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.384e-05/0.3968, allocations: 4 kB / 0.7596 GB, free: 1.516 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000181/0.3969, allocations: 23.97 kB / 0.7597 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.842e-05/0.397, allocations: 7.984 kB / 0.7597 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.599e-06/0.397, allocations: 7.984 kB / 0.7597 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.016e-05/0.3971, allocations: 95.53 kB / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.12e-07/0.3971, allocations: 0 / 0.7598 GB, free: 1.383 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003122/0.3975, allocations: 8 kB / 0.7598 GB, free: 1.375 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 (onOffController.y) * Number of discrete states: 1 (onOffController.y) * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0001524/0.3976, allocations: 107.1 kB / 0.7599 GB, free: 1.258 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001375/0.3978, allocations: 27.98 kB / 0.7599 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.728e-06/0.3978, allocations: 0 / 0.7599 GB, free: 1.23 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.157e-05/0.3979, allocations: 12 kB / 0.7599 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002475/0.3981, allocations: 12 kB / 0.7599 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002636/0.3984, allocations: 68.86 kB / 0.76 GB, free: 1.117 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003602/0.3988, allocations: 0.6887 MB / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.173e-05/0.3988, allocations: 256 / 0.7607 GB, free: 412 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.076e-05/0.3989, allocations: 11.44 kB / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of SimCode: time 1.513e-06/0.3989, allocations: 0 / 0.7607 GB, free: 400 kB / 0.6355 GB Notification: Performance of Templates: time 0.003413/0.4023, allocations: 0.6306 MB / 0.7613 GB, free: 15.77 MB / 0.6511 GB