Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.SampleTrigger,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Sources.Validation.SampleTrigger") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 5.068/5.068, allocations: 0.5623 GB / 0.5775 GB, free: 3.375 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.003451/0.00345, allocations: 352.7 kB / 0.6446 GB, free: 185.7 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.172/4.172, allocations: 410.7 MB / 1.113 GB, free: 5.938 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.001786/0.001785, allocations: 171.5 kB / 1.226 GB, free: 6.148 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0004955/0.0004957, allocations: 12 kB / 1.349 GB, free: 8.258 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7353/0.7358, allocations: 115.3 MB / 1.461 GB, free: 284.3 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2013/0.9372, allocations: 137.8 MB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002602/0.9375, allocations: 81.64 kB / 1.596 GB, free: 146.3 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01005/0.9476, allocations: 2.497 MB / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.944e-06/0.9476, allocations: 0 / 1.598 GB, free: 143.8 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.534e-06/0.9476, 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.0005611/0.9482, allocations: 384.5 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 3.945e-05/0.9483, allocations: 17.19 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.138e-05/0.9483, allocations: 3.906 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.12e-05/0.9484, allocations: 171 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.048e-05/0.9484, allocations: 8 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.92e-05/0.9485, allocations: 4.5 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002648/0.9487, allocations: 75.47 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.9488, allocations: 0 / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.9488, allocations: 4 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.404e-06/0.9488, allocations: 2.047 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002949/0.9491, allocations: 62.67 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006994/0.9498, allocations: 314.6 kB / 1.599 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002246/0.9501, allocations: 63.95 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001601/0.9502, allocations: 34.47 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 3.363e-05/0.9503, allocations: 4.766 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00028/0.9506, allocations: 77.36 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=7): time 2.314e-06/0.9506, allocations: 0 / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=7): time 0.0006348/0.9512, allocations: 150.1 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.9513, allocations: 63.3 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001022/0.9514, allocations: 126.9 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 1.951e-05/0.9514, allocations: 33.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 4.967e-05/0.9515, allocations: 88.12 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 2.345e-05/0.9515, allocations: 15.81 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.037e-06/0.9516, allocations: 1.25 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.582e-05/0.9516, allocations: 318.8 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001747/0.9518, allocations: 33.84 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001929/0.952, allocations: 76.11 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000191/0.9522, allocations: 44.12 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.9522, allocations: 0 / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004716/0.9527, allocations: 148 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 1.823e-05/0.9528, allocations: 4.969 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.155e-06/0.9528, allocations: 4 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.939e-05/0.9528, allocations: 2.594 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000202/0.953, allocations: 19.98 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.04e-05/0.953, allocations: 8.906 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000142/0.9532, allocations: 18 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.903e-05/0.9532, allocations: 7.938 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 9.615e-05/0.9533, allocations: 121.8 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.017e-05/0.9534, allocations: 12.81 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.548e-05/0.9534, allocations: 8.375 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.769e-06/0.9534, allocations: 0 / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.591e-06/0.9534, allocations: 1.25 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.621e-06/0.9534, allocations: 7.953 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006096/0.9541, allocations: 381.7 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.955e-06/0.9541, allocations: 7.938 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.691e-05/0.9542, allocations: 13.2 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.048e-06/0.9542, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.045e-05/0.9542, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.428e-06/0.9542, allocations: 11.58 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.894e-06/0.9543, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003958/0.9547, allocations: 216 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 6.061e-05/0.9547, allocations: 82.75 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.358e-05/0.9548, allocations: 4.562 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001343/0.9549, allocations: 8.953 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.955, allocations: 9.422 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.038e-05/0.955, allocations: 4 kB / 1.602 GB, free: 140.3 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.113e-05/0.9551, allocations: 95.27 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of sort global known variables: time 3.8e-07/0.9551, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003451/0.9554, allocations: 16.59 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.0001816/0.9556, allocations: 120.4 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0004132/0.956, allocations: 91.09 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.576e-06/0.9561, allocations: 1.438 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00018/0.9563, allocations: 35.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.0003491/0.9566, allocations: 18.94 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.9571, allocations: 172.1 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000155/0.9573, allocations: 0.6926 MB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.485e-05/0.9573, allocations: 5 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.925e-05/0.9574, allocations: 15.42 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of SimCode: time 1.252e-06/0.9574, allocations: 0.7812 kB / 1.603 GB, free: 139 MB / 0.8542 GB Notification: Performance of Templates: time 0.004143/0.9615, allocations: 0.8331 MB / 1.604 GB, free: 138.2 MB / 0.8542 GB