Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.374/2.374, allocations: 251.1 MB / 266.1 MB, free: 11.64 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001578/0.001578, allocations: 173.5 kB / 325.6 MB, free: 2.863 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.565/2.565, allocations: 205.4 MB / 0.5766 GB, free: 20.78 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001276/0.001276, allocations: 95.86 kB / 0.6811 GB, free: 13.63 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004812/0.0004813, allocations: 15.31 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2088/0.2093, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2424/0.4518, allocations: 131.4 MB / 1.027 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.4521, allocations: 75.95 kB / 1.027 GB, free: 13.8 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.0027/0.4548, allocations: 0.7356 MB / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.764e-06/0.4549, allocations: 0 / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 6.763e-06/0.4549, allocations: 0 / 1.028 GB, free: 13.06 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004836/0.4554, allocations: 347.2 kB / 1.028 GB, free: 12.68 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.267e-05/0.4554, allocations: 8.031 kB / 1.028 GB, free: 12.67 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.327e-05/0.4555, allocations: 11.91 kB / 1.028 GB, free: 12.66 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001213/0.4556, allocations: 167 kB / 1.029 GB, free: 12.45 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.4557, allocations: 11.98 kB / 1.029 GB, free: 12.44 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.85e-05/0.4557, allocations: 11.88 kB / 1.029 GB, free: 12.43 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002536/0.456, allocations: 57.67 kB / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.836e-06/0.456, allocations: 0 / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.124e-05/0.456, allocations: 0 / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.959e-06/0.456, allocations: 0 / 1.029 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002885/0.4563, allocations: 51.97 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004452/0.4568, allocations: 264.9 kB / 1.029 GB, free: 12.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002189/0.457, allocations: 54.48 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.548e-05/0.4571, allocations: 4 kB / 1.029 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002519/0.4573, allocations: 67.48 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=4): time 1.924e-06/0.4573, allocations: 4 kB / 1.029 GB, free: 11.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=4): time 0.0005832/0.4579, allocations: 121.5 kB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.267e-05/0.458, allocations: 63.36 kB / 1.029 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.302e-05/0.4581, allocations: 97 kB / 1.029 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 1.888e-05/0.4581, allocations: 25.7 kB / 1.029 GB, free: 11.53 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 5.652e-05/0.4582, allocations: 88.12 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.305e-05/0.4582, allocations: 11.89 kB / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.843e-06/0.4582, allocations: 0 / 1.029 GB, free: 11.43 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001258/0.4584, allocations: 314.8 kB / 1.03 GB, free: 11.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001685/0.4585, allocations: 31.97 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001667/0.4587, allocations: 38.56 kB / 1.03 GB, free: 11.03 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001617/0.4589, allocations: 31.98 kB / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4589, allocations: 0 / 1.03 GB, free: 11 MB / 0.6823 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0003764/0.4593, allocations: 93.5 kB / 1.03 GB, free: 10.9 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.665e-05/0.4593, allocations: 13.23 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.42e-06/0.4594, allocations: 4.094 kB / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.471e-05/0.4594, allocations: 0 / 1.03 GB, free: 10.89 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001344/0.4595, allocations: 11.94 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.047e-06/0.4596, allocations: 4 kB / 1.03 GB, free: 10.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.982e-05/0.4597, allocations: 15.88 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.215e-05/0.4597, allocations: 4 kB / 1.03 GB, free: 10.85 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 4 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,samTri.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 0.0001034/0.4598, allocations: 117.8 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.313e-05/0.4598, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.929e-05/0.4599, allocations: 7.891 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.96e-06/0.4599, allocations: 4 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.4599, allocations: 3.938 kB / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.828e-06/0.4599, allocations: 0 / 1.03 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000662/0.4606, allocations: 350.4 kB / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.385e-06/0.4606, allocations: 0 / 1.03 GB, free: 10.31 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.513e-05/0.4607, allocations: 11.98 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.4607, allocations: 240 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.007e-06/0.4607, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.145e-06/0.4608, allocations: 0 / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.917e-06/0.4608, allocations: 7.953 kB / 1.03 GB, free: 10.29 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004138/0.4612, allocations: 191.4 kB / 1.031 GB, free: 10.09 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.432e-05/0.4612, allocations: 85 kB / 1.031 GB, free: 9.984 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.231e-05/0.4613, allocations: 8.125 kB / 1.031 GB, free: 9.977 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001261/0.4614, allocations: 8 kB / 1.031 GB, free: 9.969 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.921e-05/0.4615, allocations: 11.92 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.4615, allocations: 7.953 kB / 1.031 GB, free: 9.949 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 5.255e-05/0.4616, allocations: 83.58 kB / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4616, allocations: 0 / 1.031 GB, free: 9.867 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0002826/0.4619, allocations: 12 kB / 1.031 GB, free: 9.855 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (samTri.y,$whenCondition1,triggeredSampler.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * 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.0001468/0.462, allocations: 99.23 kB / 1.031 GB, free: 9.75 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003751/0.4624, allocations: 59.95 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.158e-06/0.4624, allocations: 0.8594 kB / 1.031 GB, free: 9.691 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002013/0.4626, allocations: 32.11 kB / 1.031 GB, free: 9.66 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002303/0.4629, allocations: 12 kB / 1.031 GB, free: 9.648 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003836/0.4633, allocations: 124.7 kB / 1.031 GB, free: 9.496 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002789/0.4636, allocations: 0.6848 MB / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 3.889e-05/0.4636, allocations: 0 / 1.032 GB, free: 8.785 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.479e-05/0.4637, allocations: 19.38 kB / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/0.4637, allocations: 0 / 1.032 GB, free: 8.766 MB / 0.6823 GB Notification: Performance of Templates: time 0.003204/0.4669, allocations: 476.9 kB / 1.032 GB, free: 8.305 MB / 0.6823 GB