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 5.29/5.29, allocations: 0.5623 GB / 0.5769 GB, free: 3.367 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.002424/0.002423, allocations: 356.1 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.064/4.064, allocations: 410.7 MB / 1.112 GB, free: 147.7 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.001681/0.00168, allocations: 190.3 kB / 1.225 GB, free: 35.89 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0005036/0.0005039, allocations: 12.88 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1596/0.1602, allocations: 115.3 MB / 1.461 GB, free: 6.582 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerNegativeStartTime): time 0.0007997/0.161, allocations: 473.5 kB / 1.461 GB, free: 6.117 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001174/0.1622, allocations: 1.052 MB / 1.462 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.433e-05/0.1623, allocations: 0 / 1.462 GB, free: 5.051 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.928e-05/0.1623, allocations: 7.938 kB / 1.462 GB, free: 5.043 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.097e-05/0.1624, allocations: 7.922 kB / 1.462 GB, free: 5.035 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002354/0.1626, allocations: 43.83 kB / 1.462 GB, free: 4.992 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.998e-05/0.1627, allocations: 67.77 kB / 1.462 GB, free: 4.926 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.1628, allocations: 8.188 kB / 1.462 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.599e-05/0.1629, allocations: 31.84 kB / 1.462 GB, free: 4.883 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.753e-05/0.163, allocations: 27.91 kB / 1.462 GB, free: 4.855 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.62e-05/0.163, allocations: 4 kB / 1.462 GB, free: 4.852 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 5.965e-05/0.1631, allocations: 15.98 kB / 1.462 GB, free: 4.836 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.886e-05/0.1631, allocations: 19.91 kB / 1.462 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.911e-05/0.1631, allocations: 33.7 kB / 1.463 GB, free: 4.777 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.472e-05/0.1632, allocations: 47.89 kB / 1.463 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.322e-06/0.1632, allocations: 0 / 1.463 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.824e-06/0.1633, allocations: 0 / 1.463 GB, free: 4.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 6.271e-06/0.1633, allocations: 0 / 1.463 GB, free: 4.73 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0004544/0.1637, allocations: 379.3 kB / 1.463 GB, free: 4.312 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.563e-05/0.1638, allocations: 8.031 kB / 1.463 GB, free: 4.305 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.728e-05/0.1638, allocations: 7.906 kB / 1.463 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.958e-05/0.1639, allocations: 175 kB / 1.463 GB, free: 4.086 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.706e-05/0.1639, allocations: 4 kB / 1.463 GB, free: 4.082 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.004e-05/0.164, allocations: 4 kB / 1.463 GB, free: 4.078 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000213/0.1642, allocations: 73.59 kB / 1.463 GB, free: 4 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/0.1642, allocations: 7.938 kB / 1.463 GB, free: 3.992 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.172e-05/0.1642, allocations: 8 kB / 1.463 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.431e-06/0.1643, allocations: 0 / 1.463 GB, free: 3.984 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002069/0.1645, allocations: 51.95 kB / 1.463 GB, free: 3.934 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006165/0.1651, allocations: 328.7 kB / 1.464 GB, free: 3.562 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001773/0.1653, allocations: 62.59 kB / 1.464 GB, free: 3.492 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001173/0.1654, allocations: 40.95 kB / 1.464 GB, free: 3.449 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.977e-05/0.1655, allocations: 3.938 kB / 1.464 GB, free: 3.445 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002078/0.1657, allocations: 79.38 kB / 1.464 GB, free: 3.355 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.507e-06/0.1657, allocations: 4 kB / 1.464 GB, free: 3.352 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004785/0.1662, allocations: 149.5 kB / 1.464 GB, free: 3.199 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.986e-05/0.1662, allocations: 59.36 kB / 1.464 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.27e-05/0.1663, allocations: 117.8 kB / 1.464 GB, free: 3.004 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.596e-05/0.1664, allocations: 29.7 kB / 1.464 GB, free: 2.969 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1664, allocations: 96.03 kB / 1.464 GB, free: 2.871 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.109e-05/0.1664, allocations: 15.84 kB / 1.464 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.734e-06/0.1665, allocations: 0 / 1.464 GB, free: 2.855 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.241e-05/0.1665, allocations: 318.8 kB / 1.464 GB, free: 2.535 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001315/0.1667, allocations: 39.97 kB / 1.465 GB, free: 2.496 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001417/0.1668, allocations: 73.98 kB / 1.465 GB, free: 2.402 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.167, allocations: 43.92 kB / 1.465 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.203e-06/0.167, allocations: 0 / 1.465 GB, free: 2.359 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003666/0.1674, allocations: 145.4 kB / 1.465 GB, free: 2.211 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.757e-05/0.1674, allocations: 11.12 kB / 1.465 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.117e-06/0.1674, allocations: 0 / 1.465 GB, free: 2.203 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.603e-05/0.1674, allocations: 7.984 kB / 1.465 GB, free: 2.195 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001533/0.1676, allocations: 24.2 kB / 1.465 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.139e-06/0.1676, allocations: 7.891 kB / 1.465 GB, free: 2.164 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001089/0.1677, allocations: 15.91 kB / 1.465 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.972e-05/0.1678, allocations: 7.984 kB / 1.465 GB, free: 2.141 MB / 0.6042 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.851e-05/0.1678, allocations: 117.8 kB / 1.465 GB, free: 2.016 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.789e-05/0.1679, allocations: 3.906 kB / 1.465 GB, free: 2.012 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.054e-05/0.1679, allocations: 12.38 kB / 1.465 GB, free: 2.004 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.876e-06/0.1679, allocations: 3.984 kB / 1.465 GB, free: 2 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.865e-06/0.1679, allocations: 7.938 kB / 1.465 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.698e-06/0.168, allocations: 3.953 kB / 1.465 GB, free: 1.988 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000504/0.1685, allocations: 386.7 kB / 1.465 GB, free: 1.555 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.1685, allocations: 4 kB / 1.465 GB, free: 1.551 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.993e-05/0.1686, allocations: 11.98 kB / 1.465 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.008e-06/0.1686, allocations: 0 / 1.465 GB, free: 1.539 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.217e-05/0.1686, allocations: 4 kB / 1.465 GB, free: 1.535 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.163e-06/0.1686, allocations: 3.953 kB / 1.465 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.596e-06/0.1686, allocations: 0 / 1.465 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000343/0.169, allocations: 219.4 kB / 1.466 GB, free: 1.301 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.004e-05/0.169, allocations: 81.02 kB / 1.466 GB, free: 1.203 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1691, allocations: 4 kB / 1.466 GB, free: 1.199 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001201/0.1692, allocations: 11.98 kB / 1.466 GB, free: 1.188 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.614e-05/0.1693, allocations: 11.94 kB / 1.466 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.3e-06/0.1693, allocations: 4 kB / 1.466 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.954e-05/0.1694, allocations: 91.92 kB / 1.466 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.93e-07/0.1694, allocations: 0 / 1.466 GB, free: 1.082 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003611/0.1698, allocations: 20 kB / 1.466 GB, free: 1.062 MB / 0.6042 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.0001756/0.1699, allocations: 100.1 kB / 1.466 GB, free: 0.9531 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003666/0.1703, allocations: 99.86 kB / 1.466 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.724e-06/0.1703, allocations: 0 / 1.466 GB, free: 0.8555 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001519/0.1705, allocations: 35.98 kB / 1.466 GB, free: 0.8203 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003512/0.1709, allocations: 16.3 kB / 1.466 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004481/0.1713, allocations: 173.3 kB / 1.466 GB, free: 0.6094 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003947/0.1718, allocations: 0.6926 MB / 1.467 GB, free: 15.89 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.244e-05/0.1718, allocations: 8 kB / 1.467 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.07e-05/0.1719, allocations: 15.42 kB / 1.467 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of SimCode: time 1.67e-06/0.1719, allocations: 0 / 1.467 GB, free: 15.87 MB / 0.6198 GB Notification: Performance of Templates: time 0.004112/0.176, allocations: 0.8373 MB / 1.468 GB, free: 15.07 MB / 0.6198 GB