Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 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.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.891/4.891, allocations: 0.5623 GB / 0.5775 GB, free: 3.348 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.002498/0.002498, allocations: 360.5 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.212/4.212, allocations: 410.7 MB / 1.113 GB, free: 5.887 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.001827/0.001827, allocations: 192.6 kB / 1.226 GB, free: 6.133 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0005024/0.0005027, allocations: 12 kB / 1.349 GB, free: 8.254 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7248/0.7253, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2003/0.9257, allocations: 138.1 MB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000242/0.926, allocations: 71.97 kB / 1.596 GB, free: 146.1 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01143/0.9374, allocations: 2.462 MB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of FrontEnd: time 1.844e-06/0.9375, allocations: 4.188 kB / 1.599 GB, free: 143.6 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 8.145e-06/0.9375, allocations: 0 / 1.599 GB, free: 143.6 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005882/0.9381, allocations: 397.8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.107e-05/0.9381, allocations: 15.62 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.95e-05/0.9382, allocations: 7.906 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001079/0.9383, allocations: 167.8 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.315e-05/0.9384, allocations: 8.594 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.193e-05/0.9384, allocations: 4 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003256/0.9388, allocations: 74.89 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.127e-06/0.9388, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.814e-05/0.9388, allocations: 4.844 kB / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.891e-06/0.9388, allocations: 0 / 1.599 GB, free: 142.9 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002561/0.9391, allocations: 52.8 kB / 1.599 GB, free: 142.8 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005632/0.9397, allocations: 324.4 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000313/0.94, allocations: 66.55 kB / 1.6 GB, free: 142.4 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002674/0.9403, allocations: 40.84 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 2.315e-05/0.9403, allocations: 5.812 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004019/0.9408, allocations: 104.9 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=9): time 2.555e-06/0.9408, allocations: 4 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=9): time 0.0008174/0.9416, allocations: 184 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.701e-05/0.9417, allocations: 59.41 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.734e-05/0.9418, allocations: 118.7 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.567e-05/0.9418, allocations: 29.7 kB / 1.6 GB, free: 141.8 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 5.504e-05/0.9419, allocations: 88.91 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.297e-05/0.9419, allocations: 19.8 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.243e-05/0.942, allocations: 5.156 kB / 1.6 GB, free: 141.7 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.578e-05/0.942, allocations: 318.8 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002301/0.9423, allocations: 54.81 kB / 1.601 GB, free: 141.3 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003201/0.9426, allocations: 66.55 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002391/0.9429, allocations: 82.78 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.257e-06/0.9429, allocations: 0 / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0006164/0.9435, allocations: 205.9 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 4.233e-05/0.9436, allocations: 38.53 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.505e-06/0.9436, allocations: 1.062 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.703e-05/0.9436, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001691/0.9438, allocations: 12 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.204e-06/0.9438, allocations: 0.5625 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000336/0.9442, allocations: 50.56 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.173e-05/0.9442, allocations: 4.75 kB / 1.601 GB, free: 140.8 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition2,$whenCondition4,$whenCondition3,$PRE.booPul.y,booPul.y,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): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001142/0.9443, allocations: 127 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.693e-05/0.9444, allocations: 11.89 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.639e-05/0.9444, allocations: 17.48 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.9444, allocations: 4.844 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.9445, allocations: 0 / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.9445, allocations: 1.094 kB / 1.601 GB, free: 140.7 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007047/0.9452, allocations: 407.7 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.986e-06/0.9452, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.579e-05/0.9453, allocations: 8.484 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.348e-06/0.9453, allocations: 0.5625 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.786e-05/0.9453, allocations: 0.9375 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.367e-06/0.9453, allocations: 4 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.014e-06/0.9453, allocations: 0 / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005481/0.9459, allocations: 245.8 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.079e-05/0.9459, allocations: 93 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.998e-05/0.946, allocations: 0.9375 kB / 1.602 GB, free: 139.9 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001578/0.9461, allocations: 4 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.14e-05/0.9462, allocations: 9.969 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.785e-05/0.9462, allocations: 3.938 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 4.722e-05/0.9463, allocations: 96.25 kB / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of sort global known variables: time 1.132e-06/0.9463, allocations: 0 / 1.602 GB, free: 139.7 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.0003814/0.9467, allocations: 36.41 kB / 1.602 GB, free: 139.7 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: 8 ($whenCondition4,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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.0001804/0.9469, allocations: 112.7 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0005615/0.9475, allocations: 193.8 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.9475, allocations: 0 / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.000221/0.9477, allocations: 51.97 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003764/0.9481, allocations: 15.66 kB / 1.603 GB, free: 139.3 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004897/0.9486, allocations: 185.3 kB / 1.603 GB, free: 139.1 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001416/0.9488, allocations: 0.694 MB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 4.819e-05/0.9488, allocations: 4.672 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.416e-05/0.9489, allocations: 11.44 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of SimCode: time 8.81e-07/0.9489, allocations: 1.188 kB / 1.603 GB, free: 138.4 MB / 0.8542 GB Notification: Performance of Templates: time 0.005533/0.9544, allocations: 1.499 MB / 1.605 GB, free: 137 MB / 0.8542 GB