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.01054/0.01055, allocations: 221.8 kB / 15.17 MB, free: 5.93 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.001169/0.001168, allocations: 174.2 kB / 16.06 MB, free: 5.828 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.118/4.118, allocations: 389.1 MB / 405.9 MB, free: 11.72 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 3.94/3.94, allocations: 472.3 MB / 0.9018 GB, free: 9.176 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005814/0.0005817, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1366/0.1372, allocations: 98.73 MB / 1.104 GB, free: 42.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter): time 0.001216/0.1385, allocations: 1.094 MB / 1.105 GB, free: 40.95 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004035/0.1389, allocations: 212.5 kB / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.411e-05/0.139, allocations: 0 / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.278e-05/0.139, allocations: 0 / 1.105 GB, free: 40.74 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.236e-05/0.1391, allocations: 11.92 kB / 1.105 GB, free: 40.73 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001268/0.1392, allocations: 15.08 kB / 1.105 GB, free: 40.71 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.606e-05/0.1393, allocations: 59.78 kB / 1.105 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.391e-05/0.1394, allocations: 8 kB / 1.105 GB, free: 40.65 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 4.722e-05/0.1395, allocations: 19.91 kB / 1.105 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.716e-05/0.1395, allocations: 27.84 kB / 1.105 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.614e-05/0.1396, allocations: 0 / 1.105 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.352e-05/0.1396, allocations: 4 kB / 1.105 GB, free: 40.6 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.733e-05/0.1396, allocations: 10.03 kB / 1.105 GB, free: 40.59 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.937e-05/0.1396, allocations: 41.62 kB / 1.106 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 6.649e-05/0.1397, allocations: 31.92 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.943e-06/0.1397, allocations: 3.938 kB / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.723e-06/0.1397, allocations: 0 / 1.106 GB, free: 40.51 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 5.565e-06/0.1398, allocations: 0 / 1.106 GB, free: 40.51 MB / 0.6042 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.0004549/0.1402, allocations: 378.3 kB / 1.106 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.376e-05/0.1403, allocations: 8.031 kB / 1.106 GB, free: 40.09 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.14e-05/0.1403, allocations: 5.281 kB / 1.106 GB, free: 40.08 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.754e-05/0.1404, allocations: 175.7 kB / 1.106 GB, free: 39.87 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.143e-05/0.1404, allocations: 8 kB / 1.106 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.326e-05/0.1405, allocations: 2.719 kB / 1.106 GB, free: 39.86 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001172/0.1406, allocations: 53.67 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.933e-06/0.1406, allocations: 0 / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.46e-05/0.1406, allocations: 8.469 kB / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.395e-06/0.1406, allocations: 0 / 1.106 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.522e-05/0.1407, allocations: 27.91 kB / 1.106 GB, free: 39.77 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003789/0.1411, allocations: 279.9 kB / 1.106 GB, free: 39.45 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000113/0.1412, allocations: 44.11 kB / 1.106 GB, free: 39.4 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.563e-05/0.1413, allocations: 28.86 kB / 1.107 GB, free: 39.37 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.207e-05/0.1413, allocations: 6.156 kB / 1.107 GB, free: 39.36 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001699/0.1415, allocations: 91.22 kB / 1.107 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=9): time 2.507e-06/0.1415, allocations: 0 / 1.107 GB, free: 39.26 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9): time 0.0002604/0.1418, allocations: 104.8 kB / 1.107 GB, free: 39.16 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.864e-05/0.1418, allocations: 55.41 kB / 1.107 GB, free: 39.09 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.004e-05/0.1419, allocations: 117.8 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.142, allocations: 29.7 kB / 1.107 GB, free: 38.93 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.459e-05/0.142, allocations: 92.19 kB / 1.107 GB, free: 38.84 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.1e-05/0.142, allocations: 19.75 kB / 1.107 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.84e-05/0.1421, allocations: 0 / 1.107 GB, free: 38.82 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.482e-05/0.1421, allocations: 326.2 kB / 1.107 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.509e-05/0.1422, allocations: 16 kB / 1.107 GB, free: 38.48 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.018e-05/0.1423, allocations: 52.16 kB / 1.107 GB, free: 38.41 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.297e-05/0.1423, allocations: 22.75 kB / 1.107 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.732e-06/0.1423, allocations: 0 / 1.107 GB, free: 38.39 MB / 0.6042 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0001739/0.1425, allocations: 107.7 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1425, allocations: 7.75 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.739e-06/0.1426, allocations: 0.75 kB / 1.108 GB, free: 38.28 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.419e-05/0.1426, allocations: 4 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.148e-05/0.1426, allocations: 11.3 kB / 1.108 GB, free: 38.27 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.054e-06/0.1427, allocations: 4 kB / 1.108 GB, free: 38.26 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001186/0.1428, allocations: 19.98 kB / 1.108 GB, free: 38.24 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1e-05/0.1428, allocations: 4 kB / 1.108 GB, free: 38.24 MB / 0.6042 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 7.255e-05/0.1429, allocations: 121 kB / 1.108 GB, free: 38.11 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.034e-05/0.1429, allocations: 13.08 kB / 1.108 GB, free: 38.1 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.057e-05/0.143, allocations: 16.31 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.929e-06/0.143, allocations: 0 / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.22e-06/0.143, allocations: 2.344 kB / 1.108 GB, free: 38.08 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.76e-06/0.143, allocations: 7.984 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004964/0.1435, allocations: 389.7 kB / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.631e-06/0.1435, allocations: 0 / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.104e-05/0.1435, allocations: 0 / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.259e-06/0.1436, allocations: 4 kB / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.075e-05/0.1436, allocations: 0 / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.167e-06/0.1436, allocations: 0 / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.507e-06/0.1436, allocations: 0 / 1.108 GB, free: 37.64 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001798/0.1438, allocations: 194.2 kB / 1.108 GB, free: 37.43 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.1438, allocations: 84.95 kB / 1.108 GB, free: 37.33 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/0.1439, allocations: 7.984 kB / 1.108 GB, free: 37.32 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001422/0.144, allocations: 18.98 kB / 1.108 GB, free: 37.31 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/0.1441, allocations: 12.72 kB / 1.108 GB, free: 37.3 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.806e-05/0.1441, allocations: 4 kB / 1.108 GB, free: 37.29 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.602e-05/0.1442, allocations: 91.27 kB / 1.108 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.4e-07/0.1442, allocations: 0 / 1.108 GB, free: 37.2 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003335/0.1445, allocations: 16.47 kB / 1.108 GB, free: 37.19 MB / 0.6042 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.0001019/0.1446, allocations: 102.1 kB / 1.109 GB, free: 37.08 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.000159/0.1448, allocations: 59.86 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.162e-06/0.1448, allocations: 3.938 kB / 1.109 GB, free: 37.02 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 7.587e-05/0.1449, allocations: 31.92 kB / 1.109 GB, free: 36.99 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003753/0.1453, allocations: 23.47 kB / 1.109 GB, free: 36.97 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000366/0.1457, allocations: 179.2 kB / 1.109 GB, free: 36.77 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001266/0.1458, allocations: 0.6895 MB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 4.076e-05/0.1459, allocations: 12.64 kB / 1.11 GB, free: 36.05 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.285e-05/0.1459, allocations: 15.44 kB / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of SimCode: time 1.183e-06/0.1459, allocations: 0 / 1.11 GB, free: 36.03 MB / 0.6042 GB Notification: Performance of Templates: time 0.003491/0.1494, allocations: 0.8833 MB / 1.11 GB, free: 35.19 MB / 0.6042 GB