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 4.963/4.963, allocations: 0.5623 GB / 0.5775 GB, free: 3.41 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.002533/0.002534, allocations: 355.2 kB / 0.6446 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.204/4.204, allocations: 410.7 MB / 1.113 GB, free: 6.078 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.001911/0.001911, allocations: 192.8 kB / 1.226 GB, free: 6.176 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005095/0.0005098, allocations: 16 kB / 1.349 GB, free: 8.277 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.781/0.7816, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2006/0.9822, allocations: 137.8 MB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.9825, allocations: 76.45 kB / 1.596 GB, free: 146.4 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01034/0.9929, allocations: 2.512 MB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.583e-06/0.9929, allocations: 0.5938 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.864e-06/0.993, allocations: 0 / 1.598 GB, free: 143.9 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.0005574/0.9935, allocations: 376.9 kB / 1.599 GB, free: 143.5 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.231e-05/0.9936, allocations: 17.84 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.141e-05/0.9936, allocations: 5.125 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001008/0.9938, allocations: 175 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.9938, allocations: 8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.285e-05/0.9938, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002791/0.9941, allocations: 67.45 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.394e-05/0.9941, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.546e-05/0.9942, allocations: 4.75 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.9942, allocations: 7.922 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.9945, allocations: 55.38 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007301/0.9952, allocations: 324.2 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002575/0.9955, allocations: 64.17 kB / 1.6 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001648/0.9957, allocations: 38.12 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.943e-05/0.9957, allocations: 1.312 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000288/0.996, allocations: 80.44 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 3.135e-06/0.9961, allocations: 2.219 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006302/0.9967, allocations: 139.4 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.339e-05/0.9968, allocations: 60.23 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001073/0.9969, allocations: 131.3 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 2.004e-05/0.9969, allocations: 30.55 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.241e-05/0.997, allocations: 92.12 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.331e-05/0.997, allocations: 12.78 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.435e-06/0.997, allocations: 0 / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.652e-05/0.9971, allocations: 323.5 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001742/0.9973, allocations: 33.22 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000192/0.9975, allocations: 78.58 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001925/0.9977, allocations: 37.14 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.156e-06/0.9977, allocations: 0.625 kB / 1.601 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004891/0.9982, allocations: 152.9 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 2.05e-05/0.9983, allocations: 4.5 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.9983, allocations: 4 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.187e-05/0.9983, allocations: 0.6875 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002084/0.9985, allocations: 20.92 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.829e-06/0.9985, allocations: 7.953 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001428/0.9987, allocations: 14.61 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.963e-05/0.9987, allocations: 8 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 0.000101/0.9988, allocations: 121.7 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.272e-05/0.9989, allocations: 8.688 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.756e-05/0.9989, allocations: 12.31 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.9989, allocations: 1.344 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.233e-06/0.999, allocations: 3.984 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.931e-06/0.999, allocations: 8.469 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006682/0.9996, allocations: 380.9 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.286e-06/0.9997, allocations: 0.9688 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001022/0.9998, allocations: 14.39 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.1e-06/0.9998, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.275e-05/0.9998, allocations: 0 / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.899e-06/0.9998, allocations: 3.953 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.9998, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004161/1, allocations: 219.3 kB / 1.602 GB, free: 140.5 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.395e-05/1, allocations: 87.92 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.285e-05/1, allocations: 4 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/1, allocations: 8.734 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.558e-05/1.001, allocations: 13.34 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.019e-05/1.001, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.86e-05/1.001, allocations: 101.3 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.91e-07/1.001, allocations: 1.062 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003554/1.001, allocations: 16 kB / 1.602 GB, free: 140.3 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.0001744/1.001, allocations: 125.7 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004282/1.002, allocations: 85.48 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.316e-06/1.002, allocations: 0.5 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000183/1.002, allocations: 44.92 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.0003486/1.002, allocations: 13.19 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004392/1.003, allocations: 171.6 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001458/1.003, allocations: 0.6907 MB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.853e-05/1.003, allocations: 7.984 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.106e-05/1.003, allocations: 15.44 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of SimCode: time 1.022e-06/1.003, allocations: 0.5938 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of Templates: time 0.004129/1.007, allocations: 0.8466 MB / 1.604 GB, free: 138.3 MB / 0.8542 GB