Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.756/4.756, allocations: 0.5623 GB / 0.5775 GB, free: 3.363 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002789/0.002789, allocations: 352.9 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.309/4.309, allocations: 410.7 MB / 1.113 GB, free: 6.02 MB / 0.6042 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001818/0.001818, allocations: 168 kB / 1.226 GB, free: 6.18 MB / 0.7136 GB Notification: Performance of FrontEnd - loaded program: time 0.0006495/0.0006498, allocations: 12 kB / 1.349 GB, free: 8.289 MB / 0.8386 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7059/0.7065, allocations: 115.3 MB / 1.461 GB, free: 284.4 MB / 0.8542 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2184/0.925, allocations: 138.2 MB / 1.596 GB, free: 146 MB / 0.8542 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002886/0.9254, allocations: 87.88 kB / 1.596 GB, free: 145.9 MB / 0.8542 GB Notification: Performance of FrontEnd - DAE generated: time 0.01152/0.9369, allocations: 2.093 MB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of FrontEnd: time 2.986e-06/0.9369, allocations: 7.938 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Performance of Transformations before backend: time 7.844e-06/0.937, allocations: 1.75 kB / 1.598 GB, free: 143.9 MB / 0.8542 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006076/0.9376, allocations: 402.5 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of prepare preOptimizeDAE: time 4.271e-05/0.9376, allocations: 15.62 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.909e-05/0.9377, allocations: 7.906 kB / 1.599 GB, free: 143.4 MB / 0.8542 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001123/0.9378, allocations: 178.8 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.262e-05/0.9379, allocations: 8.688 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.531e-05/0.9379, allocations: 4 kB / 1.599 GB, free: 143.2 MB / 0.8542 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003202/0.9383, allocations: 72.89 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.231e-05/0.9383, allocations: 0.9688 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.653e-05/0.9383, allocations: 3.938 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.9384, allocations: 1.312 kB / 1.599 GB, free: 143.1 MB / 0.8542 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003984/0.9388, allocations: 53.48 kB / 1.599 GB, free: 143 MB / 0.8542 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006211/0.9394, allocations: 334.5 kB / 1.599 GB, free: 142.7 MB / 0.8542 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003051/0.9397, allocations: 65.33 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002321/0.94, allocations: 42.16 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt evalFunc (simulation): time 1.465e-05/0.94, allocations: 0.6562 kB / 1.6 GB, free: 142.6 MB / 0.8542 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003674/0.9404, allocations: 93.23 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of pre-optimization done (n=8): time 2.595e-06/0.9404, allocations: 2.156 kB / 1.6 GB, free: 142.5 MB / 0.8542 GB Notification: Performance of matching and sorting (n=8): time 0.0008221/0.9413, allocations: 155.7 kB / 1.6 GB, free: 142.3 MB / 0.8542 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.9413, allocations: 55.41 kB / 1.6 GB, free: 142.2 MB / 0.8542 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001037/0.9414, allocations: 123.5 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectPreVariables (initialization): time 3.939e-05/0.9415, allocations: 33.7 kB / 1.6 GB, free: 142.1 MB / 0.8542 GB Notification: Performance of collectInitialEqns (initialization): time 6.449e-05/0.9416, allocations: 96.19 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.9416, allocations: 15.72 kB / 1.6 GB, free: 142 MB / 0.8542 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.556e-05/0.9417, allocations: 4 kB / 1.6 GB, free: 141.9 MB / 0.8542 GB Notification: Performance of setup shared object (initialization): time 6.792e-05/0.9417, allocations: 318.8 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003299/0.9421, allocations: 56.91 kB / 1.6 GB, free: 141.6 MB / 0.8542 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003523/0.9424, allocations: 94.28 kB / 1.601 GB, free: 141.5 MB / 0.8542 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003329/0.9428, allocations: 84.92 kB / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.476e-06/0.9428, allocations: 0 / 1.601 GB, free: 141.4 MB / 0.8542 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0008676/0.9437, allocations: 218.4 kB / 1.601 GB, free: 141.2 MB / 0.8542 GB Notification: Performance of prepare postOptimizeDAE: time 3.998e-05/0.9438, allocations: 33.7 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.9438, allocations: 0.7188 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.9438, allocations: 5.359 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001806/0.944, allocations: 21.2 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.718e-06/0.944, allocations: 4.312 kB / 1.601 GB, free: 141.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004851/0.9445, allocations: 59.5 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.932e-05/0.9446, allocations: 4 kB / 1.601 GB, free: 141 MB / 0.8542 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.triggeredSampler.y,triggeredSampler.y,$whenCondition1,$whenCondition2,$whenCondition3,$PRE.booPul.y,booPul.y,$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 (11): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 1 * 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.0001233/0.9447, allocations: 131.2 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.536e-05/0.9448, allocations: 11.84 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.366e-05/0.9448, allocations: 4.375 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.337e-06/0.9448, allocations: 5.438 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.622e-06/0.9448, allocations: 4 kB / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.459e-06/0.9449, allocations: 0 / 1.601 GB, free: 140.9 MB / 0.8542 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007482/0.9456, allocations: 389.5 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.9456, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001262/0.9458, allocations: 17.39 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/0.9458, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.695e-05/0.9458, allocations: 5.688 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.836e-06/0.9459, allocations: 0 / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.9459, allocations: 3.953 kB / 1.602 GB, free: 140.4 MB / 0.8542 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000556/0.9464, allocations: 222.9 kB / 1.602 GB, free: 140.2 MB / 0.8542 GB Notification: Performance of postOpt removeConstants (simulation): time 3.007e-05/0.9465, allocations: 77.11 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.9465, allocations: 0.9375 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002026/0.9467, allocations: 12.52 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.02e-05/0.9468, allocations: 10.58 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.482e-05/0.9468, allocations: 3.953 kB / 1.602 GB, free: 140.1 MB / 0.8542 GB Notification: Performance of sorting global known variables: time 5.818e-05/0.9469, allocations: 95.27 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of sort global known variables: time 5.41e-07/0.9469, allocations: 0 / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Performance of remove unused functions: time 0.000567/0.9475, allocations: 28 kB / 1.602 GB, free: 140 MB / 0.8542 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 7 (edge1.y,$whenCondition3,$whenCondition1,$whenCondition2,booPul.y,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 (8): * Single equations (assignments): 6 * 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.0001836/0.9477, allocations: 120.5 kB / 1.602 GB, free: 139.8 MB / 0.8542 GB Notification: Performance of simCode: created initialization part: time 0.0007352/0.9485, allocations: 186.1 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created event and clocks part: time 2.765e-06/0.9485, allocations: 0 / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created simulation system equations: time 0.00026/0.9488, allocations: 37.55 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005358/0.9493, allocations: 20.42 kB / 1.602 GB, free: 139.6 MB / 0.8542 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004691/0.9498, allocations: 174.6 kB / 1.602 GB, free: 139.4 MB / 0.8542 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001663/0.95, allocations: 0.6965 MB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: alias equations: time 5.935e-05/0.9501, allocations: 5.781 kB / 1.603 GB, free: 138.7 MB / 0.8542 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.441e-05/0.9501, allocations: 11.44 kB / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of SimCode: time 8.22e-07/0.9501, allocations: 0 / 1.603 GB, free: 138.6 MB / 0.8542 GB Notification: Performance of Templates: time 0.005888/0.956, allocations: 1.274 MB / 1.604 GB, free: 137.5 MB / 0.8542 GB