Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse.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.Sources.Validation.Pulse,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.783/4.783, allocations: 0.5623 GB / 0.5769 GB, free: 3.348 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.006227/0.006228, allocations: 357.7 kB / 0.644 GB, free: 185.6 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.51/4.51, allocations: 410.7 MB / 1.112 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001714/0.001714, allocations: 182.9 kB / 1.225 GB, free: 35.92 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004882/0.0004885, allocations: 12 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1537/0.1542, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.0009325/0.1552, allocations: 0.6543 MB / 1.461 GB, free: 5.926 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001527/0.1568, allocations: 1.336 MB / 1.463 GB, free: 4.574 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.853e-05/0.1569, allocations: 7.938 kB / 1.463 GB, free: 4.566 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 2.595e-05/0.1569, allocations: 11.86 kB / 1.463 GB, free: 4.555 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.0001295/0.157, allocations: 35.7 kB / 1.463 GB, free: 4.52 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.001133/0.1582, allocations: 378.1 kB / 1.463 GB, free: 4.16 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.0003102/0.1585, allocations: 383.1 kB / 1.463 GB, free: 3.785 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001231/0.1586, allocations: 37.84 kB / 1.464 GB, free: 3.746 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001471/0.1588, allocations: 139.6 kB / 1.464 GB, free: 3.609 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001487/0.159, allocations: 123.5 kB / 1.464 GB, free: 3.488 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 6.046e-05/0.159, allocations: 20 kB / 1.464 GB, free: 3.469 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001052/0.1591, allocations: 31.92 kB / 1.464 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 3.136e-05/0.1592, allocations: 27.86 kB / 1.464 GB, free: 3.41 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 8.226e-05/0.1593, allocations: 65.64 kB / 1.464 GB, free: 3.34 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.000329/0.1596, allocations: 371.3 kB / 1.464 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.964e-06/0.1596, allocations: 0 / 1.464 GB, free: 2.977 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.065e-06/0.1597, allocations: 4 kB / 1.464 GB, free: 2.973 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.066e-06/0.1597, allocations: 3.938 kB / 1.464 GB, free: 2.969 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005528/0.1602, allocations: 0.5716 MB / 1.465 GB, free: 2.324 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.353e-05/0.1603, allocations: 8.031 kB / 1.465 GB, free: 2.316 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.299e-05/0.1604, allocations: 31.67 kB / 1.465 GB, free: 2.285 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00015/0.1605, allocations: 217.8 kB / 1.465 GB, free: 2.031 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.406e-05/0.1606, allocations: 12 kB / 1.465 GB, free: 2.02 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.758e-05/0.1607, allocations: 27.98 kB / 1.465 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001993/0.1609, allocations: 121.1 kB / 1.465 GB, free: 1.855 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.045e-05/0.1609, allocations: 3.938 kB / 1.465 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.1609, allocations: 0 / 1.465 GB, free: 1.852 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.993e-06/0.1609, allocations: 4 kB / 1.465 GB, free: 1.848 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000138/0.1611, allocations: 55.92 kB / 1.465 GB, free: 1.793 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001125/0.1622, allocations: 0.8717 MB / 1.466 GB, free: 0.8594 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002234/0.1625, allocations: 126.4 kB / 1.466 GB, free: 0.6992 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000104/0.1626, allocations: 51.48 kB / 1.466 GB, free: 0.6367 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.674e-05/0.1626, allocations: 4 kB / 1.466 GB, free: 0.6328 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003527/0.163, allocations: 178.6 kB / 1.466 GB, free: 444 kB / 0.6042 GB Notification: Performance of pre-optimization done (n=16): time 2.725e-06/0.163, allocations: 0 / 1.466 GB, free: 444 kB / 0.6042 GB Notification: Performance of matching and sorting (n=16): time 0.0006366/0.1636, allocations: 217.3 kB / 1.467 GB, free: 220 kB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.767e-05/0.1637, allocations: 144.4 kB / 1.467 GB, free: 44 kB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003659/0.1641, allocations: 240.9 kB / 1.467 GB, free: 15.79 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 7.444e-05/0.1642, allocations: 37.7 kB / 1.467 GB, free: 15.75 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001555/0.1644, allocations: 128.5 kB / 1.467 GB, free: 15.62 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 4.843e-05/0.1644, allocations: 31.59 kB / 1.467 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.185e-05/0.1645, allocations: 12 kB / 1.467 GB, free: 15.58 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001831/0.1647, allocations: 330.8 kB / 1.468 GB, free: 15.25 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004426/0.1651, allocations: 144.2 kB / 1.468 GB, free: 15.1 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005079/0.1657, allocations: 232.8 kB / 1.468 GB, free: 14.84 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004813/0.1662, allocations: 258.7 kB / 1.468 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.184e-06/0.1662, allocations: 0 / 1.468 GB, free: 14.56 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.001353/0.1675, allocations: 0.5515 MB / 1.469 GB, free: 13.98 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001383/0.1677, allocations: 142.7 kB / 1.469 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.1677, allocations: 0 / 1.469 GB, free: 13.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.111e-05/0.1677, allocations: 4.25 kB / 1.469 GB, free: 13.81 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.083e-05/0.1678, allocations: 19.98 kB / 1.469 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.296e-05/0.1679, allocations: 7.938 kB / 1.469 GB, free: 13.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008828/0.1688, allocations: 154.8 kB / 1.469 GB, free: 13.64 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.735e-05/0.1689, allocations: 31.97 kB / 1.469 GB, free: 13.61 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 20 ($whenCondition7,$whenCondition8,pul3.y,$PRE.pul3.booPul.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,$PRE.pul1.booPul.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,$PRE.pul2.booPul.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,$PRE.pul.booPul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 16 * Array equations: 0 * Algorithm blocks: 4 * 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.000237/0.1691, allocations: 146.3 kB / 1.469 GB, free: 13.45 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.794e-05/0.1692, allocations: 27.7 kB / 1.469 GB, free: 13.43 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.36e-05/0.1692, allocations: 17.25 kB / 1.469 GB, free: 13.41 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.766e-06/0.1693, allocations: 8.031 kB / 1.469 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.045e-06/0.1693, allocations: 4 kB / 1.469 GB, free: 13.4 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.1693, allocations: 7.922 kB / 1.469 GB, free: 13.39 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003567/0.1697, allocations: 257.5 kB / 1.47 GB, free: 13.09 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.756e-06/0.1697, allocations: 7.953 kB / 1.47 GB, free: 13.08 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.416e-05/0.1698, allocations: 8 kB / 1.47 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.587e-06/0.1698, allocations: 4 kB / 1.47 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.619e-05/0.1698, allocations: 11.98 kB / 1.47 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.903e-06/0.1698, allocations: 0 / 1.47 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.467e-06/0.1698, allocations: 0 / 1.47 GB, free: 13.06 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004189/0.1703, allocations: 219.3 kB / 1.47 GB, free: 12.82 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 9.974e-05/0.1704, allocations: 100.9 kB / 1.47 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.888e-05/0.1704, allocations: 4 kB / 1.47 GB, free: 12.7 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.172e-05/0.1705, allocations: 4 kB / 1.47 GB, free: 12.69 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.331e-05/0.1706, allocations: 15.97 kB / 1.47 GB, free: 12.68 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.983e-05/0.1706, allocations: 8 kB / 1.47 GB, free: 12.67 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0002089/0.1708, allocations: 168.5 kB / 1.47 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.14e-07/0.1708, allocations: 0 / 1.47 GB, free: 12.51 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004879/0.1713, allocations: 64 kB / 1.47 GB, free: 12.45 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition7,$whenCondition8,pul3.y,pul3.booPul.y,$whenCondition5,$whenCondition6,pul1.y,pul1.booPul.y,$whenCondition3,$whenCondition4,pul2.y,pul2.booPul.y,$whenCondition1,$whenCondition2,pul.y,pul.booPul.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001862/0.1715, allocations: 123.1 kB / 1.47 GB, free: 12.32 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0009723/0.1725, allocations: 0.5251 MB / 1.471 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.453e-06/0.1725, allocations: 4.062 kB / 1.471 GB, free: 11.74 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001615/0.1727, allocations: 71.91 kB / 1.471 GB, free: 11.67 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005205/0.1733, allocations: 52.39 kB / 1.471 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000796/0.1741, allocations: 383.3 kB / 1.471 GB, free: 11.21 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000414/0.1745, allocations: 0.7362 MB / 1.472 GB, free: 10.45 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 8.652e-05/0.1746, allocations: 18.3 kB / 1.472 GB, free: 10.43 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.844e-05/0.1747, allocations: 23.42 kB / 1.472 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of SimCode: time 1.618e-06/0.1747, allocations: 0 / 1.472 GB, free: 10.41 MB / 0.6198 GB Notification: Performance of Templates: time 0.01065/0.1853, allocations: 4.181 MB / 1.476 GB, free: 6.293 MB / 0.6198 GB