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/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.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.893/3.893, allocations: 432.7 MB / 445.3 MB, free: 15.64 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.439e-05/3.446e-05, allocations: 5.297 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2303/0.2303, allocations: 98.72 MB / 0.6347 GB, free: 1.887 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.264/0.4944, allocations: 124.3 MB / 0.7561 GB, free: 5.395 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003587/0.4949, allocations: 75.94 kB / 0.7562 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004972/0.4999, allocations: 0.9153 MB / 0.7571 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.702e-06/0.4999, allocations: 0 / 0.7571 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.842e-06/0.5, allocations: 0 / 0.7571 GB, free: 4.402 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.0007161/0.5007, allocations: 362.5 kB / 0.7574 GB, free: 4.004 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.758e-05/0.5008, allocations: 8.031 kB / 0.7575 GB, free: 3.996 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.925e-05/0.5008, allocations: 7.906 kB / 0.7575 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002276/0.5011, allocations: 175 kB / 0.7576 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.587e-05/0.5011, allocations: 0 / 0.7576 GB, free: 3.777 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.756e-05/0.5012, allocations: 7.984 kB / 0.7576 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002116/0.5014, allocations: 57.67 kB / 0.7577 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.268e-05/0.5014, allocations: 0 / 0.7577 GB, free: 3.707 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.149e-05/0.5015, allocations: 4 kB / 0.7577 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.5015, allocations: 0 / 0.7577 GB, free: 3.703 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001313/0.5016, allocations: 23.94 kB / 0.7577 GB, free: 3.68 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008628/0.5025, allocations: 304.7 kB / 0.758 GB, free: 3.332 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002013/0.5028, allocations: 50.52 kB / 0.7581 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.577e-05/0.5029, allocations: 16.98 kB / 0.7581 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.488e-05/0.5029, allocations: 0 / 0.7581 GB, free: 3.254 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002747/0.5032, allocations: 83.31 kB / 0.7582 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.739e-06/0.5032, allocations: 0 / 0.7582 GB, free: 3.16 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003853/0.5036, allocations: 93.52 kB / 0.7582 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.246e-05/0.5037, allocations: 63.36 kB / 0.7583 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001594/0.5039, allocations: 101.4 kB / 0.7584 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.066e-05/0.504, allocations: 29.7 kB / 0.7584 GB, free: 2.848 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.219e-05/0.5041, allocations: 92.12 kB / 0.7585 GB, free: 2.754 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.069e-05/0.5041, allocations: 15.81 kB / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.35e-06/0.5041, allocations: 96 / 0.7585 GB, free: 2.738 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002195/0.5044, allocations: 322.8 kB / 0.7588 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.802e-05/0.5045, allocations: 16 kB / 0.7589 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001326/0.5046, allocations: 52.3 kB / 0.7589 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001007/0.5048, allocations: 19.92 kB / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.495e-06/0.5048, allocations: 0 / 0.7589 GB, free: 2.312 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003643/0.5052, allocations: 101.6 kB / 0.759 GB, free: 2.207 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.12e-05/0.5052, allocations: 9.719 kB / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.651e-06/0.5052, allocations: 0 / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.734e-05/0.5053, allocations: 0 / 0.759 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001033/0.5054, allocations: 11.94 kB / 0.759 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.399e-05/0.5054, allocations: 3.953 kB / 0.759 GB, free: 2.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002172/0.5057, allocations: 15.98 kB / 0.7591 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.581e-05/0.5057, allocations: 7.984 kB / 0.7591 GB, free: 2.16 MB / 0.6355 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.0001472/0.5059, allocations: 120.9 kB / 0.7592 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.138e-05/0.5059, allocations: 15.83 kB / 0.7592 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.952e-05/0.506, allocations: 8.625 kB / 0.7592 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.168e-06/0.506, allocations: 4 kB / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.434e-06/0.506, allocations: 0 / 0.7592 GB, free: 2 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.096e-05/0.5061, allocations: 8.031 kB / 0.7592 GB, free: 1.992 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001058/0.5072, allocations: 386.5 kB / 0.7596 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.017e-05/0.5072, allocations: 4 kB / 0.7596 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.939e-05/0.5072, allocations: 0 / 0.7596 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.415e-06/0.5072, allocations: 0 / 0.7596 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.164e-05/0.5073, allocations: 3.984 kB / 0.7596 GB, free: 1.551 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.352e-06/0.5073, allocations: 3.953 kB / 0.7596 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.583e-06/0.5073, allocations: 8 kB / 0.7596 GB, free: 1.539 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003874/0.5077, allocations: 181.3 kB / 0.7598 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/0.5079, allocations: 89 kB / 0.7599 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.721e-05/0.5079, allocations: 192 / 0.7599 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002789/0.5082, allocations: 15.98 kB / 0.7599 GB, free: 1.227 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.725e-05/0.5083, allocations: 19.88 kB / 0.7599 GB, free: 1.207 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.756e-05/0.5084, allocations: 4 kB / 0.7599 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001154/0.5085, allocations: 91.27 kB / 0.76 GB, free: 1.113 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.084e-06/0.5085, allocations: 4 kB / 0.76 GB, free: 1.109 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0006428/0.5092, allocations: 16 kB / 0.76 GB, free: 1.094 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.0002086/0.5094, allocations: 103.2 kB / 0.7601 GB, free: 0.9844 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002922/0.5097, allocations: 51.94 kB / 0.7602 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.619e-06/0.5097, allocations: 0 / 0.7602 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000165/0.5099, allocations: 35.92 kB / 0.7602 GB, free: 0.8984 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004736/0.5104, allocations: 14.59 kB / 0.7602 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005489/0.511, allocations: 109.4 kB / 0.7603 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004727/0.5115, allocations: 0.6887 MB / 0.761 GB, free: 40 kB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.34e-05/0.5116, allocations: 12.66 kB / 0.761 GB, free: 28 kB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.587e-05/0.5117, allocations: 15.44 kB / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of SimCode: time 2.16e-06/0.5117, allocations: 0 / 0.761 GB, free: 12 kB / 0.6355 GB Notification: Performance of Templates: time 0.005576/0.5173, allocations: 0.899 MB / 0.7619 GB, free: 15.12 MB / 0.6511 GB