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.009134/0.009134, allocations: 111.3 kB / 15.06 MB, free: 5.562 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.001184/0.001183, allocations: 181.6 kB / 15.95 MB, free: 5.523 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 1.89/1.89, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.238/2.238, allocations: 236.1 MB / 492.6 MB, free: 11.29 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005808/0.0005806, allocations: 12 kB / 0.587 GB, free: 2.156 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5693/0.5699, allocations: 98.72 MB / 0.6834 GB, free: 16.72 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.002124/0.5721, allocations: 1.084 MB / 0.6844 GB, free: 15.91 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0007127/0.5729, allocations: 209.5 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.044e-05/0.5729, allocations: 1.188 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 2.34e-05/0.573, allocations: 8.453 kB / 0.6846 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 0.0001115/0.5731, allocations: 11.44 kB / 0.6846 GB, free: 15.76 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001921/0.5733, allocations: 16.8 kB / 0.6847 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001144/0.5735, allocations: 46.02 kB / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001054/0.5736, allocations: 6.531 kB / 0.6847 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.932e-05/0.5737, allocations: 18.39 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.297e-05/0.5738, allocations: 20.56 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.578e-05/0.5739, allocations: 2.844 kB / 0.6847 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.129e-05/0.5739, allocations: 7 kB / 0.6847 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.961e-05/0.5739, allocations: 12.39 kB / 0.6848 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.682e-05/0.574, allocations: 39.17 kB / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001165/0.5741, allocations: 29.28 kB / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 3.349e-06/0.5742, allocations: 0 / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.689e-06/0.5742, allocations: 0 / 0.6848 GB, free: 15.66 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.844e-06/0.5742, allocations: 1.469 kB / 0.6848 GB, free: 15.66 MB / 0.5261 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.0007187/0.5749, allocations: 377.2 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.947e-05/0.575, allocations: 9.703 kB / 0.6852 GB, free: 15.29 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.781e-05/0.5751, allocations: 10.45 kB / 0.6852 GB, free: 15.28 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.5752, allocations: 169 kB / 0.6854 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.791e-05/0.5753, allocations: 3.594 kB / 0.6854 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.508e-05/0.5753, allocations: 6.938 kB / 0.6854 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.5756, allocations: 52 kB / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.24e-05/0.5756, allocations: 0 / 0.6854 GB, free: 15.04 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.174e-05/0.5756, allocations: 10.06 kB / 0.6854 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.549e-06/0.5757, allocations: 4 kB / 0.6854 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.5758, allocations: 22.25 kB / 0.6855 GB, free: 15.02 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006072/0.5764, allocations: 285 kB / 0.6857 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001916/0.5767, allocations: 51.56 kB / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.589e-05/0.5767, allocations: 0 / 0.6858 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002781/0.577, allocations: 84.53 kB / 0.6859 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 4.243e-06/0.577, allocations: 0 / 0.6859 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0004836/0.5775, allocations: 114.7 kB / 0.686 GB, free: 14.57 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.404e-05/0.5776, allocations: 52.53 kB / 0.686 GB, free: 14.5 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000135/0.5778, allocations: 116.1 kB / 0.6861 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.473e-05/0.5778, allocations: 31.94 kB / 0.6862 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.968e-05/0.5779, allocations: 86.88 kB / 0.6862 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.006e-05/0.5779, allocations: 20.94 kB / 0.6863 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.124e-05/0.578, allocations: 7.938 kB / 0.6863 GB, free: 14.25 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.371e-05/0.5781, allocations: 320.2 kB / 0.6866 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.624e-05/0.5782, allocations: 14.94 kB / 0.6866 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001153/0.5783, allocations: 53.48 kB / 0.6866 GB, free: 13.88 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.916e-05/0.5784, allocations: 23.44 kB / 0.6867 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.601e-06/0.5785, allocations: 0 / 0.6867 GB, free: 13.87 MB / 0.5261 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0003436/0.5788, allocations: 99.81 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.569e-05/0.5789, allocations: 6.375 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.548e-06/0.5789, allocations: 0.75 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.113e-05/0.5789, allocations: 6.797 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001004/0.579, allocations: 7.094 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.098e-05/0.5791, allocations: 2.625 kB / 0.6868 GB, free: 13.81 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000225/0.5793, allocations: 22.95 kB / 0.6868 GB, free: 13.8 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.172e-05/0.5794, allocations: 11.88 kB / 0.6868 GB, free: 13.79 MB / 0.5261 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,reset.y,$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.0001195/0.5795, allocations: 120.5 kB / 0.6869 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.409e-05/0.5796, allocations: 6.562 kB / 0.6869 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.408e-05/0.5796, allocations: 14.17 kB / 0.687 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.535e-06/0.5797, allocations: 2.203 kB / 0.687 GB, free: 13.65 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.148e-06/0.5797, allocations: 5.172 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.288e-06/0.5797, allocations: 4 kB / 0.687 GB, free: 13.64 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000913/0.5806, allocations: 381.6 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.374e-06/0.5807, allocations: 0 / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.118e-05/0.5807, allocations: 2.234 kB / 0.6873 GB, free: 13.31 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.28e-06/0.5807, allocations: 9.453 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.829e-05/0.5808, allocations: 0.6562 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.534e-06/0.5808, allocations: 1.5 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.47e-06/0.5808, allocations: 0.5625 kB / 0.6873 GB, free: 13.3 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003354/0.5812, allocations: 185.2 kB / 0.6875 GB, free: 13.15 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 4.335e-05/0.5812, allocations: 88.27 kB / 0.6876 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.254e-05/0.5813, allocations: 6.156 kB / 0.6876 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002744/0.5816, allocations: 21.77 kB / 0.6876 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.827e-05/0.5817, allocations: 8.906 kB / 0.6876 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.344e-05/0.5818, allocations: 11.45 kB / 0.6876 GB, free: 13.03 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.766e-05/0.5819, allocations: 90.27 kB / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.2e-06/0.5819, allocations: 0 / 0.6877 GB, free: 12.95 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0006017/0.5825, allocations: 12.88 kB / 0.6877 GB, free: 12.95 MB / 0.5261 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,reset.y,$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.0001603/0.5827, allocations: 106.9 kB / 0.6878 GB, free: 12.86 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002883/0.583, allocations: 61.31 kB / 0.6879 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.964e-06/0.583, allocations: 1.125 kB / 0.6879 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001443/0.5832, allocations: 29.33 kB / 0.6879 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004727/0.5837, allocations: 18.8 kB / 0.688 GB, free: 12.82 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006201/0.5843, allocations: 181.4 kB / 0.6881 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000182/0.5845, allocations: 0.6899 MB / 0.6888 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 6.718e-05/0.5846, allocations: 7.766 kB / 0.6888 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.577e-05/0.5847, allocations: 11.38 kB / 0.6888 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of SimCode: time 1.92e-06/0.5847, allocations: 0 / 0.6888 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of Templates: time 0.006051/0.5908, allocations: 0.8936 MB / 0.6897 GB, free: 11.88 MB / 0.5261 GB