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.OnCounter.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.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 Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004215/0.004219, allocations: 233.1 kB / 15.82 MB, free: 6.297 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001163/0.001163, allocations: 178.2 kB / 16.71 MB, free: 5.453 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.165/4.165, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.087/4.087, allocations: 472.3 MB / 0.9024 GB, free: 9.199 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005021/0.0005024, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1786/0.1791, allocations: 98.72 MB / 1.105 GB, free: 42.03 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7536/0.9328, allocations: 124.4 MB / 1.226 GB, free: 28.52 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002624/0.9331, allocations: 70.52 kB / 1.226 GB, free: 28.49 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003492/0.9366, allocations: 0.9131 MB / 1.227 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of FrontEnd: time 3.306e-06/0.9367, allocations: 1.547 kB / 1.227 GB, free: 27.87 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.9367, allocations: 5.375 kB / 1.227 GB, free: 27.86 MB / 0.6198 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.0005429/0.9373, allocations: 371.5 kB / 1.227 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.793e-05/0.9373, allocations: 8.031 kB / 1.227 GB, free: 27.48 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.9374, allocations: 14.33 kB / 1.227 GB, free: 27.47 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001193/0.9375, allocations: 171.3 kB / 1.228 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.102e-05/0.9375, allocations: 0 / 1.228 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.102e-05/0.9376, allocations: 4 kB / 1.228 GB, free: 27.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.9377, allocations: 60.69 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.031e-05/0.9377, allocations: 0 / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.481e-05/0.9378, allocations: 3.062 kB / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9378, allocations: 0 / 1.228 GB, free: 27.21 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.412e-05/0.9379, allocations: 22.33 kB / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005538/0.9384, allocations: 299.8 kB / 1.228 GB, free: 26.91 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001332/0.9386, allocations: 51.09 kB / 1.228 GB, free: 26.86 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.386e-05/0.9386, allocations: 22.06 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.9387, allocations: 0.6562 kB / 1.228 GB, free: 26.85 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002088/0.9389, allocations: 78.77 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 2.164e-06/0.9389, allocations: 3.562 kB / 1.228 GB, free: 26.78 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0003124/0.9392, allocations: 109.9 kB / 1.228 GB, free: 26.7 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.286e-05/0.9393, allocations: 59.97 kB / 1.228 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001111/0.9394, allocations: 122.4 kB / 1.228 GB, free: 26.51 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.792e-05/0.9394, allocations: 29.2 kB / 1.228 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.293e-05/0.9395, allocations: 88.69 kB / 1.229 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.641e-05/0.9395, allocations: 24.03 kB / 1.229 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.053e-06/0.9396, allocations: 0 / 1.229 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001379/0.9397, allocations: 319.5 kB / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.244e-05/0.9398, allocations: 20.84 kB / 1.229 GB, free: 26.05 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.436e-05/0.9399, allocations: 46.58 kB / 1.229 GB, free: 26 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.3e-05/0.94, allocations: 22.81 kB / 1.229 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.097e-06/0.94, allocations: 0 / 1.229 GB, free: 25.99 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001985/0.9402, allocations: 100.9 kB / 1.229 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.797e-05/0.9402, allocations: 8 kB / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.783e-06/0.9402, allocations: 0 / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.737e-05/0.9402, allocations: 5.875 kB / 1.229 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.456e-05/0.9403, allocations: 5.312 kB / 1.229 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.088e-05/0.9404, allocations: 13.25 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001588/0.9405, allocations: 18.94 kB / 1.229 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.218e-05/0.9406, allocations: 5.359 kB / 1.229 GB, free: 25.87 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition4,$whenCondition3,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition2,onCounter.reset,$PRE.reset.pulseStart,reset.pulseStart) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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 0.0001143/0.9407, allocations: 121.7 kB / 1.229 GB, free: 25.75 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.9407, allocations: 5.359 kB / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.919e-05/0.9408, allocations: 14.8 kB / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.957e-06/0.9408, allocations: 0 / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.191e-06/0.9408, allocations: 0 / 1.229 GB, free: 25.74 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.9408, allocations: 7.047 kB / 1.229 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006551/0.9415, allocations: 391 kB / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.9415, allocations: 3.828 kB / 1.23 GB, free: 25.37 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.649e-05/0.9415, allocations: 3.938 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.978e-06/0.9415, allocations: 0 / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.9415, allocations: 9.125 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.346e-06/0.9416, allocations: 1.688 kB / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.9416, allocations: 0 / 1.23 GB, free: 25.36 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007803/0.9424, allocations: 188.6 kB / 1.23 GB, free: 41.18 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 3.578e-05/0.9424, allocations: 86.19 kB / 1.23 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.781e-05/0.9424, allocations: 0.5156 kB / 1.23 GB, free: 41.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001854/0.9426, allocations: 24.23 kB / 1.23 GB, free: 41.07 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.208e-05/0.9427, allocations: 8.547 kB / 1.23 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.525e-05/0.9427, allocations: 0.7969 kB / 1.23 GB, free: 41.06 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.71e-05/0.9428, allocations: 98.59 kB / 1.23 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.91e-07/0.9428, allocations: 0 / 1.23 GB, free: 40.98 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003378/0.9432, allocations: 16 kB / 1.23 GB, free: 40.96 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: 9 (booPul.y,onCounter.reset,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,onCounter.y,booPul.pulseStart,reset.pulseStart) * Number of discrete states: 1 (onCounter.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0001284/0.9433, allocations: 109.9 kB / 1.23 GB, free: 40.86 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001864/0.9435, allocations: 53.22 kB / 1.23 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.244e-06/0.9435, allocations: 0 / 1.23 GB, free: 40.82 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.599e-05/0.9436, allocations: 31.7 kB / 1.23 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004548/0.9441, allocations: 15.19 kB / 1.23 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004572/0.9446, allocations: 194.1 kB / 1.23 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.9449, allocations: 0.6904 MB / 1.231 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.727e-05/0.9449, allocations: 4.672 kB / 1.231 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.099e-05/0.945, allocations: 19.64 kB / 1.231 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of SimCode: time 1.353e-06/0.945, allocations: 0 / 1.231 GB, free: 39.89 MB / 0.6355 GB Notification: Performance of Templates: time 0.00419/0.9492, allocations: 0.8877 MB / 1.232 GB, free: 39.44 MB / 0.6355 GB