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.34/2.34, allocations: 253.2 MB / 260.6 MB, free: 7.512 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.00145/0.00145, allocations: 181 kB / 319.9 MB, free: 3.02 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.152/2.152, allocations: 205.6 MB / 0.5708 GB, free: 15.21 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.001158/0.001158, allocations: 92.75 kB / 0.6751 GB, free: 4.574 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.366e-05/2.384e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2704/0.2704, allocations: 106.3 MB / 0.8887 GB, free: 11.8 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9665/1.237, allocations: 131.7 MB / 1.017 GB, free: 5.539 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002731/1.237, allocations: 69.64 kB / 1.017 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.006191/1.244, allocations: 1.351 MB / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.603e-06/1.244, allocations: 0 / 1.019 GB, free: 4.332 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.056e-06/1.244, allocations: 0 / 1.019 GB, free: 4.332 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006819/1.244, allocations: 354.5 kB / 1.019 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.232e-05/1.244, allocations: 16.03 kB / 1.019 GB, free: 3.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.498e-05/1.244, allocations: 3.906 kB / 1.019 GB, free: 3.926 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001652/1.245, allocations: 174.6 kB / 1.019 GB, free: 3.719 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.912e-05/1.245, allocations: 4 kB / 1.019 GB, free: 3.715 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.181e-05/1.245, allocations: 4 kB / 1.019 GB, free: 3.711 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001431/1.245, allocations: 34.92 kB / 1.019 GB, free: 3.688 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00017/1.245, allocations: 63.53 kB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.738e-06/1.245, allocations: 0 / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.912e-05/1.245, allocations: 0 / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.44e-06/1.245, allocations: 0 / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006035/1.246, allocations: 262.8 kB / 1.02 GB, free: 3.352 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001676/1.246, allocations: 55.5 kB / 1.02 GB, free: 3.301 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.1e-05/1.246, allocations: 30.3 kB / 1.02 GB, free: 3.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.648e-05/1.246, allocations: 3.938 kB / 1.02 GB, free: 3.273 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002541/1.246, allocations: 92.09 kB / 1.02 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 2.585e-06/1.246, allocations: 4 kB / 1.02 GB, free: 3.184 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0003978/1.247, allocations: 120.5 kB / 1.02 GB, free: 3.082 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.221e-05/1.247, allocations: 51.41 kB / 1.02 GB, free: 3.02 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/1.247, allocations: 107.8 kB / 1.02 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.117e-05/1.247, allocations: 25.7 kB / 1.02 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.781e-05/1.247, allocations: 87.56 kB / 1.02 GB, free: 2.797 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.508e-05/1.247, allocations: 23.75 kB / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.023e-05/1.247, allocations: 0 / 1.02 GB, free: 2.777 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001491/1.247, allocations: 330.2 kB / 1.02 GB, free: 2.449 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.693e-05/1.247, allocations: 21.62 kB / 1.02 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001256/1.247, allocations: 40.09 kB / 1.021 GB, free: 2.402 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.534e-05/1.248, allocations: 24.83 kB / 1.021 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.785e-06/1.248, allocations: 3.938 kB / 1.021 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000577/1.248, allocations: 136.7 kB / 1.021 GB, free: 2.262 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/1.248, allocations: 4 kB / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.284e-06/1.248, allocations: 0 / 1.021 GB, free: 2.258 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001838/1.248, allocations: 36.14 kB / 1.021 GB, free: 2.227 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001011/1.249, allocations: 7.953 kB / 1.021 GB, free: 2.219 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/1.25, allocations: 1.383 MB / 1.022 GB, free: 0.7852 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001764/1.251, allocations: 12.08 kB / 1.022 GB, free: 0.7734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.244e-05/1.251, allocations: 7.125 kB / 1.022 GB, free: 0.7695 MB / 0.6355 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 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 8 * 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: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0001313/1.251, allocations: 106.1 kB / 1.022 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/1.251, allocations: 11.86 kB / 1.022 GB, free: 0.6484 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.615e-05/1.251, allocations: 7.875 kB / 1.022 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.511e-06/1.251, allocations: 3.984 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.937e-06/1.251, allocations: 0.75 kB / 1.022 GB, free: 0.6367 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.158e-06/1.251, allocations: 4 kB / 1.022 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008705/1.252, allocations: 380.2 kB / 1.023 GB, free: 256 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.318e-06/1.252, allocations: 3.953 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.448e-05/1.252, allocations: 7.938 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.733e-06/1.252, allocations: 0 / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.493e-05/1.252, allocations: 15.3 kB / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.616e-06/1.252, allocations: 0 / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/1.252, allocations: 0 / 1.023 GB, free: 232 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003684/1.252, allocations: 210.2 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.246e-05/1.252, allocations: 92.95 kB / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.671e-05/1.253, allocations: 0 / 1.023 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001914/1.253, allocations: 11.98 kB / 1.023 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.258e-05/1.253, allocations: 7.984 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.745e-05/1.253, allocations: 11.48 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.837e-05/1.253, allocations: 86.78 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.61e-07/1.253, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003818/1.253, allocations: 16 kB / 1.023 GB, free: 15.79 MB / 0.6511 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) * 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.0001718/1.254, allocations: 104.6 kB / 1.023 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004031/1.254, allocations: 167.8 kB / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/1.254, allocations: 0 / 1.023 GB, free: 15.53 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001263/1.254, allocations: 44.67 kB / 1.023 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002926/1.254, allocations: 14.88 kB / 1.023 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004029/1.255, allocations: 109.5 kB / 1.023 GB, free: 15.37 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003381/1.255, allocations: 0.6885 MB / 1.024 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.613e-05/1.255, allocations: 9.219 kB / 1.024 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.677e-05/1.255, allocations: 11.44 kB / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of SimCode: time 1.062e-06/1.255, allocations: 0 / 1.024 GB, free: 14.64 MB / 0.6511 GB Notification: Performance of Templates: time 0.00515/1.26, allocations: 1.126 MB / 1.025 GB, free: 13.54 MB / 0.6511 GB