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.509/2.509, allocations: 253.2 MB / 260.6 MB, free: 7.402 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.00141/0.001409, allocations: 183.4 kB / 319.9 MB, free: 3.094 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.282/2.282, allocations: 205.6 MB / 0.5708 GB, free: 15.3 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.001146/0.001145, allocations: 85.02 kB / 0.6751 GB, free: 4.652 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.36e-05/2.351e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2159/0.216, allocations: 106.3 MB / 0.8887 GB, free: 11.84 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9432/1.159, allocations: 131.6 MB / 1.017 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002775/1.16, allocations: 72.2 kB / 1.017 GB, free: 5.695 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.002789/1.162, allocations: 0.7472 MB / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.843e-06/1.162, allocations: 0 / 1.018 GB, free: 5.012 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.628e-06/1.162, allocations: 4.938 kB / 1.018 GB, free: 5.008 MB / 0.6355 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.000492/1.163, allocations: 334.4 kB / 1.018 GB, free: 4.641 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.895e-05/1.163, allocations: 12.03 kB / 1.018 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.335e-05/1.163, allocations: 0 / 1.018 GB, free: 4.629 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/1.163, allocations: 182.9 kB / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.814e-05/1.163, allocations: 0 / 1.019 GB, free: 4.41 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.542e-05/1.163, allocations: 4 kB / 1.019 GB, free: 4.406 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.653e-05/1.163, allocations: 7.375 kB / 1.019 GB, free: 4.402 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.6e-05/1.163, allocations: 47.62 kB / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/1.164, allocations: 0 / 1.019 GB, free: 4.355 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.216e-05/1.164, allocations: 3.938 kB / 1.019 GB, free: 4.352 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.086e-06/1.164, allocations: 4 kB / 1.019 GB, free: 4.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004744/1.164, allocations: 243.5 kB / 1.019 GB, free: 4.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.642e-05/1.164, allocations: 29.58 kB / 1.019 GB, free: 4.051 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.973e-05/1.164, allocations: 8.859 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.107e-05/1.164, allocations: 5 kB / 1.019 GB, free: 4.039 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001199/1.164, allocations: 55.62 kB / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 1.874e-06/1.164, allocations: 0 / 1.019 GB, free: 3.977 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001984/1.165, allocations: 64.91 kB / 1.019 GB, free: 3.914 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.73e-05/1.165, allocations: 51.41 kB / 1.019 GB, free: 3.852 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.88e-05/1.165, allocations: 96.81 kB / 1.019 GB, free: 3.754 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.36e-05/1.165, allocations: 25.7 kB / 1.019 GB, free: 3.723 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.856e-05/1.165, allocations: 89.69 kB / 1.019 GB, free: 3.637 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.239e-05/1.165, allocations: 7.906 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.31e-06/1.165, allocations: 0 / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001459/1.165, allocations: 318.4 kB / 1.02 GB, free: 3.312 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.995e-05/1.165, allocations: 4 kB / 1.02 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.885e-05/1.165, allocations: 41.25 kB / 1.02 GB, free: 3.266 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.602e-05/1.165, allocations: 4 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.934e-06/1.165, allocations: 0 / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001704/1.165, allocations: 60.11 kB / 1.02 GB, free: 3.203 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.083e-05/1.165, allocations: 9.391 kB / 1.02 GB, free: 3.195 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.811e-06/1.165, allocations: 4.094 kB / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.485e-05/1.165, allocations: 0 / 1.02 GB, free: 3.191 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001409/1.166, allocations: 14.69 kB / 1.02 GB, free: 3.18 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.418e-06/1.166, allocations: 4.297 kB / 1.02 GB, free: 3.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.88e-05/1.166, allocations: 8 kB / 1.02 GB, free: 3.168 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.076e-05/1.166, allocations: 0 / 1.02 GB, free: 3.168 MB / 0.6355 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 () * 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.0001064/1.166, allocations: 112.9 kB / 1.02 GB, free: 3.051 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.333e-05/1.166, allocations: 7.438 kB / 1.02 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.337e-05/1.166, allocations: 8.328 kB / 1.02 GB, free: 3.031 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.151e-06/1.166, allocations: 4 kB / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.979e-06/1.166, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.697e-06/1.166, allocations: 0 / 1.02 GB, free: 3.027 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003545/1.166, allocations: 286.4 kB / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.244e-06/1.166, allocations: 0 / 1.02 GB, free: 2.719 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001009/1.167, allocations: 11.98 kB / 1.02 GB, free: 2.707 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.146e-06/1.167, allocations: 4 kB / 1.02 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.257e-06/1.167, allocations: 3.938 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/1.167, allocations: 0 / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/1.167, allocations: 0 / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001823/1.167, allocations: 161.1 kB / 1.02 GB, free: 2.535 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.269e-05/1.167, allocations: 85.03 kB / 1.02 GB, free: 2.434 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.954e-05/1.167, allocations: 4 kB / 1.02 GB, free: 2.43 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001335/1.167, allocations: 8 kB / 1.02 GB, free: 2.422 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.559e-05/1.167, allocations: 7.984 kB / 1.02 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.316e-06/1.167, allocations: 0.875 kB / 1.02 GB, free: 2.414 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 5.557e-05/1.167, allocations: 86.27 kB / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.81e-07/1.167, allocations: 0 / 1.02 GB, free: 2.332 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003072/1.167, allocations: 8 kB / 1.02 GB, free: 2.324 MB / 0.6355 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 () * 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.0001441/1.168, allocations: 99.23 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001206/1.168, allocations: 26.81 kB / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.464e-06/1.168, allocations: 0 / 1.021 GB, free: 2.199 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 5.483e-05/1.168, allocations: 15.31 kB / 1.021 GB, free: 2.188 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/1.168, allocations: 10.48 kB / 1.021 GB, free: 2.18 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000271/1.168, allocations: 82.14 kB / 1.021 GB, free: 2.082 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003548/1.169, allocations: 0.6884 MB / 1.021 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.632e-05/1.169, allocations: 192 / 1.021 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.259e-05/1.169, allocations: 15.44 kB / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of SimCode: time 7.01e-07/1.169, allocations: 0 / 1.021 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of Templates: time 0.003114/1.172, allocations: 458.4 kB / 1.022 GB, free: 0.9258 MB / 0.6355 GB