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.FallingEdge.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_FallingEdge",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01748/0.01748, allocations: 220.2 kB / 15.17 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.002756/0.002756, allocations: 180.3 kB / 16.06 MB, free: 5.871 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 4.257/4.257, allocations: 389 MB / 405.9 MB, free: 13.34 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.036/4.036, allocations: 472.3 MB / 0.9017 GB, free: 130 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004763/0.0004764, allocations: 24 kB / 1.008 GB, free: 21.48 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6103/0.6108, allocations: 98.71 MB / 1.104 GB, free: 10.71 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.FallingEdge): time 0.002051/0.6129, allocations: 1.166 MB / 1.105 GB, free: 9.527 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006345/0.6136, allocations: 204.3 kB / 1.105 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.23e-05/0.6137, allocations: 0 / 1.105 GB, free: 9.324 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 2.288e-05/0.6137, allocations: 3.938 kB / 1.105 GB, free: 9.32 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0001157/0.6138, allocations: 16.66 kB / 1.105 GB, free: 9.305 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001898/0.6141, allocations: 23.86 kB / 1.106 GB, free: 9.281 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.0001128/0.6142, allocations: 53.31 kB / 1.106 GB, free: 9.23 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001067/0.6143, allocations: 11.98 kB / 1.106 GB, free: 9.219 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 7.469e-05/0.6144, allocations: 28.91 kB / 1.106 GB, free: 9.191 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 6.98e-05/0.6145, allocations: 27.84 kB / 1.106 GB, free: 9.164 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 2.856e-05/0.6145, allocations: 4 kB / 1.106 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 2.933e-05/0.6146, allocations: 1.25 kB / 1.106 GB, free: 9.16 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.267e-05/0.6146, allocations: 4 kB / 1.106 GB, free: 9.156 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 4.025e-05/0.6147, allocations: 37.64 kB / 1.106 GB, free: 9.113 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 0.0001004/0.6148, allocations: 35.91 kB / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 5.53e-06/0.6148, allocations: 1.312 kB / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.824e-06/0.6148, allocations: 0 / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 5.48e-06/0.6148, allocations: 0 / 1.106 GB, free: 9.078 MB / 0.5105 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0007298/0.6156, allocations: 381.8 kB / 1.106 GB, free: 8.664 MB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.733e-05/0.6156, allocations: 8.031 kB / 1.106 GB, free: 8.656 MB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.021e-05/0.6157, allocations: 34.56 kB / 1.106 GB, free: 8.613 MB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.435e-05/0.6158, allocations: 11.86 kB / 1.106 GB, free: 8.602 MB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001219/0.6159, allocations: 175 kB / 1.106 GB, free: 8.391 MB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.937e-05/0.6159, allocations: 8 kB / 1.106 GB, free: 8.383 MB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.182e-05/0.616, allocations: 7.938 kB / 1.106 GB, free: 8.375 MB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003245/0.6163, allocations: 71.69 kB / 1.106 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.106e-05/0.6163, allocations: 0 / 1.106 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.6163, allocations: 0 / 1.106 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.512e-06/0.6164, allocations: 1.969 kB / 1.106 GB, free: 8.301 MB / 0.5105 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004104/0.6168, allocations: 56.52 kB / 1.106 GB, free: 8.246 MB / 0.5105 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006824/0.6175, allocations: 319.8 kB / 1.107 GB, free: 7.887 MB / 0.5105 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008205/0.6183, allocations: 119.8 kB / 1.107 GB, free: 7.766 MB / 0.5105 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002359/0.6186, allocations: 38.94 kB / 1.107 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of preOpt evalFunc (simulation): time 1.82e-05/0.6186, allocations: 0 / 1.107 GB, free: 7.727 MB / 0.5105 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00037/0.619, allocations: 95.95 kB / 1.107 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of pre-optimization done (n=7): time 2.885e-06/0.619, allocations: 0 / 1.107 GB, free: 7.621 MB / 0.5105 GB Notification: Performance of matching and sorting (n=7): time 0.0007827/0.6198, allocations: 141.5 kB / 1.107 GB, free: 7.477 MB / 0.5105 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.895e-05/0.6199, allocations: 59.39 kB / 1.107 GB, free: 7.406 MB / 0.5105 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001113/0.62, allocations: 118 kB / 1.107 GB, free: 7.277 MB / 0.5105 GB Notification: Performance of collectPreVariables (initialization): time 2.392e-05/0.62, allocations: 29.7 kB / 1.107 GB, free: 7.242 MB / 0.5105 GB Notification: Performance of collectInitialEqns (initialization): time 5.196e-05/0.6201, allocations: 96.17 kB / 1.107 GB, free: 7.145 MB / 0.5105 GB Notification: Performance of collectInitialBindings (initialization): time 3.534e-05/0.6202, allocations: 23.73 kB / 1.107 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.378e-06/0.6202, allocations: 0 / 1.107 GB, free: 7.121 MB / 0.5105 GB Notification: Performance of setup shared object (initialization): time 7.058e-05/0.6203, allocations: 314.8 kB / 1.108 GB, free: 6.805 MB / 0.5105 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002185/0.6205, allocations: 35.97 kB / 1.108 GB, free: 6.77 MB / 0.5105 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002387/0.6207, allocations: 59.41 kB / 1.108 GB, free: 6.699 MB / 0.5105 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002155/0.621, allocations: 35.98 kB / 1.108 GB, free: 6.664 MB / 0.5105 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.929e-06/0.621, allocations: 4 kB / 1.108 GB, free: 6.66 MB / 0.5105 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0005428/0.6216, allocations: 125.6 kB / 1.108 GB, free: 6.531 MB / 0.5105 GB Notification: Performance of prepare postOptimizeDAE: time 2.127e-05/0.6216, allocations: 4 kB / 1.108 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.6216, allocations: 0 / 1.108 GB, free: 6.527 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.863e-05/0.6216, allocations: 7.953 kB / 1.108 GB, free: 6.52 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001585/0.6218, allocations: 16.05 kB / 1.108 GB, free: 6.504 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.012e-05/0.6218, allocations: 8 kB / 1.108 GB, free: 6.496 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002007/0.6221, allocations: 23.92 kB / 1.108 GB, free: 6.473 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.47e-05/0.6221, allocations: 4 kB / 1.108 GB, free: 6.469 MB / 0.5105 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,falEdg.y,$PRE.falEdg.not_u,falEdg.not_u) * 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.0001032/0.6222, allocations: 117.8 kB / 1.108 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.403e-05/0.6222, allocations: 0 / 1.108 GB, free: 6.344 MB / 0.5105 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.947e-05/0.6223, allocations: 12.38 kB / 1.108 GB, free: 6.328 MB / 0.5105 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.159e-06/0.6223, allocations: 3.953 kB / 1.108 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.921e-06/0.6223, allocations: 0 / 1.108 GB, free: 6.324 MB / 0.5105 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.131e-06/0.6223, allocations: 3.984 kB / 1.108 GB, free: 6.32 MB / 0.5105 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007637/0.6231, allocations: 378.8 kB / 1.109 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.6231, allocations: 0 / 1.109 GB, free: 5.895 MB / 0.5105 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001167/0.6233, allocations: 15.97 kB / 1.109 GB, free: 5.879 MB / 0.5105 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.243e-06/0.6233, allocations: 15.89 kB / 1.109 GB, free: 5.863 MB / 0.5105 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.439e-05/0.6233, allocations: 4.5 kB / 1.109 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.6233, allocations: 0 / 1.109 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.813e-06/0.6233, allocations: 0 / 1.109 GB, free: 5.859 MB / 0.5105 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005163/0.6239, allocations: 207.6 kB / 1.109 GB, free: 5.641 MB / 0.5105 GB Notification: Performance of postOpt removeConstants (simulation): time 3.664e-05/0.6239, allocations: 85.02 kB / 1.109 GB, free: 5.539 MB / 0.5105 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.344e-05/0.624, allocations: 3.953 kB / 1.109 GB, free: 5.535 MB / 0.5105 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002477/0.6242, allocations: 23.92 kB / 1.109 GB, free: 5.512 MB / 0.5105 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.2e-05/0.6243, allocations: 7.984 kB / 1.109 GB, free: 5.504 MB / 0.5105 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.32e-05/0.6243, allocations: 3.984 kB / 1.109 GB, free: 5.5 MB / 0.5105 GB Notification: Performance of sorting global known variables: time 5.831e-05/0.6244, allocations: 87.28 kB / 1.109 GB, free: 5.414 MB / 0.5105 GB Notification: Performance of sort global known variables: time 4.91e-07/0.6244, allocations: 4 kB / 1.109 GB, free: 5.41 MB / 0.5105 GB Notification: Performance of remove unused functions: time 0.0005127/0.6249, allocations: 19.94 kB / 1.109 GB, free: 5.391 MB / 0.5105 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 (falEdg.y,$whenCondition2,$whenCondition1,booPul.pulseStart,falEdg.not_u,triggeredSampler.y) * Number of discrete states: 1 (falEdg.not_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.0007983/0.6258, allocations: 0.7514 MB / 1.11 GB, free: 4.613 MB / 0.5105 GB Notification: Performance of simCode: created initialization part: time 0.0005231/0.6263, allocations: 79.89 kB / 1.11 GB, free: 4.535 MB / 0.5105 GB Notification: Performance of simCode: created event and clocks part: time 4.829e-06/0.6263, allocations: 4.188 kB / 1.11 GB, free: 4.531 MB / 0.5105 GB Notification: Performance of simCode: created simulation system equations: time 0.0002715/0.6266, allocations: 35.98 kB / 1.11 GB, free: 4.496 MB / 0.5105 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005956/0.6272, allocations: 15.94 kB / 1.11 GB, free: 4.48 MB / 0.5105 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001974/0.6292, allocations: 0.5942 MB / 1.11 GB, free: 3.836 MB / 0.5105 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001748/0.6294, allocations: 0.6926 MB / 1.111 GB, free: 3.117 MB / 0.5105 GB Notification: Performance of simCode: alias equations: time 7.3e-05/0.6295, allocations: 15.72 kB / 1.111 GB, free: 3.102 MB / 0.5105 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.041e-05/0.6296, allocations: 19.42 kB / 1.111 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of SimCode: time 1.162e-06/0.6296, allocations: 0 / 1.111 GB, free: 3.082 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02123/0.6509, allocations: 1.673 MB / 1.113 GB, free: 1.52 MB / 0.5105 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001699/0.6511, allocations: 194.3 kB / 1.113 GB, free: 1.281 MB / 0.5105 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.392/3.043, allocations: 0 / 1.113 GB, free: 1.281 MB / 0.5105 GB