Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime.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.Logical.Sources.Validation.SampleTriggerPositiveStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.697/2.697, allocations: 287.9 MB / 302.9 MB, free: 8.273 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.001403/0.001403, allocations: 167.9 kB / 371.4 MB, free: 10.67 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.034/2.034, allocations: 205.4 MB / 0.6301 GB, free: 10.38 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.001027/0.001027, allocations: 89.83 kB / 0.7434 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004707, allocations: 13.55 kB / 0.8662 GB, free: 141.4 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1553/0.1558, allocations: 115.3 MB / 0.9788 GB, free: 28.16 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.0007898/0.1567, allocations: 476.6 kB / 0.9792 GB, free: 27.7 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001188/0.1579, allocations: 1.052 MB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.118e-05/0.158, allocations: 4 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.685e-05/0.158, allocations: 7.922 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 7.474e-05/0.1581, allocations: 7.969 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.000239/0.1583, allocations: 43.84 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.184e-05/0.1584, allocations: 35.95 kB / 0.9803 GB, free: 26.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 9.115e-05/0.1585, allocations: 24.09 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.165e-05/0.1586, allocations: 23.86 kB / 0.9804 GB, free: 26.48 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.959e-05/0.1587, allocations: 35.84 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.426e-05/0.1587, allocations: 4 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.907e-05/0.1588, allocations: 11.98 kB / 0.9804 GB, free: 26.43 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.674e-05/0.1588, allocations: 11.98 kB / 0.9805 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.962e-05/0.1588, allocations: 37.64 kB / 0.9805 GB, free: 26.38 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.822e-05/0.1589, allocations: 51.88 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.482e-06/0.1589, allocations: 4 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.813e-06/0.159, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.041e-06/0.159, allocations: 0 / 0.9805 GB, free: 26.32 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004386/0.1594, allocations: 371.4 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.507e-05/0.1595, allocations: 12.02 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.799e-05/0.1595, allocations: 7.906 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.524e-05/0.1596, allocations: 175 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1596, allocations: 12 kB / 0.9811 GB, free: 25.67 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.707e-05/0.1597, allocations: 7.938 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002072/0.1599, allocations: 69.66 kB / 0.9812 GB, free: 25.59 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.447e-06/0.1599, allocations: 4 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.241e-05/0.1599, allocations: 4 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.667e-06/0.1599, allocations: 0 / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002124/0.1602, allocations: 51.95 kB / 0.9812 GB, free: 25.53 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006207/0.1608, allocations: 336.6 kB / 0.9815 GB, free: 25.15 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001847/0.161, allocations: 62.55 kB / 0.9816 GB, free: 25.08 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.437e-05/0.161, allocations: 4 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002122/0.1613, allocations: 79.53 kB / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.914e-06/0.1613, allocations: 0 / 0.9817 GB, free: 24.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004861/0.1618, allocations: 153.5 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.205e-05/0.1618, allocations: 59.3 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.383e-05/0.1619, allocations: 121.8 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.471e-05/0.1619, allocations: 25.7 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.162e-05/0.162, allocations: 100 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 1.989e-05/0.162, allocations: 7.844 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.105e-06/0.162, allocations: 8 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.382e-05/0.1621, allocations: 314.8 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001351/0.1622, allocations: 35.97 kB / 0.9825 GB, free: 24.13 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001474/0.1624, allocations: 86.3 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001441/0.1626, allocations: 43.92 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.869e-06/0.1626, allocations: 4 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003762/0.163, allocations: 141.6 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.718e-05/0.163, allocations: 5.562 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.991e-06/0.163, allocations: 4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.536e-05/0.163, allocations: 0 / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001515/0.1632, allocations: 27.92 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.601e-06/0.1632, allocations: 4 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001122/0.1633, allocations: 23.91 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.66e-05/0.1634, allocations: 4 kB / 0.9828 GB, free: 23.77 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 8 ($PRE.triggeredSampler1.y,triggeredSampler1.y,$PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y,$whenCondition2,samTri1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.93e-05/0.1635, allocations: 121.8 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.77e-05/0.1635, allocations: 7.906 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.607e-05/0.1635, allocations: 4.375 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.312e-06/0.1635, allocations: 3.984 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.1635, allocations: 4 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.087e-06/0.1636, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005108/0.1641, allocations: 386.4 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.966e-06/0.1641, allocations: 0 / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.852e-05/0.1642, allocations: 19.86 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.388e-06/0.1642, allocations: 4 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.062e-05/0.1642, allocations: 0 / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.392e-06/0.1642, allocations: 3.953 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.095e-06/0.1642, allocations: 400 / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003144/0.1646, allocations: 219.4 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.506e-05/0.1646, allocations: 85.02 kB / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.88e-05/0.1646, allocations: 0 / 0.9836 GB, free: 22.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001174/0.1648, allocations: 7.984 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.497e-05/0.1648, allocations: 15.94 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.111e-05/0.1648, allocations: 8 kB / 0.9837 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.446e-05/0.1649, allocations: 91.27 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 6.85e-07/0.1649, allocations: 0 / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003462/0.1653, allocations: 16 kB / 0.9838 GB, free: 22.69 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (samTri1.y,samTri.y,$whenCondition2,$whenCondition1,triggeredSampler.y,triggeredSampler1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0001409/0.1654, allocations: 111.2 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003317/0.1658, allocations: 88.19 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.1658, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001373/0.1659, allocations: 39.97 kB / 0.984 GB, free: 22.45 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002315/0.1662, allocations: 14.38 kB / 0.984 GB, free: 22.43 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003598/0.1665, allocations: 175.7 kB / 0.9842 GB, free: 22.24 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001234/0.1667, allocations: 0.6887 MB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.92e-05/0.1667, allocations: 7.984 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.41e-05/0.1668, allocations: 19.38 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.256e-06/0.1668, allocations: 0 / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.003639/0.1705, allocations: 0.8275 MB / 0.9857 GB, free: 20.7 MB / 0.6198 GB