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.258/2.258, allocations: 251.1 MB / 266.1 MB, free: 11.65 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.001563/0.001563, allocations: 180.2 kB / 325.6 MB, free: 2.824 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.664/2.664, allocations: 205.4 MB / 0.5766 GB, free: 20.72 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.001123/0.001122, allocations: 88.83 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006312/0.0006313, allocations: 15.97 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2453/0.246, allocations: 106.3 MB / 0.8989 GB, free: 65.44 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2721/0.5181, allocations: 131.6 MB / 1.027 GB, free: 13.62 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002753/0.5185, allocations: 71.97 kB / 1.028 GB, free: 13.55 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 0.003912/0.5224, allocations: 0.9581 MB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of FrontEnd: time 4.348e-06/0.5224, allocations: 4 kB / 1.028 GB, free: 12.59 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.5225, allocations: 0 / 1.028 GB, free: 12.59 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.000678/0.5232, allocations: 379.1 kB / 1.029 GB, free: 12.17 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.601e-05/0.5232, allocations: 12.03 kB / 1.029 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.456e-05/0.5233, allocations: 3.906 kB / 1.029 GB, free: 12.15 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001566/0.5234, allocations: 171 kB / 1.029 GB, free: 11.95 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.419e-05/0.5235, allocations: 12 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.279e-05/0.5235, allocations: 7.938 kB / 1.029 GB, free: 11.93 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002763/0.5238, allocations: 69.59 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.368e-06/0.5238, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.824e-05/0.5238, allocations: 4 kB / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.551e-06/0.5239, allocations: 0 / 1.029 GB, free: 11.85 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003343/0.5242, allocations: 59.95 kB / 1.029 GB, free: 11.79 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006727/0.5249, allocations: 304.8 kB / 1.029 GB, free: 11.44 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007399/0.5256, allocations: 126.5 kB / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 1.42e-05/0.5257, allocations: 0 / 1.03 GB, free: 11.31 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003333/0.526, allocations: 87.39 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.184e-06/0.526, allocations: 4 kB / 1.03 GB, free: 11.21 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006789/0.5267, allocations: 141.5 kB / 1.03 GB, free: 11.06 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.829e-05/0.5268, allocations: 59.41 kB / 1.03 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001094/0.5269, allocations: 109.1 kB / 1.03 GB, free: 10.88 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.487e-05/0.527, allocations: 33.7 kB / 1.03 GB, free: 10.84 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.311e-05/0.527, allocations: 88.2 kB / 1.03 GB, free: 10.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.446e-05/0.5271, allocations: 19.8 kB / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.015e-06/0.5271, allocations: 0 / 1.03 GB, free: 10.73 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.5272, allocations: 318.8 kB / 1.03 GB, free: 10.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000186/0.5274, allocations: 35.97 kB / 1.03 GB, free: 10.37 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002019/0.5276, allocations: 55.78 kB / 1.03 GB, free: 10.3 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001873/0.5279, allocations: 44.11 kB / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.5279, allocations: 0 / 1.031 GB, free: 10.26 MB / 0.6823 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004595/0.5283, allocations: 125.4 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.5284, allocations: 4 kB / 1.031 GB, free: 10.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.793e-06/0.5284, allocations: 4.094 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.691e-05/0.5284, allocations: 4 kB / 1.031 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001421/0.5286, allocations: 15.98 kB / 1.031 GB, free: 10.11 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.116e-05/0.5286, allocations: 3.953 kB / 1.031 GB, free: 10.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001671/0.5288, allocations: 27.98 kB / 1.031 GB, free: 10.07 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.491e-05/0.5288, allocations: 4 kB / 1.031 GB, free: 10.07 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.edge1.u,edge1.u,edge1.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.0001223/0.5289, allocations: 124 kB / 1.031 GB, free: 9.941 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.529, allocations: 4 kB / 1.031 GB, free: 9.938 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.503e-05/0.529, allocations: 12.36 kB / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.302e-06/0.529, allocations: 0 / 1.031 GB, free: 9.926 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.34e-06/0.5291, allocations: 3.938 kB / 1.031 GB, free: 9.922 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.056e-05/0.5291, allocations: 11.94 kB / 1.031 GB, free: 9.91 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007447/0.5298, allocations: 370.4 kB / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.106e-06/0.5299, allocations: 0 / 1.031 GB, free: 9.492 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.53, allocations: 11.98 kB / 1.031 GB, free: 9.48 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.465e-06/0.53, allocations: 4 kB / 1.031 GB, free: 9.477 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.45e-05/0.53, allocations: 4 kB / 1.031 GB, free: 9.473 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.09e-06/0.53, allocations: 3.953 kB / 1.031 GB, free: 9.469 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.53, allocations: 4 kB / 1.031 GB, free: 9.465 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000468/0.5305, allocations: 195.5 kB / 1.031 GB, free: 9.258 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.55e-05/0.5306, allocations: 89.02 kB / 1.031 GB, free: 9.152 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.5306, allocations: 4 kB / 1.032 GB, free: 9.148 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001916/0.5308, allocations: 15.98 kB / 1.032 GB, free: 9.133 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.068e-05/0.5309, allocations: 15.88 kB / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.919e-06/0.5309, allocations: 0 / 1.032 GB, free: 9.117 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.318e-05/0.531, allocations: 95.27 kB / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.01e-07/0.531, allocations: 0 / 1.032 GB, free: 9.023 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0003014/0.5313, allocations: 12 kB / 1.032 GB, free: 9.012 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 (edge1.y,$whenCondition2,$whenCondition1,booPul.pulseStart,edge1.u,triggeredSampler.y) * Number of discrete states: 1 (edge1.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.000151/0.5315, allocations: 107.2 kB / 1.032 GB, free: 8.895 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0004498/0.5319, allocations: 83.89 kB / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.532, allocations: 0 / 1.032 GB, free: 8.812 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002006/0.5322, allocations: 36.45 kB / 1.032 GB, free: 8.777 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002861/0.5325, allocations: 20.77 kB / 1.032 GB, free: 8.758 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004828/0.533, allocations: 174.6 kB / 1.032 GB, free: 8.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002844/0.5333, allocations: 0.6887 MB / 1.033 GB, free: 7.848 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.796e-05/0.5334, allocations: 11.8 kB / 1.033 GB, free: 7.836 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.475e-05/0.5334, allocations: 11.44 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of SimCode: time 8.41e-07/0.5334, allocations: 0 / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of Templates: time 0.003904/0.5373, allocations: 0.7252 MB / 1.033 GB, free: 7.105 MB / 0.6823 GB