Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger.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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.851/2.851, allocations: 287.9 MB / 302.9 MB, free: 8.324 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.001395/0.001395, allocations: 184.5 kB / 371.4 MB, free: 10.63 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.108/2.108, allocations: 205.4 MB / 0.6301 GB, free: 10.29 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.001022/0.001022, allocations: 93.31 kB / 0.7434 GB, free: 6.312 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004733/0.0004737, allocations: 12.34 kB / 0.8662 GB, free: 141.6 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1724/0.1729, allocations: 115.3 MB / 0.9788 GB, free: 28.15 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger): time 0.0008184/0.1737, allocations: 469.6 kB / 0.9792 GB, free: 27.69 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001302/0.1751, allocations: 1.056 MB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.311e-05/0.1751, allocations: 0 / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 2.136e-05/0.1752, allocations: 3.938 kB / 0.9803 GB, free: 26.61 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 6.898e-05/0.1752, allocations: 15.91 kB / 0.9803 GB, free: 26.6 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002432/0.1755, allocations: 35.91 kB / 0.9803 GB, free: 26.56 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.447e-05/0.1756, allocations: 47.88 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 8.884e-05/0.1757, allocations: 16.16 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.385e-05/0.1758, allocations: 23.92 kB / 0.9804 GB, free: 26.47 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.288e-05/0.1758, allocations: 31.84 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.578e-05/0.1759, allocations: 4 kB / 0.9804 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.784e-05/0.1759, allocations: 15.98 kB / 0.9804 GB, free: 26.42 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.672e-05/0.176, allocations: 11.92 kB / 0.9805 GB, free: 26.41 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.81e-05/0.176, allocations: 37.7 kB / 0.9805 GB, free: 26.37 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.621e-05/0.1761, allocations: 47.88 kB / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.318e-06/0.1761, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.895e-06/0.1761, allocations: 0 / 0.9805 GB, free: 26.32 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.199e-06/0.1761, allocations: 3.938 kB / 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.0004448/0.1766, allocations: 379.4 kB / 0.9809 GB, free: 25.9 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.594e-05/0.1766, allocations: 8.031 kB / 0.9809 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.1767, allocations: 7.906 kB / 0.9809 GB, free: 25.88 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.462e-05/0.1768, allocations: 182.8 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.759e-05/0.1768, allocations: 4 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.919e-05/0.1768, allocations: 4 kB / 0.9811 GB, free: 25.66 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002095/0.1771, allocations: 69.67 kB / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.478e-06/0.1771, allocations: 0 / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.101e-05/0.1771, allocations: 0 / 0.9812 GB, free: 25.58 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.663e-06/0.1771, allocations: 7.984 kB / 0.9812 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002093/0.1773, allocations: 51.91 kB / 0.9812 GB, free: 25.52 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000614/0.178, allocations: 336.7 kB / 0.9815 GB, free: 25.14 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001978/0.1782, allocations: 66.64 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.252e-05/0.1782, allocations: 3.938 kB / 0.9816 GB, free: 25.07 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002174/0.1785, allocations: 83.44 kB / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.78e-06/0.1785, allocations: 0 / 0.9817 GB, free: 24.97 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004678/0.1789, allocations: 141.5 kB / 0.9818 GB, free: 24.83 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.959e-05/0.179, allocations: 59.36 kB / 0.9819 GB, free: 24.76 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.343e-05/0.1791, allocations: 117.8 kB / 0.982 GB, free: 24.63 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.515e-05/0.1791, allocations: 29.7 kB / 0.982 GB, free: 24.6 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.455e-05/0.1792, allocations: 104 kB / 0.9821 GB, free: 24.49 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.178e-05/0.1792, allocations: 15.84 kB / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.472e-06/0.1792, allocations: 0 / 0.9821 GB, free: 24.48 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.43e-05/0.1793, allocations: 318.8 kB / 0.9824 GB, free: 24.16 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001343/0.1794, allocations: 35.98 kB / 0.9825 GB, free: 24.12 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001516/0.1796, allocations: 81.97 kB / 0.9826 GB, free: 24.02 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001476/0.1797, allocations: 39.98 kB / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.159e-06/0.1798, allocations: 0 / 0.9826 GB, free: 23.98 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003843/0.1802, allocations: 141.5 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.826e-05/0.1802, allocations: 8 kB / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.745e-06/0.1802, allocations: 0 / 0.9827 GB, free: 23.83 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.767e-05/0.1802, allocations: 4 kB / 0.9827 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001505/0.1804, allocations: 19.97 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.06e-06/0.1804, allocations: 4 kB / 0.9828 GB, free: 23.8 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001126/0.1805, allocations: 23.95 kB / 0.9828 GB, free: 23.78 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.792e-05/0.1806, allocations: 11.92 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 8.828e-05/0.1807, allocations: 123 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.896e-05/0.1807, allocations: 3.906 kB / 0.9829 GB, free: 23.63 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.188e-05/0.1807, allocations: 12.38 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.185e-06/0.1808, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.477e-06/0.1808, allocations: 0 / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.321e-06/0.1808, allocations: 3.938 kB / 0.9829 GB, free: 23.62 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.1813, allocations: 394.7 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.477e-06/0.1813, allocations: 0 / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.41e-05/0.1814, allocations: 11.98 kB / 0.9833 GB, free: 23.17 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.213e-06/0.1814, allocations: 4 kB / 0.9833 GB, free: 23.16 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.427e-05/0.1815, allocations: 11.98 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.884e-06/0.1815, allocations: 3.953 kB / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.009e-06/0.1815, allocations: 0 / 0.9833 GB, free: 23.15 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003246/0.1818, allocations: 211.3 kB / 0.9835 GB, free: 22.93 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.51e-05/0.1819, allocations: 85.02 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.061e-05/0.1819, allocations: 4 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001307/0.182, allocations: 11.98 kB / 0.9836 GB, free: 22.81 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.067e-05/0.1821, allocations: 7.953 kB / 0.9836 GB, free: 22.8 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.33e-05/0.1821, allocations: 7.984 kB / 0.9837 GB, free: 22.79 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.929e-05/0.1822, allocations: 87.28 kB / 0.9837 GB, free: 22.71 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.26e-07/0.1822, allocations: 4 kB / 0.9837 GB, free: 22.7 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.000358/0.1826, allocations: 19.98 kB / 0.9838 GB, free: 22.68 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.0001475/0.1827, allocations: 103.2 kB / 0.9839 GB, free: 22.57 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003537/0.1831, allocations: 91.92 kB / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.1831, allocations: 0 / 0.9839 GB, free: 22.48 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001424/0.1832, allocations: 39.92 kB / 0.984 GB, free: 22.44 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002402/0.1835, allocations: 11.98 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.000414/0.1839, allocations: 173.7 kB / 0.9842 GB, free: 22.23 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001241/0.1841, allocations: 0.6887 MB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.796e-05/0.1841, allocations: 4 kB / 0.9848 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.422e-05/0.1842, allocations: 11.44 kB / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of SimCode: time 1.427e-06/0.1842, allocations: 0 / 0.9849 GB, free: 21.5 MB / 0.6198 GB Notification: Performance of Templates: time 0.003807/0.188, allocations: 0.8395 MB / 0.9857 GB, free: 20.67 MB / 0.6198 GB