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.971/4.971, allocations: 0.5623 GB / 0.5775 GB, free: 3.332 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.002706/0.002706, allocations: 357 kB / 0.6447 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.14/4.14, allocations: 410.7 MB / 1.113 GB, free: 5.945 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001897/0.001896, allocations: 191.1 kB / 1.226 GB, free: 6.156 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005162/0.0005164, allocations: 20 kB / 1.349 GB, free: 8.262 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.754/0.7545, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2011/0.9556, allocations: 137.8 MB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002545/0.956, allocations: 75.95 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01006/0.966, allocations: 2.513 MB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.094e-06/0.9661, allocations: 1.25 kB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.043e-06/0.9661, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 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.0005531/0.9667, allocations: 376.4 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.765e-05/0.9667, allocations: 15.62 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.874e-05/0.9668, allocations: 8.406 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.569e-05/0.9669, allocations: 180.7 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.032e-05/0.9669, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.9669, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002628/0.9672, allocations: 66.95 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.128e-05/0.9672, allocations: 3.984 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.428e-05/0.9673, allocations: 1.062 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.072e-05/0.9673, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002961/0.9676, allocations: 59.56 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.9683, allocations: 319.6 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000226/0.9685, allocations: 66.05 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001608/0.9687, allocations: 32.97 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.928e-05/0.9687, allocations: 0 / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002599/0.969, allocations: 80.72 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 1.844e-06/0.969, allocations: 0.6875 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006048/0.9696, allocations: 148.5 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.571e-05/0.9697, allocations: 59.83 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.403e-05/0.9698, allocations: 128.5 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.806e-05/0.9698, allocations: 30.86 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.639e-05/0.9699, allocations: 88.14 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.9699, allocations: 7.812 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.18e-05/0.9699, allocations: 9.406 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.011e-05/0.97, allocations: 318.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001875/0.9702, allocations: 33.28 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001931/0.9704, allocations: 76.89 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001906/0.9706, allocations: 42.73 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.454e-06/0.9706, allocations: 0.8125 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004646/0.9711, allocations: 148.5 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.9711, allocations: 5.156 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.865e-06/0.9711, allocations: 7.938 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.696e-05/0.9712, allocations: 4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001971/0.9714, allocations: 21.73 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.237e-06/0.9714, allocations: 7.953 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001405/0.9715, allocations: 13.66 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.085e-05/0.9716, allocations: 9.031 kB / 1.601 GB, free: 141.3 MB / 0.8542 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.752e-05/0.9717, allocations: 125.7 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.733e-05/0.9717, allocations: 9.812 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.176e-05/0.9717, allocations: 12.36 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.9718, allocations: 4 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.96e-06/0.9718, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.9e-06/0.9718, allocations: 3.953 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.9724, allocations: 381.5 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.096e-06/0.9724, allocations: 6.172 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.181e-05/0.9725, allocations: 8 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.9725, allocations: 1.453 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.09e-05/0.9726, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/0.9726, allocations: 7.938 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.853e-06/0.9726, allocations: 1.734 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004004/0.973, allocations: 214.4 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 2.657e-05/0.973, allocations: 89.02 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.9731, allocations: 3.984 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.9732, allocations: 10.88 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.001e-05/0.9733, allocations: 7.938 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.879e-06/0.9733, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.846e-05/0.9733, allocations: 93.45 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9734, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000329/0.9737, allocations: 24.69 kB / 1.602 GB, free: 140.2 MB / 0.8542 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.0001698/0.9739, allocations: 116.4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004466/0.9743, allocations: 82.92 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 4.028e-06/0.9744, allocations: 0.9688 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.0001838/0.9745, allocations: 52.47 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.9749, allocations: 9.781 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004136/0.9753, allocations: 168 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001501/0.9755, allocations: 0.6926 MB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.9756, allocations: 8.969 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.959e-05/0.9756, allocations: 11.44 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of SimCode: time 9.02e-07/0.9756, allocations: 0.5938 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of Templates: time 0.004246/0.9799, allocations: 0.8567 MB / 1.604 GB, free: 138.3 MB / 0.8542 GB