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 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.Edge,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Edge",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.01243/0.01243, allocations: 221 kB / 15.17 MB, free: 5.922 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.001167/0.001167, allocations: 177.5 kB / 16.06 MB, free: 5.828 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.17/4.17, allocations: 389 MB / 405.9 MB, free: 11.82 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.181/4.181, allocations: 472.3 MB / 0.9018 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006867/0.000687, allocations: 14.34 kB / 1.008 GB, free: 138.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1779, allocations: 98.72 MB / 1.104 GB, free: 41.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Edge): time 0.001611/0.1795, allocations: 1.16 MB / 1.105 GB, free: 40.76 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0004929/0.1801, allocations: 224.9 kB / 1.105 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.498e-05/0.1801, allocations: 3.219 kB / 1.105 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.955e-05/0.1802, allocations: 0 / 1.105 GB, free: 40.54 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.76e-05/0.1803, allocations: 7.922 kB / 1.105 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.000183/0.1805, allocations: 27.84 kB / 1.106 GB, free: 40.5 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 8.41e-05/0.1806, allocations: 47.86 kB / 1.106 GB, free: 40.46 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1807, allocations: 12.55 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.386e-05/0.1808, allocations: 19.92 kB / 1.106 GB, free: 40.43 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.206e-05/0.1808, allocations: 22.3 kB / 1.106 GB, free: 40.41 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.022e-05/0.1808, allocations: 4 kB / 1.106 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.64e-05/0.1809, allocations: 4 kB / 1.106 GB, free: 40.4 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.717e-05/0.1809, allocations: 7.984 kB / 1.106 GB, free: 40.39 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.367e-05/0.1809, allocations: 33.7 kB / 1.106 GB, free: 40.35 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.77e-05/0.181, allocations: 47.83 kB / 1.106 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.181, allocations: 3.375 kB / 1.106 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.944e-06/0.1811, allocations: 0 / 1.106 GB, free: 40.3 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 8.867e-06/0.1811, allocations: 0 / 1.106 GB, free: 40.3 MB / 0.6042 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.0005948/0.1817, allocations: 371.4 kB / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.106e-05/0.1817, allocations: 11.5 kB / 1.106 GB, free: 39.89 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.645e-05/0.1818, allocations: 38.5 kB / 1.106 GB, free: 39.84 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.066e-05/0.1818, allocations: 7.906 kB / 1.106 GB, free: 39.83 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000104/0.1819, allocations: 172 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.489e-05/0.182, allocations: 4 kB / 1.106 GB, free: 39.62 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.614e-05/0.182, allocations: 7.938 kB / 1.106 GB, free: 39.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002514/0.1822, allocations: 67.12 kB / 1.106 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.046e-05/0.1823, allocations: 3.938 kB / 1.106 GB, free: 39.54 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.1823, allocations: 8 kB / 1.106 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.991e-06/0.1823, allocations: 3.953 kB / 1.106 GB, free: 39.53 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003081/0.1826, allocations: 54.91 kB / 1.106 GB, free: 39.48 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005278/0.1832, allocations: 307.5 kB / 1.107 GB, free: 39.13 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006368/0.1838, allocations: 121.9 kB / 1.107 GB, free: 39.01 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001635/0.184, allocations: 36.95 kB / 1.107 GB, free: 38.97 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 1.826e-05/0.184, allocations: 11.3 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003117/0.1843, allocations: 79.38 kB / 1.107 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 2.585e-06/0.1844, allocations: 0 / 1.107 GB, free: 38.87 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006035/0.185, allocations: 140.5 kB / 1.107 GB, free: 38.73 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.701e-05/0.185, allocations: 58.31 kB / 1.107 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.76e-05/0.1851, allocations: 125.9 kB / 1.107 GB, free: 38.53 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.802e-05/0.1852, allocations: 29.7 kB / 1.107 GB, free: 38.49 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 4.273e-05/0.1852, allocations: 92.2 kB / 1.107 GB, free: 38.4 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.425e-05/0.1852, allocations: 15.75 kB / 1.107 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.915e-06/0.1853, allocations: 4 kB / 1.107 GB, free: 38.38 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.03e-05/0.1853, allocations: 321.1 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001647/0.1855, allocations: 31.97 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001752/0.1857, allocations: 58.05 kB / 1.108 GB, free: 37.96 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000166/0.1859, allocations: 38.88 kB / 1.108 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.787e-06/0.1859, allocations: 0 / 1.108 GB, free: 37.93 MB / 0.6042 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004028/0.1863, allocations: 127.5 kB / 1.108 GB, free: 37.8 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.764e-05/0.1863, allocations: 8 kB / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.991e-06/0.1863, allocations: 0.5625 kB / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.204e-05/0.1864, allocations: 6.031 kB / 1.108 GB, free: 37.79 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001284/0.1865, allocations: 15.98 kB / 1.108 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.923e-06/0.1865, allocations: 0 / 1.108 GB, free: 37.77 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001484/0.1867, allocations: 15.98 kB / 1.108 GB, free: 37.76 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.189e-05/0.1867, allocations: 8 kB / 1.108 GB, free: 37.75 MB / 0.6042 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 8.653e-05/0.1868, allocations: 128.2 kB / 1.108 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.039e-05/0.1868, allocations: 11.86 kB / 1.108 GB, free: 37.61 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.685e-05/0.1869, allocations: 12.38 kB / 1.108 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.386e-06/0.1869, allocations: 0 / 1.108 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.959e-06/0.1869, allocations: 0 / 1.108 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.248e-06/0.1869, allocations: 3.406 kB / 1.108 GB, free: 37.59 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000601/0.1875, allocations: 382.4 kB / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.374e-06/0.1875, allocations: 0 / 1.109 GB, free: 37.16 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.1e-05/0.1876, allocations: 10.41 kB / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.607e-06/0.1877, allocations: 0 / 1.109 GB, free: 37.15 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.352e-05/0.1877, allocations: 7.984 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.1877, allocations: 0 / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.1877, allocations: 4 kB / 1.109 GB, free: 37.14 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003971/0.1881, allocations: 208.7 kB / 1.109 GB, free: 36.93 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 5.048e-05/0.1882, allocations: 85.05 kB / 1.109 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.1882, allocations: 4 kB / 1.109 GB, free: 36.82 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001734/0.1884, allocations: 19.2 kB / 1.109 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.008e-05/0.1885, allocations: 7.984 kB / 1.109 GB, free: 36.8 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.14e-05/0.1885, allocations: 7.938 kB / 1.109 GB, free: 36.79 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.692e-05/0.1885, allocations: 95.2 kB / 1.109 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of sort global known variables: time 3.9e-07/0.1886, allocations: 0 / 1.109 GB, free: 36.7 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0003184/0.1889, allocations: 15.91 kB / 1.109 GB, free: 36.68 MB / 0.6042 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.0006166/0.1895, allocations: 0.7405 MB / 1.11 GB, free: 35.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0003993/0.1899, allocations: 86.03 kB / 1.11 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.826e-06/0.1899, allocations: 0 / 1.11 GB, free: 35.84 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.00019/0.1901, allocations: 45.03 kB / 1.11 GB, free: 35.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003905/0.1905, allocations: 15.56 kB / 1.11 GB, free: 35.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001332/0.1919, allocations: 0.5715 MB / 1.11 GB, free: 35.16 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001468/0.1921, allocations: 0.689 MB / 1.111 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 8.668e-05/0.1922, allocations: 4 kB / 1.111 GB, free: 34.45 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.238e-05/0.1922, allocations: 23.42 kB / 1.111 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of SimCode: time 1.102e-06/0.1923, allocations: 7.188 kB / 1.111 GB, free: 34.42 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01963/0.2119, allocations: 1.626 MB / 1.113 GB, free: 32.98 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002028/0.2122, allocations: 186.2 kB / 1.113 GB, free: 32.74 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/2.53, allocations: 0 / 1.113 GB, free: 32.74 MB / 0.6042 GB