Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Edge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.101/4.101, allocations: 433.2 MB / 440.7 MB, free: 4.59 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.211e-05/3.217e-05, allocations: 5.125 kB / 0.5325 GB, free: 12.79 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2064/0.2065, allocations: 98.74 MB / 0.6289 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.4297, allocations: 123.9 MB / 0.75 GB, free: 13.05 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002767/0.43, allocations: 71.95 kB / 0.75 GB, free: 12.98 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003816/0.4338, allocations: 0.9541 MB / 0.751 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/0.4339, allocations: 0 / 0.751 GB, free: 12.03 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.827e-06/0.4339, allocations: 0 / 0.751 GB, free: 12.03 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.0006046/0.4345, allocations: 370.5 kB / 0.7513 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.692e-05/0.4346, allocations: 8.031 kB / 0.7513 GB, free: 11.61 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.467e-05/0.4346, allocations: 11.86 kB / 0.7513 GB, free: 11.6 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001684/0.4348, allocations: 175 kB / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.784e-05/0.4348, allocations: 0 / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.792e-05/0.4349, allocations: 4 kB / 0.7515 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/0.435, allocations: 23.94 kB / 0.7515 GB, free: 11.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001217/0.4351, allocations: 49.62 kB / 0.7516 GB, free: 11.31 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.012e-05/0.4351, allocations: 4 kB / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.337e-05/0.4352, allocations: 0 / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.01e-06/0.4352, allocations: 0 / 0.7516 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005978/0.4358, allocations: 281.3 kB / 0.7518 GB, free: 10.99 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000536/0.4363, allocations: 102.5 kB / 0.7519 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.25e-05/0.4364, allocations: 20.98 kB / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.262e-05/0.4364, allocations: 0 / 0.752 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001659/0.4366, allocations: 63.39 kB / 0.752 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.4366, allocations: 4 kB / 0.752 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002438/0.4369, allocations: 73.61 kB / 0.7521 GB, free: 10.7 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.364e-05/0.437, allocations: 59.41 kB / 0.7522 GB, free: 10.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001029/0.4371, allocations: 105.1 kB / 0.7523 GB, free: 10.52 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.365e-05/0.4371, allocations: 29.7 kB / 0.7523 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.778e-05/0.4372, allocations: 92.14 kB / 0.7524 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.824e-05/0.4372, allocations: 11.81 kB / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.168e-06/0.4372, allocations: 0 / 0.7524 GB, free: 10.38 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.4374, allocations: 322.8 kB / 0.7527 GB, free: 10.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.137e-05/0.4375, allocations: 16 kB / 0.7527 GB, free: 10.04 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.267e-05/0.4375, allocations: 35.44 kB / 0.7527 GB, free: 9.988 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.569e-05/0.4376, allocations: 19.98 kB / 0.7528 GB, free: 9.969 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.4376, allocations: 4 kB / 0.7528 GB, free: 9.965 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001881/0.4378, allocations: 77.53 kB / 0.7528 GB, free: 9.883 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.152e-05/0.4378, allocations: 9.562 kB / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.4379, allocations: 0 / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.41e-05/0.4379, allocations: 0 / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000142/0.438, allocations: 20.02 kB / 0.7529 GB, free: 9.855 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.4381, allocations: 12.52 kB / 0.7529 GB, free: 9.844 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001553/0.4382, allocations: 16.05 kB / 0.7529 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.524e-05/0.4383, allocations: 4 kB / 0.7529 GB, free: 9.824 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 9.372e-05/0.4384, allocations: 113.7 kB / 0.753 GB, free: 9.707 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001588/0.4385, allocations: 73.53 kB / 0.7531 GB, free: 9.629 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.158e-05/0.4386, allocations: 11.89 kB / 0.7531 GB, free: 9.617 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.436e-05/0.4386, allocations: 20.52 kB / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4386, allocations: 0 / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.4386, allocations: 0 / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.837e-06/0.4387, allocations: 0 / 0.7531 GB, free: 9.598 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004069/0.4391, allocations: 307.1 kB / 0.7534 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.204e-06/0.4391, allocations: 0 / 0.7534 GB, free: 9.254 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001044/0.4392, allocations: 15.92 kB / 0.7534 GB, free: 9.238 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.482e-06/0.4392, allocations: 3.953 kB / 0.7534 GB, free: 9.234 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.256e-05/0.4392, allocations: 4 kB / 0.7534 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.4393, allocations: 0 / 0.7534 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.996e-06/0.4393, allocations: 0 / 0.7534 GB, free: 9.23 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002056/0.4395, allocations: 171.4 kB / 0.7536 GB, free: 9.047 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.4395, allocations: 77.11 kB / 0.7537 GB, free: 8.953 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.768e-05/0.4396, allocations: 7.938 kB / 0.7537 GB, free: 8.945 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001861/0.4398, allocations: 23.98 kB / 0.7537 GB, free: 8.922 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.801e-05/0.4398, allocations: 7.984 kB / 0.7537 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.827e-06/0.4399, allocations: 0 / 0.7537 GB, free: 8.914 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.42e-05/0.4399, allocations: 87.28 kB / 0.7538 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.1e-07/0.44, allocations: 0 / 0.7538 GB, free: 8.828 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003297/0.4403, allocations: 12 kB / 0.7538 GB, free: 8.816 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.0005264/0.4408, allocations: 0.7125 MB / 0.7545 GB, free: 8.074 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001697/0.441, allocations: 43.94 kB / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.424e-06/0.441, allocations: 0 / 0.7545 GB, free: 8.031 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.139e-05/0.4411, allocations: 28.06 kB / 0.7546 GB, free: 8.004 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003135/0.4414, allocations: 13.83 kB / 0.7546 GB, free: 7.992 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005296/0.442, allocations: 121.7 kB / 0.7547 GB, free: 7.836 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002741/0.4423, allocations: 0.6885 MB / 0.7554 GB, free: 7.121 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.72e-05/0.4423, allocations: 11.77 kB / 0.7554 GB, free: 7.109 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.173e-05/0.4424, allocations: 19.44 kB / 0.7554 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of SimCode: time 6.61e-07/0.4424, allocations: 288 / 0.7554 GB, free: 7.094 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03429/0.4767, allocations: 1.31 MB / 0.7567 GB, free: 5.797 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000272/0.4771, allocations: 139.2 kB / 0.7568 GB, free: 5.605 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.271/2.748, allocations: 0 / 0.7568 GB, free: 5.605 MB / 0.6355 GB