Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Validation.OnCounter") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.826/4.826, allocations: 0.5623 GB / 0.5775 GB, free: 3.316 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002465/0.002465, allocations: 357.2 kB / 0.6446 GB, free: 185.7 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.237/4.237, allocations: 410.7 MB / 1.113 GB, free: 6.008 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001921/0.001921, allocations: 176.2 kB / 1.226 GB, free: 6.184 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004937/0.0004939, allocations: 16 kB / 1.349 GB, free: 8.297 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.711/0.7115, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2726/0.9842, allocations: 138 MB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002369/0.9844, allocations: 71.95 kB / 1.596 GB, free: 146.2 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01318/0.9976, allocations: 2.95 MB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.375e-06/0.9977, allocations: 3.938 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 6.813e-06/0.9977, allocations: 1.25 kB / 1.599 GB, free: 143.3 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.000424/0.9981, allocations: 406.7 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.9982, allocations: 19.56 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.018e-05/0.9983, allocations: 13.16 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.807e-05/0.9984, allocations: 180.6 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.038e-05/0.9984, allocations: 8 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.536e-05/0.9985, allocations: 12.84 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001284/0.9986, allocations: 46.17 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.736e-06/0.9986, allocations: 4 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.9987, allocations: 2.625 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.21e-06/0.9987, allocations: 0 / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.491e-05/0.9987, allocations: 20.44 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005715/0.9993, allocations: 352.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 9.738e-05/0.9994, allocations: 35.72 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.352e-05/0.9995, allocations: 19.36 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.019e-05/0.9995, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002123/0.9997, allocations: 98.25 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 1.994e-06/0.9998, allocations: 0 / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0003653/1, allocations: 121.5 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.488e-05/1, allocations: 55.41 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.618e-05/1, allocations: 126.5 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 4.23e-05/1, allocations: 29.7 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.596e-05/1, allocations: 92.84 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.373e-05/1, allocations: 24.41 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.98e-05/1, allocations: 4 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 5.774e-05/1.001, allocations: 319.8 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001988/1.001, allocations: 65.02 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000219/1.001, allocations: 107.9 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002117/1.001, allocations: 129.2 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.975e-06/1.001, allocations: 2.406 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of matching and sorting (n=16) (initialization): time 0.0006246/1.002, allocations: 273.2 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 5.859e-05/1.002, allocations: 71.39 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.306e-06/1.002, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.092e-05/1.002, allocations: 4.969 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.413e-05/1.002, allocations: 19.86 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.145e-06/1.002, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005978/1.003, allocations: 76.33 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.867e-05/1.003, allocations: 12.94 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 12 ($PRE.onCounter.y,onCounter.y,$whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$PRE.reset.y,reset.y,$whenCondition1,$PRE.booPul.y,booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 2 * 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.0001324/1.003, allocations: 132.9 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.42e-05/1.003, allocations: 7.906 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.608e-05/1.003, allocations: 9.453 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.612e-06/1.003, allocations: 4 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/1.003, allocations: 3.938 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-05/1.003, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003965/1.003, allocations: 363.4 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.976e-06/1.004, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.568e-05/1.004, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.05e-06/1.004, allocations: 0.5312 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.296e-05/1.004, allocations: 4.938 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.206e-06/1.004, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/1.004, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002192/1.004, allocations: 204.9 kB / 1.602 GB, free: 139.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.743e-05/1.004, allocations: 85.02 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.5e-05/1.004, allocations: 0.5938 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.782e-05/1.004, allocations: 1 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.524e-05/1.004, allocations: 14.33 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.376e-05/1.004, allocations: 4.594 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.115e-05/1.004, allocations: 101.6 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 4.11e-07/1.004, allocations: 0 / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003992/1.005, allocations: 40 kB / 1.603 GB, free: 139.3 MB / 0.8542 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 ($whenCondition5,$whenCondition6,$whenCondition3,$whenCondition4,$whenCondition2,$whenCondition1,onCounter.y,booPul.y,reset.y) * 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.0001614/1.005, allocations: 108.8 kB / 1.603 GB, free: 139.2 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004617/1.005, allocations: 263.3 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.334e-06/1.005, allocations: 1.312 kB / 1.603 GB, free: 138.9 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 7.99e-05/1.005, allocations: 35.92 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000399/1.006, allocations: 12.83 kB / 1.603 GB, free: 138.8 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004145/1.006, allocations: 178.5 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001289/1.006, allocations: 0.6958 MB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 3.915e-05/1.006, allocations: 9.156 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.7e-05/1.006, allocations: 15.94 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of SimCode: time 1.032e-06/1.006, allocations: 0.7812 kB / 1.604 GB, free: 137.9 MB / 0.8542 GB Notification: Performance of Templates: time 0.00562/1.012, allocations: 1.753 MB / 1.606 GB, free: 136.3 MB / 0.8542 GB