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.Edge.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.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.311/2.311, allocations: 252.6 MB / 265.2 MB, free: 5.746 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.001432/0.001432, allocations: 182.2 kB / 324.5 MB, free: 14.43 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.234/2.234, allocations: 205.4 MB / 0.5754 GB, free: 10.5 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.001152/0.001152, allocations: 101.9 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 4.29e-05/4.31e-05, allocations: 7.984 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1986, allocations: 106.2 MB / 0.8949 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9081/1.107, allocations: 131.6 MB / 1.023 GB, free: 2.969 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002675/1.107, allocations: 74.92 kB / 1.023 GB, free: 2.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003969/1.111, allocations: 0.9597 MB / 1.024 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/1.111, allocations: 0 / 1.024 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.965e-06/1.111, allocations: 0 / 1.024 GB, free: 2.051 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006596/1.112, allocations: 366.4 kB / 1.025 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.066e-05/1.112, allocations: 8.031 kB / 1.025 GB, free: 1.645 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.609e-05/1.112, allocations: 11.72 kB / 1.025 GB, free: 1.637 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00021/1.112, allocations: 167 kB / 1.025 GB, free: 1.434 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.261e-05/1.112, allocations: 4 kB / 1.025 GB, free: 1.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.205e-05/1.112, allocations: 7.984 kB / 1.025 GB, free: 1.422 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001613/1.112, allocations: 53.19 kB / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/1.112, allocations: 0 / 1.025 GB, free: 1.371 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.451e-05/1.112, allocations: 7 kB / 1.025 GB, free: 1.367 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/1.112, allocations: 3.938 kB / 1.025 GB, free: 1.363 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.808e-05/1.113, allocations: 23.5 kB / 1.025 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006789/1.113, allocations: 310.8 kB / 1.025 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005994/1.114, allocations: 105.1 kB / 1.025 GB, free: 0.9102 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.201e-05/1.114, allocations: 23.98 kB / 1.025 GB, free: 0.8906 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.161e-05/1.114, allocations: 3.984 kB / 1.025 GB, free: 0.8867 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001894/1.114, allocations: 70.81 kB / 1.026 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.856e-06/1.114, allocations: 0 / 1.026 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002636/1.114, allocations: 80.05 kB / 1.026 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.349e-05/1.115, allocations: 55.41 kB / 1.026 GB, free: 0.6758 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001231/1.115, allocations: 111.5 kB / 1.026 GB, free: 0.5625 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.555e-05/1.115, allocations: 29.2 kB / 1.026 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.889e-05/1.115, allocations: 92.08 kB / 1.026 GB, free: 452 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/1.115, allocations: 15.61 kB / 1.026 GB, free: 440 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.077e-05/1.115, allocations: 4 kB / 1.026 GB, free: 436 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001473/1.115, allocations: 314.8 kB / 1.026 GB, free: 116 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.046e-05/1.115, allocations: 18.81 kB / 1.026 GB, free: 104 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.408e-05/1.115, allocations: 42.36 kB / 1.026 GB, free: 56 kB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.893e-05/1.115, allocations: 18.88 kB / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.275e-06/1.115, allocations: 0 / 1.026 GB, free: 40 kB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000243/1.116, allocations: 90.47 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.116, allocations: 4 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.115e-05/1.116, allocations: 6.688 kB / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.677e-05/1.116, allocations: 0 / 1.026 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001652/1.116, allocations: 24.59 kB / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.177e-05/1.116, allocations: 0 / 1.026 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001685/1.116, allocations: 19.97 kB / 1.026 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.999e-05/1.116, allocations: 7.938 kB / 1.026 GB, free: 15.9 MB / 0.6511 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.edge1.u,edge1.u,edge1.y) * Number of discrete 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.0001073/1.116, allocations: 110.5 kB / 1.027 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.566e-05/1.116, allocations: 15.84 kB / 1.027 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.524e-05/1.116, allocations: 12.5 kB / 1.027 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/1.116, allocations: 0 / 1.027 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.997e-06/1.116, allocations: 3.953 kB / 1.027 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.509e-06/1.116, allocations: 0 / 1.027 GB, free: 15.76 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005096/1.117, allocations: 338.5 kB / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/1.117, allocations: 0 / 1.027 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001091/1.117, allocations: 15.23 kB / 1.027 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.12e-06/1.117, allocations: 4 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.552e-05/1.117, allocations: 3.953 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.735e-06/1.117, allocations: 0 / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.595e-06/1.117, allocations: 4 kB / 1.027 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002434/1.117, allocations: 169.1 kB / 1.027 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.478e-05/1.117, allocations: 81.11 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.55e-05/1.117, allocations: 0 / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000198/1.118, allocations: 27.31 kB / 1.027 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.043e-05/1.118, allocations: 11.92 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.342e-05/1.118, allocations: 3.984 kB / 1.027 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.631e-05/1.118, allocations: 94.16 kB / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.118, allocations: 0 / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005961/1.118, allocations: 15.84 kB / 1.027 GB, free: 14.97 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: 6 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.u) * 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.0002359/1.119, allocations: 104.6 kB / 1.027 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0003361/1.119, allocations: 45.12 kB / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.95e-06/1.119, allocations: 0 / 1.027 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001441/1.119, allocations: 27.22 kB / 1.027 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004401/1.12, allocations: 12.81 kB / 1.027 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005375/1.12, allocations: 103.8 kB / 1.028 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004519/1.121, allocations: 0.6969 MB / 1.028 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.303e-05/1.121, allocations: 7.859 kB / 1.028 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.21e-05/1.121, allocations: 11.44 kB / 1.028 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of SimCode: time 1.563e-06/1.121, allocations: 3.938 kB / 1.028 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of Templates: time 0.005938/1.127, allocations: 0.7475 MB / 1.029 GB, free: 13.21 MB / 0.6511 GB