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.Integers.Validation.OnCounter.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/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 loadModel(Buildings): time 3.805/3.805, allocations: 433.3 MB / 440.9 MB, free: 10.39 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.834e-05/1.84e-05, allocations: 4 kB / 0.5325 GB, free: 1.855 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5183/0.5183, allocations: 98.72 MB / 0.6289 GB, free: 15.62 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2708/0.7892, allocations: 123.7 MB / 0.7497 GB, free: 3.801 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000235/0.7895, allocations: 71.95 kB / 0.7498 GB, free: 3.73 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003295/0.7928, allocations: 0.9124 MB / 0.7507 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.362e-06/0.7928, allocations: 0 / 0.7507 GB, free: 2.816 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.956e-06/0.7928, allocations: 4 kB / 0.7507 GB, free: 2.812 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.0005053/0.7933, allocations: 354.5 kB / 0.751 GB, free: 2.422 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.076e-05/0.7934, allocations: 12.03 kB / 0.751 GB, free: 2.41 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.093e-05/0.7934, allocations: 7.906 kB / 0.751 GB, free: 2.402 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001724/0.7936, allocations: 178.9 kB / 0.7512 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.863e-05/0.7937, allocations: 0 / 0.7512 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.7937, allocations: 8 kB / 0.7512 GB, free: 2.18 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.258e-05/0.7938, allocations: 15.98 kB / 0.7512 GB, free: 2.164 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000123/0.7939, allocations: 49.69 kB / 0.7513 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.514e-06/0.794, allocations: 0 / 0.7513 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.116e-05/0.794, allocations: 0 / 0.7513 GB, free: 2.109 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.016e-05/0.794, allocations: 4 kB / 0.7513 GB, free: 2.105 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005355/0.7945, allocations: 277.2 kB / 0.7515 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000127/0.7947, allocations: 46.56 kB / 0.7516 GB, free: 1.742 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.084e-05/0.7947, allocations: 16.98 kB / 0.7516 GB, free: 1.723 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.168e-05/0.7948, allocations: 3.938 kB / 0.7516 GB, free: 1.719 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001789/0.795, allocations: 75.45 kB / 0.7517 GB, free: 1.633 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=9): time 5.131e-06/0.795, allocations: 4 kB / 0.7517 GB, free: 1.629 MB / 0.6198 GB Notification: Performance of matching and sorting (n=9): time 0.0002572/0.7952, allocations: 89.52 kB / 0.7517 GB, free: 1.535 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.7953, allocations: 51.41 kB / 0.7518 GB, free: 1.473 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001173/0.7954, allocations: 117 kB / 0.7519 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 3.03e-05/0.7955, allocations: 25.7 kB / 0.7519 GB, free: 1.32 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.56e-05/0.7956, allocations: 88.14 kB / 0.752 GB, free: 1.23 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.264e-05/0.7956, allocations: 15.81 kB / 0.752 GB, free: 1.215 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.153e-06/0.7956, allocations: 3.938 kB / 0.752 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7958, allocations: 322.8 kB / 0.7523 GB, free: 0.8867 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.652e-05/0.7959, allocations: 12 kB / 0.7524 GB, free: 0.875 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.089e-05/0.7959, allocations: 44.3 kB / 0.7524 GB, free: 0.8164 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.664e-05/0.796, allocations: 19.98 kB / 0.7524 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.804e-06/0.796, allocations: 0 / 0.7524 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002044/0.7962, allocations: 85.52 kB / 0.7525 GB, free: 0.707 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 2.137e-05/0.7963, allocations: 8 kB / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.564e-06/0.7963, allocations: 0 / 0.7525 GB, free: 0.6992 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.944e-05/0.7963, allocations: 4 kB / 0.7525 GB, free: 0.6953 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.74e-05/0.7964, allocations: 11.94 kB / 0.7525 GB, free: 0.6836 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.767e-06/0.7964, allocations: 4 kB / 0.7525 GB, free: 0.6797 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001326/0.7966, allocations: 19.84 kB / 0.7525 GB, free: 0.6602 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.37e-05/0.7966, allocations: 8.094 kB / 0.7526 GB, free: 0.6523 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 () * 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.0001058/0.7967, allocations: 108.9 kB / 0.7527 GB, free: 0.5391 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.296e-05/0.7967, allocations: 7.984 kB / 0.7527 GB, free: 0.5312 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.95e-05/0.7968, allocations: 12.7 kB / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.808e-06/0.7968, allocations: 3.938 kB / 0.7527 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.023e-06/0.7968, allocations: 4 kB / 0.7527 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.59e-06/0.7968, allocations: 0 / 0.7527 GB, free: 0.5117 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006307/0.7975, allocations: 362.9 kB / 0.753 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.918e-06/0.7975, allocations: 0 / 0.753 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.219e-05/0.7975, allocations: 0 / 0.753 GB, free: 116 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.265e-06/0.7975, allocations: 4 kB / 0.753 GB, free: 112 kB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.321e-05/0.7976, allocations: 4 kB / 0.753 GB, free: 108 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.44e-06/0.7976, allocations: 0 / 0.753 GB, free: 108 kB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.462e-06/0.7976, allocations: 0 / 0.753 GB, free: 108 kB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002689/0.7979, allocations: 191.7 kB / 0.7532 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.944e-05/0.798, allocations: 81.11 kB / 0.7533 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.356e-05/0.798, allocations: 0 / 0.7533 GB, free: 15.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001577/0.7982, allocations: 11.98 kB / 0.7533 GB, free: 15.79 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.971e-05/0.7982, allocations: 15.97 kB / 0.7533 GB, free: 15.78 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.234e-05/0.7982, allocations: 4 kB / 0.7533 GB, free: 15.77 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.248e-05/0.7983, allocations: 95.23 kB / 0.7534 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.88e-07/0.7983, allocations: 0 / 0.7534 GB, free: 15.68 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003228/0.7987, allocations: 12 kB / 0.7534 GB, free: 15.67 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) * 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.0001472/0.7988, allocations: 111.1 kB / 0.7535 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001529/0.799, allocations: 47.94 kB / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.375e-06/0.799, allocations: 0 / 0.7536 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.777e-05/0.7991, allocations: 24.19 kB / 0.7536 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002708/0.7994, allocations: 18.33 kB / 0.7536 GB, free: 15.46 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003375/0.7997, allocations: 108.4 kB / 0.7537 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003814/0.8001, allocations: 0.6932 MB / 0.7544 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.342e-05/0.8002, allocations: 4.672 kB / 0.7544 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.813e-05/0.8002, allocations: 11.44 kB / 0.7544 GB, free: 14.6 MB / 0.6355 GB Notification: Performance of SimCode: time 1.453e-06/0.8003, allocations: 4 kB / 0.7544 GB, free: 14.59 MB / 0.6355 GB Notification: Performance of Templates: time 0.003691/0.804, allocations: 0.8568 MB / 0.7553 GB, free: 13.75 MB / 0.6355 GB