Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime.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.SampleTriggerNegativeStartTime,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 2.821/2.821, allocations: 287.9 MB / 302.9 MB, free: 8.266 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.001455/0.001455, allocations: 182.7 kB / 371.4 MB, free: 10.68 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 1.994/1.994, allocations: 205.4 MB / 0.6301 GB, free: 10.4 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.001032/0.001032, allocations: 95.53 kB / 0.7434 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004816/0.0004821, allocations: 13.84 kB / 0.8662 GB, free: 141.2 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1632/0.1637, allocations: 115.3 MB / 0.9788 GB, free: 28.18 MB / 0.6198 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.00076/0.1645, allocations: 473.6 kB / 0.9792 GB, free: 27.71 MB / 0.6198 GB Notification: Performance of NFInst.instExpressions: time 0.001145/0.1657, allocations: 1.056 MB / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.04e-05/0.1658, allocations: 0 / 0.9803 GB, free: 26.64 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 1.672e-05/0.1658, allocations: 7.922 kB / 0.9803 GB, free: 26.63 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 8.669e-05/0.1659, allocations: 7.984 kB / 0.9803 GB, free: 26.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002416/0.1661, allocations: 51.83 kB / 0.9803 GB, free: 26.57 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 7.232e-05/0.1662, allocations: 35.95 kB / 0.9804 GB, free: 26.54 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 7.943e-05/0.1663, allocations: 20.11 kB / 0.9804 GB, free: 26.52 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 6.026e-05/0.1664, allocations: 19.92 kB / 0.9804 GB, free: 26.5 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 5.85e-05/0.1665, allocations: 31.84 kB / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 1.354e-05/0.1665, allocations: 0 / 0.9804 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 5.764e-05/0.1666, allocations: 15.98 kB / 0.9804 GB, free: 26.45 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 1.622e-05/0.1666, allocations: 7.984 kB / 0.9805 GB, free: 26.44 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 2.927e-05/0.1666, allocations: 37.64 kB / 0.9805 GB, free: 26.4 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 9.589e-05/0.1667, allocations: 55.88 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.013e-06/0.1667, allocations: 4 kB / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.781e-06/0.1668, allocations: 0 / 0.9805 GB, free: 26.34 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 5.661e-06/0.1668, allocations: 0 / 0.9805 GB, free: 26.34 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.0004348/0.1672, allocations: 371.4 kB / 0.9809 GB, free: 25.93 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.418e-05/0.1673, allocations: 12.02 kB / 0.9809 GB, free: 25.92 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.564e-05/0.1673, allocations: 7.906 kB / 0.9809 GB, free: 25.91 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.746e-05/0.1674, allocations: 179 kB / 0.9811 GB, free: 25.7 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.646e-05/0.1674, allocations: 4 kB / 0.9811 GB, free: 25.69 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.637e-05/0.1674, allocations: 7.938 kB / 0.9811 GB, free: 25.68 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002074/0.1677, allocations: 73.66 kB / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.676e-06/0.1677, allocations: 0 / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.1677, allocations: 0 / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.342e-06/0.1677, allocations: 0 / 0.9812 GB, free: 25.61 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002165/0.1679, allocations: 67.88 kB / 0.9812 GB, free: 25.54 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006036/0.1686, allocations: 332.6 kB / 0.9816 GB, free: 25.16 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001783/0.1688, allocations: 54.55 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 2.175e-05/0.1688, allocations: 4 kB / 0.9816 GB, free: 25.1 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002164/0.169, allocations: 87.52 kB / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 3.334e-06/0.169, allocations: 0 / 0.9817 GB, free: 25 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0004833/0.1695, allocations: 153.5 kB / 0.9818 GB, free: 24.84 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.474e-05/0.1696, allocations: 55.36 kB / 0.9819 GB, free: 24.78 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.577e-05/0.1697, allocations: 121.8 kB / 0.982 GB, free: 24.65 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.602e-05/0.1697, allocations: 29.7 kB / 0.982 GB, free: 24.61 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 4.397e-05/0.1698, allocations: 92.05 kB / 0.9821 GB, free: 24.52 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.236e-05/0.1698, allocations: 15.83 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.665e-06/0.1698, allocations: 4 kB / 0.9821 GB, free: 24.5 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 5.489e-05/0.1699, allocations: 322.8 kB / 0.9825 GB, free: 24.18 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001349/0.17, allocations: 31.97 kB / 0.9825 GB, free: 24.14 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001495/0.1702, allocations: 82.23 kB / 0.9826 GB, free: 24.04 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001662/0.1704, allocations: 35.98 kB / 0.9826 GB, free: 24.01 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.251e-06/0.1704, allocations: 8 kB / 0.9826 GB, free: 24 MB / 0.6198 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000387/0.1708, allocations: 137.4 kB / 0.9827 GB, free: 23.86 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.9e-05/0.1708, allocations: 9.453 kB / 0.9827 GB, free: 23.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.621e-06/0.1709, allocations: 8 kB / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.719e-05/0.1709, allocations: 0 / 0.9827 GB, free: 23.84 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001594/0.171, allocations: 23.92 kB / 0.9828 GB, free: 23.82 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.003e-06/0.1711, allocations: 7.984 kB / 0.9828 GB, free: 23.81 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000112/0.1712, allocations: 19.84 kB / 0.9828 GB, free: 23.79 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.763e-05/0.1712, allocations: 8 kB / 0.9828 GB, free: 23.79 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.411e-05/0.1713, allocations: 121.8 kB / 0.9829 GB, free: 23.66 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.836e-05/0.1713, allocations: 7.906 kB / 0.9829 GB, free: 23.65 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.927e-05/0.1714, allocations: 8.375 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.275e-06/0.1714, allocations: 4 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.035e-06/0.1714, allocations: 0 / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.909e-06/0.1714, allocations: 3.984 kB / 0.9829 GB, free: 23.64 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005191/0.172, allocations: 378.5 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.597e-06/0.172, allocations: 3.938 kB / 0.9833 GB, free: 23.21 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.172e-05/0.1721, allocations: 15.92 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.451e-06/0.1721, allocations: 0 / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.067e-05/0.1721, allocations: 0 / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.495e-06/0.1721, allocations: 3.953 kB / 0.9833 GB, free: 23.19 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.263e-06/0.1721, allocations: 4 kB / 0.9833 GB, free: 23.18 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003162/0.1724, allocations: 215.4 kB / 0.9835 GB, free: 22.96 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 2.589e-05/0.1725, allocations: 85.02 kB / 0.9836 GB, free: 22.86 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.071e-05/0.1725, allocations: 4 kB / 0.9836 GB, free: 22.85 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001169/0.1726, allocations: 15.92 kB / 0.9836 GB, free: 22.84 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.663e-05/0.1727, allocations: 11.94 kB / 0.9836 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.031e-05/0.1727, allocations: 4 kB / 0.9837 GB, free: 22.82 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 4.693e-05/0.1728, allocations: 91.92 kB / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 7.12e-07/0.1728, allocations: 0 / 0.9837 GB, free: 22.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0003546/0.1731, allocations: 16 kB / 0.9838 GB, free: 22.71 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.0001386/0.1733, allocations: 107.5 kB / 0.9839 GB, free: 22.6 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.0003418/0.1736, allocations: 87.88 kB / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.1737, allocations: 0 / 0.9839 GB, free: 22.51 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0001419/0.1738, allocations: 44.42 kB / 0.984 GB, free: 22.47 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.1741, allocations: 13.75 kB / 0.984 GB, free: 22.46 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003496/0.1744, allocations: 173.3 kB / 0.9842 GB, free: 22.26 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001223/0.1746, allocations: 0.6926 MB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 4.176e-05/0.1746, allocations: 7.938 kB / 0.9848 GB, free: 21.54 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.142e-05/0.1747, allocations: 15.42 kB / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of SimCode: time 1.45e-06/0.1747, allocations: 0 / 0.9849 GB, free: 21.52 MB / 0.6198 GB Notification: Performance of Templates: time 0.003571/0.1783, allocations: 0.8353 MB / 0.9857 GB, free: 20.72 MB / 0.6198 GB