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 2.633/2.633, allocations: 287.9 MB / 302.9 MB, free: 8.336 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001404/0.001403, allocations: 179 kB / 371.4 MB, free: 10.65 MB / 298.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.195/2.195, allocations: 205.4 MB / 0.6301 GB, free: 10.39 MB / 458.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001039/0.001039, allocations: 91.36 kB / 0.7434 GB, free: 6.41 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004691/0.0004694, allocations: 14.98 kB / 0.8662 GB, free: 141.5 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1557/0.1562, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Integers.Sources.Validation.Pulse): time 0.001003/0.1573, allocations: 0.6543 MB / 0.9794 GB, free: 27.51 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001671/0.159, allocations: 1.344 MB / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.662e-05/0.1591, allocations: 0 / 0.9807 GB, free: 26.15 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.652e-05/0.1591, allocations: 7.875 kB / 0.9807 GB, free: 26.14 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.0001606/0.1593, allocations: 63.83 kB / 0.9808 GB, free: 26.08 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.001149/0.1605, allocations: 367.8 kB / 0.9811 GB, free: 25.73 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.000266/0.1607, allocations: 239.6 kB / 0.9814 GB, free: 25.5 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001128/0.1609, allocations: 29.86 kB / 0.9814 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001537/0.161, allocations: 143.6 kB / 0.9815 GB, free: 25.32 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000151/0.1612, allocations: 115.6 kB / 0.9816 GB, free: 25.21 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 5.998e-05/0.1613, allocations: 16 kB / 0.9817 GB, free: 25.2 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.1614, allocations: 31.98 kB / 0.9817 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 3.021e-05/0.1614, allocations: 31.83 kB / 0.9817 GB, free: 25.13 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 7.789e-05/0.1615, allocations: 69.64 kB / 0.9818 GB, free: 25.06 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.0003494/0.1619, allocations: 371.3 kB / 0.9821 GB, free: 24.7 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 5.335e-06/0.1619, allocations: 4 kB / 0.9821 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.911e-06/0.1619, allocations: 3.938 kB / 0.9822 GB, free: 24.69 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 6.404e-06/0.1619, allocations: 0 / 0.9822 GB, free: 24.69 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0005582/0.1625, allocations: 0.5715 MB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.587e-05/0.1626, allocations: 8.031 kB / 0.9827 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.596e-05/0.1627, allocations: 35.67 kB / 0.9828 GB, free: 24 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001548/0.1628, allocations: 209.8 kB / 0.983 GB, free: 23.75 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.478e-05/0.1629, allocations: 12 kB / 0.983 GB, free: 23.74 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.643e-05/0.163, allocations: 23.98 kB / 0.983 GB, free: 23.72 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002025/0.1632, allocations: 129 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1632, allocations: 0 / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.646e-05/0.1632, allocations: 4 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.83e-06/0.1632, allocations: 4 kB / 0.9831 GB, free: 23.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001396/0.1634, allocations: 55.86 kB / 0.9832 GB, free: 23.51 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009438/0.1643, allocations: 0.8717 MB / 0.984 GB, free: 22.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000163/0.1645, allocations: 130.4 kB / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.281e-05/0.1645, allocations: 0 / 0.9841 GB, free: 22.41 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.1648, allocations: 173.3 kB / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=16): time 2.55e-06/0.1649, allocations: 0 / 0.9843 GB, free: 22.22 MB / 0.6198 GB Notification: Performance of matching and sorting (n=16): time 0.0005345/0.1654, allocations: 229.9 kB / 0.9845 GB, free: 21.99 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.62e-05/0.1655, allocations: 140.5 kB / 0.9847 GB, free: 21.82 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000241/0.1657, allocations: 248.9 kB / 0.9849 GB, free: 21.57 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 5.529e-05/0.1658, allocations: 37.7 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 9.978e-05/0.1659, allocations: 120.5 kB / 0.9851 GB, free: 21.4 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 3.581e-05/0.1659, allocations: 35.59 kB / 0.9851 GB, free: 21.37 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.742e-05/0.166, allocations: 12 kB / 0.9851 GB, free: 21.36 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 6.44e-05/0.1661, allocations: 334.8 kB / 0.9854 GB, free: 21.02 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003778/0.1665, allocations: 140.2 kB / 0.9856 GB, free: 20.88 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004036/0.1669, allocations: 230.7 kB / 0.9858 GB, free: 20.62 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003734/0.1673, allocations: 262.7 kB / 0.986 GB, free: 20.34 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.732e-06/0.1673, allocations: 7.953 kB / 0.986 GB, free: 20.33 MB / 0.6198 GB Notification: Performance of matching and sorting (n=28) (initialization): time 0.00112/0.1684, allocations: 0.5428 MB / 0.9866 GB, free: 19.75 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 7.888e-05/0.1685, allocations: 138.8 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.163e-06/0.1685, allocations: 0 / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.816e-05/0.1685, allocations: 4 kB / 0.9867 GB, free: 19.59 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.608e-05/0.1686, allocations: 24.23 kB / 0.9867 GB, free: 19.57 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.017e-05/0.1687, allocations: 7.938 kB / 0.9867 GB, free: 19.56 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008337/0.1695, allocations: 157 kB / 0.9869 GB, free: 19.41 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.01e-05/0.1696, allocations: 23.98 kB / 0.9869 GB, free: 19.38 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.0001808/0.1698, allocations: 153.6 kB / 0.987 GB, free: 19.22 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.728e-05/0.1698, allocations: 31.66 kB / 0.9871 GB, free: 19.19 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.813e-05/0.1699, allocations: 17.25 kB / 0.9871 GB, free: 19.18 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.57e-06/0.1699, allocations: 4 kB / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.176e-06/0.1699, allocations: 0 / 0.9871 GB, free: 19.17 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.975e-06/0.1699, allocations: 7.984 kB / 0.9871 GB, free: 19.16 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002375/0.1702, allocations: 257.5 kB / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.069e-06/0.1702, allocations: 0 / 0.9873 GB, free: 18.86 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.075e-05/0.1703, allocations: 11.95 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.085e-06/0.1703, allocations: 4 kB / 0.9874 GB, free: 18.85 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.621e-05/0.1703, allocations: 7.984 kB / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.04e-06/0.1703, allocations: 0 / 0.9874 GB, free: 18.84 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/0.1703, allocations: 7.984 kB / 0.9874 GB, free: 18.83 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003481/0.1707, allocations: 260.4 kB / 0.9876 GB, free: 18.53 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 4.726e-05/0.1708, allocations: 92.92 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.693e-05/0.1708, allocations: 4 kB / 0.9877 GB, free: 18.42 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.9e-05/0.1709, allocations: 7.984 kB / 0.9877 GB, free: 18.41 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.662e-05/0.1709, allocations: 15.98 kB / 0.9877 GB, free: 18.39 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.683e-05/0.171, allocations: 11.95 kB / 0.9878 GB, free: 18.38 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0001545/0.1711, allocations: 168.5 kB / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.22e-07/0.1712, allocations: 0 / 0.9879 GB, free: 18.22 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0004307/0.1716, allocations: 64 kB / 0.988 GB, free: 18.16 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.0001488/0.1718, allocations: 119.1 kB / 0.9881 GB, free: 18.04 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0007792/0.1725, allocations: 0.5248 MB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.482e-06/0.1726, allocations: 3.938 kB / 0.9886 GB, free: 17.46 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001385/0.1727, allocations: 72.8 kB / 0.9887 GB, free: 17.39 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004281/0.1732, allocations: 58.38 kB / 0.9887 GB, free: 17.33 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006575/0.1738, allocations: 375.4 kB / 0.9891 GB, free: 16.93 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001578/0.174, allocations: 0.7363 MB / 0.9898 GB, free: 16.17 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 9.134e-05/0.1741, allocations: 21.53 kB / 0.9898 GB, free: 16.15 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.976e-05/0.1742, allocations: 23.42 kB / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of SimCode: time 1.373e-06/0.1742, allocations: 0 / 0.9899 GB, free: 16.12 MB / 0.6198 GB Notification: Performance of Templates: time 0.009003/0.1832, allocations: 4.171 MB / 0.9939 GB, free: 12.02 MB / 0.6198 GB