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.FallingEdge.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.FallingEdge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.238/2.238, allocations: 252.6 MB / 265.2 MB, free: 5.777 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.001438/0.001438, allocations: 179.9 kB / 324.5 MB, free: 14.38 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.259/2.259, allocations: 205.4 MB / 0.5753 GB, free: 10.48 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.001081/0.001081, allocations: 98.62 kB / 0.6797 GB, free: 15.72 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.469e-05/3.482e-05, allocations: 8 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.21/0.21, allocations: 106.2 MB / 0.8949 GB, free: 6.25 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.019/1.23, allocations: 131.6 MB / 1.023 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002489/1.23, allocations: 68.16 kB / 1.023 GB, free: 2.879 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003859/1.234, allocations: 0.9816 MB / 1.024 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.383e-06/1.234, allocations: 0 / 1.024 GB, free: 1.98 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.164e-06/1.234, allocations: 0 / 1.024 GB, free: 1.98 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0005882/1.234, allocations: 365.8 kB / 1.025 GB, free: 1.582 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/1.234, allocations: 8.031 kB / 1.025 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.719e-05/1.234, allocations: 11.89 kB / 1.025 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001454/1.235, allocations: 170.9 kB / 1.025 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.14e-05/1.235, allocations: 7 kB / 1.025 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.033e-05/1.235, allocations: 4 kB / 1.025 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001584/1.235, allocations: 58.81 kB / 1.025 GB, free: 1.293 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.718e-06/1.235, allocations: 4 kB / 1.025 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.327e-05/1.235, allocations: 0 / 1.025 GB, free: 1.289 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.694e-06/1.235, allocations: 4 kB / 1.025 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001023/1.235, allocations: 29.86 kB / 1.025 GB, free: 1.266 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006398/1.236, allocations: 311.1 kB / 1.025 GB, free: 0.9297 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005574/1.236, allocations: 103.5 kB / 1.025 GB, free: 0.832 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.833e-05/1.236, allocations: 18.17 kB / 1.025 GB, free: 0.8164 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/1.236, allocations: 3.984 kB / 1.025 GB, free: 0.8125 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001746/1.237, allocations: 79.12 kB / 1.026 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.237, allocations: 3.938 kB / 1.026 GB, free: 0.7305 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002384/1.237, allocations: 76.42 kB / 1.026 GB, free: 0.6602 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.582e-05/1.237, allocations: 55.41 kB / 1.026 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001299/1.237, allocations: 112.1 kB / 1.026 GB, free: 492 kB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/1.237, allocations: 28.7 kB / 1.026 GB, free: 460 kB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.019e-05/1.237, allocations: 91.42 kB / 1.026 GB, free: 368 kB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/1.237, allocations: 15.08 kB / 1.026 GB, free: 356 kB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.744e-06/1.237, allocations: 3.875 kB / 1.026 GB, free: 356 kB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001311/1.237, allocations: 314.4 kB / 1.026 GB, free: 36 kB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.865e-05/1.237, allocations: 15.25 kB / 1.026 GB, free: 24 kB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001038/1.238, allocations: 50.61 kB / 1.026 GB, free: 15.97 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.794e-05/1.238, allocations: 15.44 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.519e-06/1.238, allocations: 4 kB / 1.026 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002049/1.238, allocations: 80.28 kB / 1.026 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.054e-05/1.238, allocations: 8 kB / 1.026 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.596e-06/1.238, allocations: 176 / 1.026 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.613e-05/1.238, allocations: 11.92 kB / 1.026 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001388/1.238, allocations: 19.75 kB / 1.026 GB, free: 15.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.689e-05/1.238, allocations: 11.94 kB / 1.026 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001623/1.238, allocations: 15.97 kB / 1.026 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/1.238, allocations: 4 kB / 1.026 GB, free: 15.82 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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 8.987e-05/1.238, allocations: 113.4 kB / 1.027 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.956e-05/1.238, allocations: 7.906 kB / 1.027 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.037e-05/1.238, allocations: 7.938 kB / 1.027 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.775e-06/1.239, allocations: 0.5625 kB / 1.027 GB, free: 15.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/1.239, allocations: 4 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/1.239, allocations: 3.953 kB / 1.027 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004308/1.239, allocations: 335.5 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.909e-06/1.239, allocations: 3.984 kB / 1.027 GB, free: 15.32 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001027/1.239, allocations: 12 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/1.239, allocations: 3.938 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.112e-05/1.239, allocations: 4 kB / 1.027 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.532e-06/1.239, allocations: 8 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.257e-06/1.239, allocations: 4 kB / 1.027 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002209/1.239, allocations: 177.9 kB / 1.027 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.017e-05/1.239, allocations: 81.02 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.618e-05/1.24, allocations: 4 kB / 1.027 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002087/1.24, allocations: 19.42 kB / 1.027 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.577e-05/1.24, allocations: 15.92 kB / 1.027 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/1.24, allocations: 4 kB / 1.027 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.382e-05/1.24, allocations: 87.09 kB / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.7e-07/1.24, allocations: 0 / 1.027 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0002925/1.24, allocations: 19.69 kB / 1.027 GB, free: 14.88 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 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0001469/1.24, allocations: 103.2 kB / 1.027 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001772/1.241, allocations: 50 kB / 1.027 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/1.241, allocations: 0 / 1.027 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.337e-05/1.241, allocations: 23.12 kB / 1.027 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00026/1.241, allocations: 10.81 kB / 1.027 GB, free: 14.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004753/1.241, allocations: 128 kB / 1.028 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002947/1.242, allocations: 0.6932 MB / 1.028 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.874e-05/1.242, allocations: 0 / 1.028 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.566e-05/1.242, allocations: 11.44 kB / 1.028 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of SimCode: time 8.52e-07/1.242, allocations: 0 / 1.028 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of Templates: time 0.003975/1.246, allocations: 0.7801 MB / 1.029 GB, free: 13.08 MB / 0.6511 GB