Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Edge") Notification: Performance of loadModel(Buildings): time 4.036/4.036, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 5.433e-05/5.445e-05, allocations: 5.656 kB / 0.5383 GB, free: 10.25 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2318/0.2319, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2672/0.4992, allocations: 124.6 MB / 0.7564 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000241/0.4994, allocations: 71.95 kB / 0.7565 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003449/0.5029, allocations: 0.9544 MB / 0.7574 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.928e-06/0.5029, allocations: 0 / 0.7574 GB, free: 4.098 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.042e-05/0.503, allocations: 4 kB / 0.7574 GB, free: 4.094 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.0005276/0.5035, allocations: 366.4 kB / 0.7578 GB, free: 3.691 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.5036, allocations: 15.97 kB / 0.7578 GB, free: 3.676 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.907e-05/0.5036, allocations: 7.906 kB / 0.7578 GB, free: 3.668 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.5038, allocations: 171 kB / 0.758 GB, free: 3.461 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.163e-05/0.5038, allocations: 4 kB / 0.758 GB, free: 3.457 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.903e-05/0.5039, allocations: 4 kB / 0.758 GB, free: 3.453 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001346/0.504, allocations: 49.69 kB / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.504, allocations: 0 / 0.758 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.616e-05/0.504, allocations: 4 kB / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.443e-06/0.5041, allocations: 0 / 0.758 GB, free: 3.395 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001178/0.5042, allocations: 31.91 kB / 0.7581 GB, free: 3.363 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005898/0.5048, allocations: 304.7 kB / 0.7583 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004211/0.5052, allocations: 106.6 kB / 0.7584 GB, free: 2.902 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.204e-05/0.5053, allocations: 16.98 kB / 0.7585 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.108e-05/0.5053, allocations: 0 / 0.7585 GB, free: 2.883 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001725/0.5055, allocations: 83.38 kB / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.587e-06/0.5055, allocations: 0 / 0.7585 GB, free: 2.789 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002369/0.5058, allocations: 81.55 kB / 0.7586 GB, free: 2.703 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.604e-05/0.5059, allocations: 51.41 kB / 0.7587 GB, free: 2.641 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001158/0.506, allocations: 105.1 kB / 0.7588 GB, free: 2.527 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.965e-05/0.506, allocations: 33.69 kB / 0.7588 GB, free: 2.488 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.517e-05/0.5061, allocations: 88.14 kB / 0.7589 GB, free: 2.398 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.285e-05/0.5061, allocations: 15.81 kB / 0.7589 GB, free: 2.383 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.093e-05/0.5062, allocations: 4 kB / 0.7589 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5063, allocations: 326.7 kB / 0.7592 GB, free: 2.051 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.484e-05/0.5064, allocations: 16 kB / 0.7592 GB, free: 2.035 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.988e-05/0.5065, allocations: 39.44 kB / 0.7593 GB, free: 1.984 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.233e-05/0.5066, allocations: 23.98 kB / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.5066, allocations: 0 / 0.7593 GB, free: 1.961 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002184/0.5068, allocations: 93.47 kB / 0.7594 GB, free: 1.863 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.5069, allocations: 10.03 kB / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.563e-06/0.5069, allocations: 0 / 0.7594 GB, free: 1.855 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.539e-05/0.5069, allocations: 4 kB / 0.7594 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001292/0.507, allocations: 15.94 kB / 0.7594 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.051e-05/0.5071, allocations: 4 kB / 0.7594 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001249/0.5072, allocations: 20.08 kB / 0.7594 GB, free: 1.812 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.382e-05/0.5072, allocations: 4 kB / 0.7594 GB, free: 1.809 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.0001005/0.5073, allocations: 108.9 kB / 0.7595 GB, free: 1.695 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.362e-05/0.5074, allocations: 7.906 kB / 0.7595 GB, free: 1.688 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.181e-05/0.5074, allocations: 16.55 kB / 0.7596 GB, free: 1.664 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.702e-06/0.5074, allocations: 4 kB / 0.7596 GB, free: 1.66 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.847e-06/0.5074, allocations: 3.953 kB / 0.7596 GB, free: 1.656 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.237e-06/0.5075, allocations: 4 kB / 0.7596 GB, free: 1.652 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004834/0.508, allocations: 330.6 kB / 0.7599 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.909e-06/0.508, allocations: 0.5625 kB / 0.7599 GB, free: 1.273 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.56e-05/0.5081, allocations: 11.98 kB / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.191e-06/0.5081, allocations: 0 / 0.7599 GB, free: 1.262 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.692e-05/0.5081, allocations: 11.95 kB / 0.7599 GB, free: 1.25 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.189e-06/0.5082, allocations: 3.938 kB / 0.7599 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.752e-06/0.5082, allocations: 0 / 0.7599 GB, free: 1.246 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002467/0.5084, allocations: 181.2 kB / 0.7601 GB, free: 1.055 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.534e-05/0.5085, allocations: 85 kB / 0.7602 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.622e-05/0.5085, allocations: 4 kB / 0.7602 GB, free: 0.9492 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001643/0.5087, allocations: 15.94 kB / 0.7602 GB, free: 0.9336 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.5088, allocations: 11.98 kB / 0.7602 GB, free: 0.9219 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.365e-05/0.5088, allocations: 8 kB / 0.7602 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.63e-05/0.5089, allocations: 87.28 kB / 0.7603 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.08e-07/0.5089, allocations: 0 / 0.7603 GB, free: 0.8281 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003181/0.5092, allocations: 12 kB / 0.7603 GB, free: 0.8164 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.0001548/0.5094, allocations: 111.2 kB / 0.7604 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001731/0.5096, allocations: 47.94 kB / 0.7605 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.553e-06/0.5096, allocations: 0 / 0.7605 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.779e-05/0.5097, allocations: 28.12 kB / 0.7605 GB, free: 0.625 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000246/0.51, allocations: 14.39 kB / 0.7605 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003272/0.5103, allocations: 84.86 kB / 0.7606 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003955/0.5107, allocations: 0.6965 MB / 0.7613 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 4.607e-05/0.5108, allocations: 3.781 kB / 0.7613 GB, free: 15.78 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.501e-05/0.5108, allocations: 15.44 kB / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of SimCode: time 1.388e-06/0.5108, allocations: 0 / 0.7613 GB, free: 15.77 MB / 0.6511 GB Notification: Performance of Templates: time 0.003638/0.5145, allocations: 0.7376 MB / 0.762 GB, free: 15.04 MB / 0.6511 GB