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: 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009112/0.009111, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001853/0.001852, allocations: 184.1 kB / 15.94 MB, free: 5.926 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 2.009/2.009, allocations: 194.6 MB / 211.3 MB, free: 11.26 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.231/2.231, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004602/0.0004604, allocations: 12 kB / 0.587 GB, free: 2.168 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6189/0.6193, allocations: 98.71 MB / 0.6834 GB, free: 16.86 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1849/0.8043, allocations: 124.7 MB / 0.8051 GB, free: 1.594 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002328/0.8045, allocations: 67.97 kB / 0.8052 GB, free: 1.527 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003327/0.8079, allocations: 0.9631 MB / 0.8061 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.478e-06/0.8079, allocations: 0 / 0.8061 GB, free: 0.5586 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.833e-06/0.8079, allocations: 4 kB / 0.8061 GB, free: 0.5547 MB / 0.6198 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.0005308/0.8085, allocations: 371.2 kB / 0.8065 GB, free: 148 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.224e-05/0.8085, allocations: 8.031 kB / 0.8065 GB, free: 140 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.318e-05/0.8086, allocations: 11.89 kB / 0.8065 GB, free: 128 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001745/0.8088, allocations: 171 kB / 0.8067 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.747e-05/0.8088, allocations: 8 kB / 0.8067 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.245e-05/0.8088, allocations: 4 kB / 0.8067 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.8091, allocations: 69.66 kB / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.535e-06/0.8091, allocations: 0 / 0.8068 GB, free: 15.83 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.154e-05/0.8091, allocations: 7.969 kB / 0.8068 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.035e-06/0.8091, allocations: 0 / 0.8068 GB, free: 15.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00025/0.8094, allocations: 63.89 kB / 0.8068 GB, free: 15.76 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005693/0.81, allocations: 308.7 kB / 0.8071 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004788/0.8105, allocations: 114.6 kB / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.323e-05/0.8105, allocations: 0 / 0.8072 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002709/0.8108, allocations: 91.42 kB / 0.8073 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.361e-06/0.8108, allocations: 7.938 kB / 0.8073 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005115/0.8113, allocations: 141.5 kB / 0.8075 GB, free: 15.04 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.458e-05/0.8114, allocations: 67.34 kB / 0.8075 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001104/0.8115, allocations: 105.2 kB / 0.8076 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.826e-05/0.8116, allocations: 29.7 kB / 0.8077 GB, free: 14.81 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.852e-05/0.8117, allocations: 88.14 kB / 0.8077 GB, free: 14.72 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.176e-05/0.8117, allocations: 19.73 kB / 0.8078 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.586e-06/0.8117, allocations: 4 kB / 0.8078 GB, free: 14.7 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001563/0.8119, allocations: 314.8 kB / 0.8081 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001371/0.812, allocations: 35.97 kB / 0.8081 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001588/0.8122, allocations: 59.41 kB / 0.8082 GB, free: 14.27 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000134/0.8124, allocations: 35.98 kB / 0.8082 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.901e-06/0.8124, allocations: 0 / 0.8082 GB, free: 14.24 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003676/0.8127, allocations: 121.4 kB / 0.8083 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.862e-05/0.8128, allocations: 12.09 kB / 0.8083 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.208e-06/0.8128, allocations: 3.984 kB / 0.8083 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.365e-05/0.8128, allocations: 0 / 0.8083 GB, free: 14.1 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001159/0.8129, allocations: 12 kB / 0.8083 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.813, allocations: 7.938 kB / 0.8083 GB, free: 14.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001227/0.8131, allocations: 19.98 kB / 0.8084 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.25e-05/0.8131, allocations: 4 kB / 0.8084 GB, free: 14.05 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 () * 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.0001202/0.8133, allocations: 125.7 kB / 0.8085 GB, free: 13.92 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.4e-05/0.8133, allocations: 7.906 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.367e-05/0.8133, allocations: 8.375 kB / 0.8085 GB, free: 13.91 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.107e-06/0.8133, allocations: 4 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.922e-06/0.8134, allocations: 0 / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.629e-06/0.8134, allocations: 3.953 kB / 0.8085 GB, free: 13.9 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006437/0.814, allocations: 374.6 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.964e-06/0.814, allocations: 0.5625 kB / 0.8089 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.548e-05/0.8141, allocations: 11.98 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.191e-06/0.8142, allocations: 0 / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.342e-05/0.8142, allocations: 7.938 kB / 0.8089 GB, free: 13.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.341e-06/0.8142, allocations: 7.953 kB / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.611e-06/0.8142, allocations: 0 / 0.8089 GB, free: 13.45 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003898/0.8146, allocations: 207.3 kB / 0.8091 GB, free: 13.23 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.836e-05/0.8147, allocations: 85.05 kB / 0.8092 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.347e-05/0.8147, allocations: 4 kB / 0.8092 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001492/0.8149, allocations: 15.98 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.688e-05/0.8149, allocations: 11.94 kB / 0.8092 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.784e-06/0.815, allocations: 0 / 0.8092 GB, free: 13.1 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 8.216e-05/0.815, allocations: 95.27 kB / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.05e-07/0.8151, allocations: 0 / 0.8093 GB, free: 13 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003186/0.8154, allocations: 12 kB / 0.8093 GB, free: 12.99 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) * 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.0001491/0.8155, allocations: 107.2 kB / 0.8094 GB, free: 12.88 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.000343/0.8159, allocations: 87.92 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.908e-06/0.8159, allocations: 4.188 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.8161, allocations: 40.39 kB / 0.8095 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002451/0.8164, allocations: 13.7 kB / 0.8095 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004306/0.8168, allocations: 166.6 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003745/0.8172, allocations: 0.6926 MB / 0.8104 GB, free: 11.83 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.669e-05/0.8173, allocations: 4 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.848e-05/0.8173, allocations: 11.44 kB / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of SimCode: time 1.278e-06/0.8173, allocations: 0 / 0.8104 GB, free: 11.82 MB / 0.6355 GB Notification: Performance of Templates: time 0.003559/0.8209, allocations: 0.7403 MB / 0.8111 GB, free: 11.09 MB / 0.6355 GB