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.Change.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.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.47/2.47, allocations: 251.1 MB / 266.1 MB, free: 11.56 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.001486/0.001486, allocations: 170.7 kB / 325.6 MB, free: 2.812 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.429/2.429, allocations: 205.4 MB / 0.5766 GB, free: 21.09 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.00162/0.001619, allocations: 90.31 kB / 0.6811 GB, free: 14 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004804/0.0004805, allocations: 16.12 kB / 0.7951 GB, free: 135.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2151/0.2157, allocations: 106.3 MB / 0.8989 GB, free: 65.91 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2366/0.4523, allocations: 131.7 MB / 1.027 GB, free: 14.08 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003279/0.4527, allocations: 67.95 kB / 1.028 GB, free: 14.02 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003975/0.4567, allocations: 0.9659 MB / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.455e-06/0.4568, allocations: 0 / 1.028 GB, free: 13.05 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 8.666e-06/0.4568, allocations: 0 / 1.028 GB, free: 13.05 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007235/0.4575, allocations: 387.1 kB / 1.029 GB, free: 12.62 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/0.4576, allocations: 12.03 kB / 1.029 GB, free: 12.61 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.676e-05/0.4577, allocations: 7.906 kB / 1.029 GB, free: 12.6 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001692/0.4578, allocations: 171 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.4579, allocations: 0 / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.333e-05/0.4579, allocations: 4 kB / 1.029 GB, free: 12.39 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000298/0.4582, allocations: 69.66 kB / 1.029 GB, free: 12.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/0.4582, allocations: 3.938 kB / 1.029 GB, free: 12.31 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.877e-05/0.4583, allocations: 11.92 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.601e-06/0.4583, allocations: 4 kB / 1.029 GB, free: 12.3 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003378/0.4586, allocations: 55.95 kB / 1.029 GB, free: 12.24 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006776/0.4593, allocations: 304.8 kB / 1.029 GB, free: 11.89 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007119/0.46, allocations: 122.4 kB / 1.03 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.746e-05/0.4601, allocations: 4.062 kB / 1.03 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003387/0.4604, allocations: 87.41 kB / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.705e-06/0.4605, allocations: 0 / 1.03 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0007332/0.4612, allocations: 145.6 kB / 1.03 GB, free: 11.52 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.254e-05/0.4613, allocations: 59.28 kB / 1.03 GB, free: 11.45 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001263/0.4614, allocations: 113.1 kB / 1.03 GB, free: 11.32 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.477e-05/0.4614, allocations: 25.7 kB / 1.03 GB, free: 11.29 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.4615, allocations: 88.14 kB / 1.03 GB, free: 11.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.834e-05/0.4616, allocations: 23.86 kB / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.225e-06/0.4616, allocations: 0 / 1.03 GB, free: 11.18 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001532/0.4618, allocations: 318.8 kB / 1.03 GB, free: 10.86 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.462, allocations: 35.97 kB / 1.03 GB, free: 10.82 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002277/0.4622, allocations: 59.41 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001846/0.4624, allocations: 31.98 kB / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.376e-06/0.4624, allocations: 0 / 1.031 GB, free: 10.72 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004727/0.4629, allocations: 129.5 kB / 1.031 GB, free: 10.59 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.945e-05/0.4629, allocations: 8 kB / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.282e-06/0.463, allocations: 0 / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.671e-05/0.463, allocations: 0 / 1.031 GB, free: 10.58 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001449/0.4631, allocations: 19.98 kB / 1.031 GB, free: 10.56 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.14e-05/0.4632, allocations: 7.953 kB / 1.031 GB, free: 10.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001677/0.4633, allocations: 20.02 kB / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.143e-05/0.4634, allocations: 0 / 1.031 GB, free: 10.54 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$PRE.booPul.pulseStart,booPul.pulseStart,$PRE.change.u,change.u,change.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001255/0.4635, allocations: 123.7 kB / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.768e-05/0.4635, allocations: 0 / 1.031 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.589e-05/0.4636, allocations: 12.38 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.878e-06/0.4636, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.678e-06/0.4636, allocations: 0 / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.141e-05/0.4636, allocations: 7.938 kB / 1.031 GB, free: 10.39 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007526/0.4644, allocations: 382.3 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.498e-06/0.4644, allocations: 0.5625 kB / 1.031 GB, free: 9.957 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001006/0.4645, allocations: 15.92 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.238e-06/0.4645, allocations: 4 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.365e-05/0.4646, allocations: 4.062 kB / 1.031 GB, free: 9.934 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.27e-06/0.4646, allocations: 3.953 kB / 1.031 GB, free: 9.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.815e-06/0.4646, allocations: 4 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000488/0.4651, allocations: 207.4 kB / 1.031 GB, free: 9.707 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 6.076e-05/0.4652, allocations: 81.02 kB / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.519e-05/0.4652, allocations: 0 / 1.032 GB, free: 9.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001904/0.4654, allocations: 19.98 kB / 1.032 GB, free: 9.59 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.591e-05/0.4655, allocations: 11.94 kB / 1.032 GB, free: 9.578 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.198e-05/0.4655, allocations: 4 kB / 1.032 GB, free: 9.574 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.546e-05/0.4656, allocations: 95.2 kB / 1.032 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4656, allocations: 4 kB / 1.032 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003019/0.4659, allocations: 12 kB / 1.032 GB, free: 9.465 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: 6 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.u) * 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.0001718/0.4661, allocations: 99.25 kB / 1.032 GB, free: 9.355 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004491/0.4666, allocations: 83.88 kB / 1.032 GB, free: 9.273 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/0.4666, allocations: 5.047 kB / 1.032 GB, free: 9.27 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002059/0.4668, allocations: 35.98 kB / 1.032 GB, free: 9.234 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002768/0.4671, allocations: 7.984 kB / 1.032 GB, free: 9.227 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004922/0.4676, allocations: 166.8 kB / 1.032 GB, free: 9.039 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003409/0.468, allocations: 0.6965 MB / 1.033 GB, free: 8.316 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.146e-05/0.468, allocations: 3.859 kB / 1.033 GB, free: 8.312 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.735e-05/0.4681, allocations: 11.44 kB / 1.033 GB, free: 8.301 MB / 0.6823 GB Notification: Performance of SimCode: time 9.02e-07/0.4681, allocations: 7.875 kB / 1.033 GB, free: 8.293 MB / 0.6823 GB Notification: Performance of Templates: time 0.004085/0.4722, allocations: 0.7368 MB / 1.033 GB, free: 7.562 MB / 0.6823 GB