Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.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.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.251/2.251, allocations: 251.1 MB / 266.1 MB, free: 11.54 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.001531/0.00153, allocations: 183.2 kB / 325.6 MB, free: 2.809 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.569/2.569, allocations: 205.4 MB / 0.5766 GB, free: 21.08 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.001533/0.001533, allocations: 102.2 kB / 0.6811 GB, free: 13.99 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004704/0.0004703, allocations: 16.09 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.232/0.2325, allocations: 106.3 MB / 0.8989 GB, free: 65.89 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.224/0.4566, allocations: 131.5 MB / 1.027 GB, free: 14.19 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002769/0.4569, allocations: 71.95 kB / 1.027 GB, free: 14.12 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.006138/0.4631, allocations: 1.363 MB / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.264e-06/0.4631, allocations: 0 / 1.029 GB, free: 12.75 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.955e-06/0.4631, allocations: 0 / 1.029 GB, free: 12.75 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006965/0.4638, allocations: 375 kB / 1.029 GB, free: 12.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.132e-05/0.4639, allocations: 12.03 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.625e-05/0.464, allocations: 4 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4641, allocations: 174.9 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.979e-05/0.4642, allocations: 4 kB / 1.029 GB, free: 12.11 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.519e-05/0.4642, allocations: 4 kB / 1.029 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003144/0.4645, allocations: 77.58 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.042e-05/0.4646, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.811e-05/0.4646, allocations: 0 / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.317e-05/0.4646, allocations: 4 kB / 1.029 GB, free: 12.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002858/0.4649, allocations: 51.95 kB / 1.029 GB, free: 11.96 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000596/0.4655, allocations: 280.8 kB / 1.03 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000322/0.4659, allocations: 70.48 kB / 1.03 GB, free: 11.56 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.4659, allocations: 7.938 kB / 1.03 GB, free: 11.55 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003859/0.4663, allocations: 103.5 kB / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=9): time 2.144e-06/0.4663, allocations: 0 / 1.03 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of matching and sorting (n=9): time 0.000841/0.4672, allocations: 173.5 kB / 1.03 GB, free: 11.27 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.732e-05/0.4672, allocations: 59.41 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/0.4674, allocations: 108.9 kB / 1.03 GB, free: 11.08 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.404e-05/0.4674, allocations: 29.7 kB / 1.03 GB, free: 11.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.786e-05/0.4675, allocations: 84.14 kB / 1.03 GB, free: 10.96 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.943e-05/0.4675, allocations: 23.64 kB / 1.03 GB, free: 10.94 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.176e-05/0.4675, allocations: 4 kB / 1.03 GB, free: 10.93 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001252/0.4677, allocations: 315.9 kB / 1.031 GB, free: 10.62 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001676/0.4679, allocations: 31.92 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001767/0.468, allocations: 49.69 kB / 1.031 GB, free: 10.53 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000159/0.4682, allocations: 27.98 kB / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.4682, allocations: 0 / 1.031 GB, free: 10.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004183/0.4687, allocations: 101.6 kB / 1.031 GB, free: 10.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.4687, allocations: 14.47 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.758e-06/0.4687, allocations: 4 kB / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.708e-05/0.4687, allocations: 0 / 1.031 GB, free: 10.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001874/0.4689, allocations: 19.92 kB / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.552e-06/0.469, allocations: 0 / 1.031 GB, free: 10.36 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001386/0.4691, allocations: 31.78 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.423e-05/0.4691, allocations: 4 kB / 1.031 GB, free: 10.33 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * 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.0001197/0.4693, allocations: 118.7 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.387e-05/0.4693, allocations: 4 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.648e-05/0.4694, allocations: 8.375 kB / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.078e-06/0.4694, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.4694, allocations: 0 / 1.031 GB, free: 10.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.783e-06/0.4694, allocations: 3.984 kB / 1.031 GB, free: 10.19 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0011/0.4705, allocations: 430.4 kB / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.956e-06/0.4705, allocations: 0 / 1.031 GB, free: 9.715 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.944e-05/0.4706, allocations: 7.984 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.035e-06/0.4706, allocations: 0 / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.885e-05/0.4706, allocations: 7.938 kB / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.4706, allocations: 0 / 1.031 GB, free: 9.699 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.248e-06/0.4707, allocations: 3.953 kB / 1.031 GB, free: 9.695 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005808/0.4712, allocations: 231.4 kB / 1.032 GB, free: 9.453 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.224e-05/0.4713, allocations: 85.02 kB / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.079e-05/0.4714, allocations: 0 / 1.032 GB, free: 9.352 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001988/0.4716, allocations: 15.98 kB / 1.032 GB, free: 9.336 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.366e-05/0.4716, allocations: 11.97 kB / 1.032 GB, free: 9.324 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.341e-05/0.4717, allocations: 7.938 kB / 1.032 GB, free: 9.316 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.517e-05/0.4717, allocations: 91.28 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.5e-07/0.4718, allocations: 0 / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003195/0.4721, allocations: 20 kB / 1.032 GB, free: 9.207 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: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001596/0.4723, allocations: 104.7 kB / 1.032 GB, free: 9.094 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004254/0.4727, allocations: 88.03 kB / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.675e-06/0.4727, allocations: 0 / 1.032 GB, free: 9.008 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002384/0.473, allocations: 55.97 kB / 1.032 GB, free: 8.953 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002779/0.4733, allocations: 4 kB / 1.032 GB, free: 8.949 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005804/0.4738, allocations: 186.4 kB / 1.032 GB, free: 8.738 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002768/0.4741, allocations: 0.6926 MB / 1.033 GB, free: 8.02 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.701e-05/0.4742, allocations: 4.672 kB / 1.033 GB, free: 8.008 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.483e-05/0.4743, allocations: 11.44 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/0.4743, allocations: 0 / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of Templates: time 0.004515/0.4788, allocations: 1.014 MB / 1.034 GB, free: 6.996 MB / 0.6823 GB