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.01327/0.01327, allocations: 111 kB / 15.05 MB, free: 5.965 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.001146/0.001146, allocations: 185.4 kB / 15.94 MB, free: 5.93 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 2.018/2.018, allocations: 194.6 MB / 211.3 MB, free: 11.05 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.28/2.28, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004573/0.0004574, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6457/0.6461, allocations: 98.72 MB / 0.6834 GB, free: 16.85 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2606/0.9068, allocations: 124.4 MB / 0.8048 GB, free: 1.895 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002427/0.9071, allocations: 71.89 kB / 0.8049 GB, free: 1.824 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00326/0.9103, allocations: 0.92 MB / 0.8058 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.545e-06/0.9104, allocations: 0 / 0.8058 GB, free: 0.8984 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.771e-06/0.9104, allocations: 4 kB / 0.8058 GB, free: 0.8945 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.0005564/0.911, allocations: 371.2 kB / 0.8062 GB, free: 496 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.028e-05/0.911, allocations: 8.031 kB / 0.8062 GB, free: 488 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.24e-05/0.9111, allocations: 7.906 kB / 0.8062 GB, free: 480 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001619/0.9113, allocations: 175 kB / 0.8064 GB, free: 264 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.348e-05/0.9113, allocations: 8 kB / 0.8064 GB, free: 256 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.657e-05/0.9113, allocations: 7.922 kB / 0.8064 GB, free: 248 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/0.9115, allocations: 49.69 kB / 0.8064 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.719e-06/0.9115, allocations: 0 / 0.8064 GB, free: 192 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.432e-05/0.9115, allocations: 4 kB / 0.8064 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.9115, allocations: 0 / 0.8064 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.619e-05/0.9116, allocations: 23.98 kB / 0.8064 GB, free: 164 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005927/0.9122, allocations: 296.8 kB / 0.8067 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/0.9124, allocations: 50.5 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.9124, allocations: 4 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002201/0.9126, allocations: 79.48 kB / 0.8069 GB, free: 15.67 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.687e-06/0.9127, allocations: 4 kB / 0.8069 GB, free: 15.66 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003281/0.913, allocations: 109.5 kB / 0.807 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.73e-05/0.9131, allocations: 59.34 kB / 0.807 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001182/0.9132, allocations: 116.8 kB / 0.8071 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.58e-05/0.9132, allocations: 25.7 kB / 0.8072 GB, free: 15.33 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.9133, allocations: 88.14 kB / 0.8072 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.015e-05/0.9134, allocations: 19.8 kB / 0.8073 GB, free: 15.22 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.274e-06/0.9134, allocations: 4 kB / 0.8073 GB, free: 15.21 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000161/0.9135, allocations: 314.8 kB / 0.8076 GB, free: 14.9 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.689e-05/0.9136, allocations: 23.98 kB / 0.8076 GB, free: 14.88 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.134e-05/0.9137, allocations: 48.28 kB / 0.8076 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.34e-05/0.9138, allocations: 19.98 kB / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.056e-06/0.9138, allocations: 0 / 0.8077 GB, free: 14.79 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000233/0.914, allocations: 105.4 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.985e-05/0.9141, allocations: 8 kB / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.081e-06/0.9141, allocations: 0 / 0.8078 GB, free: 14.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.9141, allocations: 4 kB / 0.8078 GB, free: 14.67 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.753e-05/0.9142, allocations: 8 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.391e-05/0.9142, allocations: 11.92 kB / 0.8078 GB, free: 14.65 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001252/0.9143, allocations: 15.94 kB / 0.8078 GB, free: 14.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.354e-05/0.9144, allocations: 12.08 kB / 0.8078 GB, free: 14.62 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 () * 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.0001268/0.9145, allocations: 125.8 kB / 0.8079 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.9145, allocations: 3.906 kB / 0.8079 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.731e-05/0.9146, allocations: 12.38 kB / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.64e-06/0.9146, allocations: 0 / 0.8079 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.628e-06/0.9146, allocations: 4 kB / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.2e-06/0.9146, allocations: 0 / 0.8079 GB, free: 14.47 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006809/0.9153, allocations: 391.2 kB / 0.8083 GB, free: 14.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.626e-06/0.9153, allocations: 3.984 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.513e-05/0.9154, allocations: 3.938 kB / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.278e-06/0.9154, allocations: 0 / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.184e-05/0.9154, allocations: 96 / 0.8083 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.633e-06/0.9154, allocations: 11.89 kB / 0.8083 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.848e-06/0.9154, allocations: 0 / 0.8083 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002494/0.9157, allocations: 187.4 kB / 0.8085 GB, free: 13.82 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.326e-05/0.9158, allocations: 85.02 kB / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.335e-05/0.9158, allocations: 0 / 0.8086 GB, free: 13.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001519/0.916, allocations: 15.98 kB / 0.8086 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.697e-05/0.916, allocations: 19.92 kB / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.9161, allocations: 0 / 0.8086 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.763e-05/0.9161, allocations: 91.28 kB / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.8e-07/0.9162, allocations: 0 / 0.8087 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003295/0.9165, allocations: 16 kB / 0.8087 GB, free: 13.57 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.0001523/0.9167, allocations: 107.2 kB / 0.8088 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001859/0.9169, allocations: 55.86 kB / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.041e-06/0.9169, allocations: 3.938 kB / 0.8089 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.884e-05/0.917, allocations: 36.17 kB / 0.8089 GB, free: 13.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.9173, allocations: 16.55 kB / 0.8089 GB, free: 13.35 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004602/0.9177, allocations: 179.2 kB / 0.8091 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003954/0.9182, allocations: 0.6926 MB / 0.8098 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.534e-05/0.9182, allocations: 8.672 kB / 0.8098 GB, free: 12.42 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.068e-05/0.9183, allocations: 11.44 kB / 0.8098 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of SimCode: time 1.424e-06/0.9183, allocations: 0 / 0.8098 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of Templates: time 0.003937/0.9222, allocations: 0.88 MB / 0.8107 GB, free: 11.54 MB / 0.6355 GB