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 4.925/4.925, allocations: 0.5623 GB / 0.5769 GB, free: 3.32 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.00236/0.002359, allocations: 363.8 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.016/4.016, allocations: 410.7 MB / 1.112 GB, free: 147.8 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.001708/0.001707, allocations: 181.2 kB / 1.225 GB, free: 35.88 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004982/0.0004983, allocations: 14.19 kB / 1.348 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1577/0.1582, allocations: 115.3 MB / 1.461 GB, free: 6.57 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTriggerPositiveStartTime): time 0.0007855/0.1591, allocations: 477.5 kB / 1.461 GB, free: 6.102 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.001169/0.1603, allocations: 1.048 MB / 1.462 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.644e-05/0.1603, allocations: 0 / 1.462 GB, free: 5.039 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.609e-05/0.1604, allocations: 7.938 kB / 1.462 GB, free: 5.031 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.6e-05/0.1605, allocations: 11.91 kB / 1.462 GB, free: 5.02 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.1607, allocations: 39.84 kB / 1.462 GB, free: 4.98 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.123e-05/0.1608, allocations: 67.77 kB / 1.462 GB, free: 4.914 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 8.375e-05/0.1609, allocations: 20.12 kB / 1.462 GB, free: 4.891 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.5e-05/0.161, allocations: 23.86 kB / 1.462 GB, free: 4.867 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.936e-05/0.161, allocations: 27.91 kB / 1.462 GB, free: 4.84 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.618e-05/0.1611, allocations: 3.984 kB / 1.462 GB, free: 4.836 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 6.156e-05/0.1611, allocations: 19.98 kB / 1.462 GB, free: 4.816 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.766e-05/0.1612, allocations: 11.92 kB / 1.462 GB, free: 4.805 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.301e-05/0.1612, allocations: 29.7 kB / 1.462 GB, free: 4.77 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 9.957e-05/0.1613, allocations: 55.88 kB / 1.463 GB, free: 4.715 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 6.646e-06/0.1613, allocations: 4 kB / 1.463 GB, free: 4.711 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.179e-06/0.1614, allocations: 3.938 kB / 1.463 GB, free: 4.707 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.875e-06/0.1614, allocations: 0 / 1.463 GB, free: 4.707 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.0004492/0.1618, allocations: 371.4 kB / 1.463 GB, free: 4.297 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 3.539e-05/0.1619, allocations: 12.03 kB / 1.463 GB, free: 4.285 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.131e-05/0.1619, allocations: 7.906 kB / 1.463 GB, free: 4.277 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.155e-05/0.162, allocations: 167 kB / 1.463 GB, free: 4.074 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.162, allocations: 4 kB / 1.463 GB, free: 4.07 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.819e-05/0.1621, allocations: 8 kB / 1.463 GB, free: 4.062 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002135/0.1623, allocations: 77.59 kB / 1.463 GB, free: 3.98 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.029e-05/0.1623, allocations: 3.984 kB / 1.463 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.061e-05/0.1623, allocations: 0 / 1.463 GB, free: 3.977 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.652e-06/0.1623, allocations: 4 kB / 1.463 GB, free: 3.973 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002141/0.1626, allocations: 55.95 kB / 1.463 GB, free: 3.918 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006174/0.1632, allocations: 328.7 kB / 1.464 GB, free: 3.547 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001821/0.1634, allocations: 62.58 kB / 1.464 GB, free: 3.477 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.1635, allocations: 36.97 kB / 1.464 GB, free: 3.438 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.566e-05/0.1636, allocations: 3.938 kB / 1.464 GB, free: 3.434 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002147/0.1638, allocations: 87.36 kB / 1.464 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.689e-06/0.1638, allocations: 0 / 1.464 GB, free: 3.336 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0004938/0.1643, allocations: 153.7 kB / 1.464 GB, free: 3.18 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.442e-05/0.1644, allocations: 55.36 kB / 1.464 GB, free: 3.113 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.543e-05/0.1645, allocations: 125.8 kB / 1.464 GB, free: 2.98 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.451e-05/0.1645, allocations: 25.7 kB / 1.464 GB, free: 2.949 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.328e-05/0.1646, allocations: 96.05 kB / 1.464 GB, free: 2.852 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.014e-05/0.1646, allocations: 7.844 kB / 1.464 GB, free: 2.844 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.905e-06/0.1646, allocations: 4 kB / 1.464 GB, free: 2.84 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.176e-05/0.1647, allocations: 322.8 kB / 1.464 GB, free: 2.516 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000135/0.1648, allocations: 39.91 kB / 1.465 GB, free: 2.477 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001492/0.165, allocations: 77.98 kB / 1.465 GB, free: 2.379 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001494/0.1651, allocations: 39.92 kB / 1.465 GB, free: 2.34 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.887e-06/0.1652, allocations: 8 kB / 1.465 GB, free: 2.332 MB / 0.6042 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003853/0.1655, allocations: 137.4 kB / 1.465 GB, free: 2.191 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.645e-05/0.1656, allocations: 4.219 kB / 1.465 GB, free: 2.188 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.181e-06/0.1656, allocations: 8.078 kB / 1.465 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.542e-05/0.1656, allocations: 0 / 1.465 GB, free: 2.18 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001576/0.1658, allocations: 27.92 kB / 1.465 GB, free: 2.152 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.068e-05/0.1658, allocations: 15.94 kB / 1.465 GB, free: 2.137 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001118/0.1659, allocations: 15.89 kB / 1.465 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.753e-05/0.166, allocations: 4 kB / 1.465 GB, free: 2.117 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 8.401e-05/0.1661, allocations: 121 kB / 1.465 GB, free: 1.992 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.043e-05/0.1661, allocations: 11.91 kB / 1.465 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.853e-05/0.1661, allocations: 4.375 kB / 1.465 GB, free: 1.98 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.867e-06/0.1661, allocations: 4 kB / 1.465 GB, free: 1.977 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.189e-06/0.1662, allocations: 3.938 kB / 1.465 GB, free: 1.973 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.63e-06/0.1662, allocations: 7.938 kB / 1.465 GB, free: 1.965 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005334/0.1667, allocations: 386.4 kB / 1.465 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.1667, allocations: 0 / 1.465 GB, free: 1.531 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.174e-05/0.1668, allocations: 11.98 kB / 1.465 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1668, allocations: 0 / 1.465 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.93e-06/0.1668, allocations: 0 / 1.465 GB, free: 1.52 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.593e-06/0.1669, allocations: 3.953 kB / 1.465 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.492e-06/0.1669, allocations: 0 / 1.465 GB, free: 1.516 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003433/0.1672, allocations: 219.3 kB / 1.466 GB, free: 1.285 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 6.093e-05/0.1673, allocations: 85.02 kB / 1.466 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.974e-05/0.1673, allocations: 0 / 1.466 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001213/0.1675, allocations: 11.98 kB / 1.466 GB, free: 1.172 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.373e-05/0.1675, allocations: 15.94 kB / 1.466 GB, free: 1.156 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.229e-05/0.1676, allocations: 4 kB / 1.466 GB, free: 1.152 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 7.679e-05/0.1676, allocations: 91.27 kB / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of sort global known variables: time 6.82e-07/0.1677, allocations: 0 / 1.466 GB, free: 1.062 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003623/0.168, allocations: 12 kB / 1.466 GB, free: 1.051 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.0002018/0.1682, allocations: 107.8 kB / 1.466 GB, free: 0.9336 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003851/0.1686, allocations: 91.81 kB / 1.466 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.828e-06/0.1687, allocations: 0 / 1.466 GB, free: 0.8438 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0001597/0.1688, allocations: 40.42 kB / 1.466 GB, free: 0.8047 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003587/0.1692, allocations: 15.92 kB / 1.466 GB, free: 0.7891 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004313/0.1696, allocations: 173.3 kB / 1.466 GB, free: 0.5938 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003882/0.1701, allocations: 0.6926 MB / 1.467 GB, free: 15.88 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.1701, allocations: 11.98 kB / 1.467 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.695e-05/0.1702, allocations: 7.438 kB / 1.467 GB, free: 15.86 MB / 0.6198 GB Notification: Performance of SimCode: time 1.52e-06/0.1702, allocations: 4 kB / 1.467 GB, free: 15.85 MB / 0.6198 GB Notification: Performance of Templates: time 0.004044/0.1742, allocations: 0.8408 MB / 1.468 GB, free: 15.05 MB / 0.6198 GB