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.59/2.59, allocations: 253.2 MB / 260.6 MB, free: 7.484 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.001454/0.001454, allocations: 181.7 kB / 319.9 MB, free: 3.035 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.195/2.195, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.00114/0.001139, allocations: 86.64 kB / 0.6751 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.683e-05/2.679e-05, allocations: 8 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2082/0.2082, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9219/1.13, allocations: 131.8 MB / 1.017 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002865/1.131, allocations: 67.72 kB / 1.017 GB, free: 5.453 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.004096/1.135, allocations: 0.9589 MB / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.674e-06/1.135, allocations: 0 / 1.018 GB, free: 4.594 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.258e-06/1.135, allocations: 0 / 1.018 GB, free: 4.594 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.0006817/1.135, allocations: 365.9 kB / 1.019 GB, free: 4.195 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.325e-05/1.136, allocations: 12.02 kB / 1.019 GB, free: 4.184 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.28e-05/1.136, allocations: 11.89 kB / 1.019 GB, free: 4.172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001923/1.136, allocations: 171 kB / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.989e-05/1.136, allocations: 0 / 1.019 GB, free: 3.965 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.368e-05/1.136, allocations: 4 kB / 1.019 GB, free: 3.961 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001208/1.136, allocations: 19 kB / 1.019 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001318/1.136, allocations: 51 kB / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.146e-05/1.136, allocations: 0 / 1.019 GB, free: 3.898 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.76e-05/1.136, allocations: 3.984 kB / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/1.136, allocations: 0 / 1.019 GB, free: 3.895 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006706/1.137, allocations: 296.2 kB / 1.019 GB, free: 3.586 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005832/1.137, allocations: 97.14 kB / 1.019 GB, free: 3.492 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.536e-05/1.138, allocations: 16.3 kB / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.65e-05/1.138, allocations: 0 / 1.019 GB, free: 3.477 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000187/1.138, allocations: 81.19 kB / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.164e-06/1.138, allocations: 0 / 1.02 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000265/1.138, allocations: 72.78 kB / 1.02 GB, free: 3.328 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.051e-05/1.138, allocations: 55.36 kB / 1.02 GB, free: 3.262 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000114/1.138, allocations: 108.2 kB / 1.02 GB, free: 3.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.372e-05/1.138, allocations: 25.7 kB / 1.02 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.006e-05/1.138, allocations: 87.39 kB / 1.02 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.625e-05/1.138, allocations: 23.11 kB / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.043e-06/1.138, allocations: 0 / 1.02 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001484/1.139, allocations: 317.7 kB / 1.02 GB, free: 2.699 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.731e-05/1.139, allocations: 18.62 kB / 1.02 GB, free: 2.688 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.831e-05/1.139, allocations: 42.36 kB / 1.02 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.327e-05/1.139, allocations: 15.06 kB / 1.02 GB, free: 2.633 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/1.139, allocations: 4 kB / 1.02 GB, free: 2.629 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001986/1.139, allocations: 79.84 kB / 1.02 GB, free: 2.555 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.03e-05/1.139, allocations: 4.188 kB / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.033e-06/1.139, allocations: 0 / 1.02 GB, free: 2.551 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.046e-05/1.139, allocations: 7.938 kB / 1.02 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002024/1.139, allocations: 19.92 kB / 1.02 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.282e-06/1.139, allocations: 0 / 1.02 GB, free: 2.523 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001841/1.14, allocations: 24.03 kB / 1.02 GB, free: 2.5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.333e-05/1.14, allocations: 4 kB / 1.02 GB, free: 2.496 MB / 0.6355 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.0001078/1.14, allocations: 107.5 kB / 1.02 GB, free: 2.387 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.36e-05/1.14, allocations: 11.84 kB / 1.02 GB, free: 2.375 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.224e-05/1.14, allocations: 8.312 kB / 1.02 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.733e-06/1.14, allocations: 4 kB / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.761e-06/1.14, allocations: 0 / 1.02 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.067e-06/1.14, allocations: 4 kB / 1.021 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004488/1.14, allocations: 309.4 kB / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.424e-06/1.14, allocations: 0 / 1.021 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001039/1.14, allocations: 13.36 kB / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.02e-06/1.14, allocations: 0 / 1.021 GB, free: 2.023 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.452e-05/1.14, allocations: 4 kB / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.555e-06/1.14, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.326e-06/1.141, allocations: 0 / 1.021 GB, free: 2.02 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/1.141, allocations: 174 kB / 1.021 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.283e-05/1.141, allocations: 77.11 kB / 1.021 GB, free: 1.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.885e-05/1.141, allocations: 11.55 kB / 1.021 GB, free: 1.742 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001962/1.141, allocations: 11.98 kB / 1.021 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.39e-05/1.141, allocations: 11.92 kB / 1.021 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.386e-05/1.141, allocations: 4.75 kB / 1.021 GB, free: 1.715 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.206e-05/1.141, allocations: 94.8 kB / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.11e-07/1.141, allocations: 0 / 1.021 GB, free: 1.625 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003307/1.142, allocations: 15.84 kB / 1.021 GB, free: 1.609 MB / 0.6355 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.000169/1.142, allocations: 104.9 kB / 1.021 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001753/1.142, allocations: 42.75 kB / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.504e-06/1.142, allocations: 0 / 1.021 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.171e-05/1.142, allocations: 19.56 kB / 1.021 GB, free: 1.457 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003039/1.142, allocations: 16.08 kB / 1.021 GB, free: 1.445 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000373/1.143, allocations: 101.3 kB / 1.021 GB, free: 1.332 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/1.143, allocations: 0.6973 MB / 1.022 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.641e-05/1.143, allocations: 7.844 kB / 1.022 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.328e-05/1.143, allocations: 11.44 kB / 1.022 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of SimCode: time 7.52e-07/1.143, allocations: 4 kB / 1.022 GB, free: 0.5898 MB / 0.6355 GB Notification: Performance of Templates: time 0.003866/1.147, allocations: 0.7018 MB / 1.023 GB, free: 15.91 MB / 0.6511 GB