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.004151/0.004156, allocations: 231.2 kB / 15.82 MB, free: 6.293 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.001118/0.001118, allocations: 175.3 kB / 16.7 MB, free: 5.453 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 3.923/3.923, allocations: 389.1 MB / 406.5 MB, free: 11.83 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.129/4.129, allocations: 472.3 MB / 0.9024 GB, free: 9.195 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004864, allocations: 19.06 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1841/0.1846, allocations: 98.72 MB / 1.105 GB, free: 42.02 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7926/0.9773, allocations: 124.7 MB / 1.226 GB, free: 28.26 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002627/0.9776, allocations: 76.08 kB / 1.227 GB, free: 28.23 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.00372/0.9814, allocations: 0.9502 MB / 1.227 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.104e-06/0.9814, allocations: 0 / 1.227 GB, free: 27.59 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.458e-05/0.9814, allocations: 4 kB / 1.227 GB, free: 27.58 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.0005661/0.982, allocations: 375.7 kB / 1.228 GB, free: 27.2 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.87e-05/0.9821, allocations: 8.031 kB / 1.228 GB, free: 27.19 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.103e-05/0.9821, allocations: 13.06 kB / 1.228 GB, free: 27.18 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001062/0.9822, allocations: 174.6 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.944e-05/0.9823, allocations: 4 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.611e-05/0.9823, allocations: 3.75 kB / 1.228 GB, free: 26.98 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002695/0.9826, allocations: 67.66 kB / 1.228 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.058e-05/0.9826, allocations: 0 / 1.228 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.9826, allocations: 8.625 kB / 1.228 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.189e-06/0.9826, allocations: 0 / 1.228 GB, free: 26.92 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003162/0.9829, allocations: 57.06 kB / 1.228 GB, free: 26.88 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005731/0.9835, allocations: 314.3 kB / 1.228 GB, free: 26.58 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000657/0.9842, allocations: 119 kB / 1.229 GB, free: 26.49 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001681/0.9844, allocations: 45.64 kB / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.516e-05/0.9844, allocations: 0 / 1.229 GB, free: 26.46 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002874/0.9847, allocations: 84.28 kB / 1.229 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 1.914e-06/0.9847, allocations: 3.156 kB / 1.229 GB, free: 26.39 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0006163/0.9854, allocations: 144.1 kB / 1.229 GB, free: 26.28 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.375e-05/0.9854, allocations: 52.39 kB / 1.229 GB, free: 26.22 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001148/0.9855, allocations: 124.9 kB / 1.229 GB, free: 26.09 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 1.846e-05/0.9856, allocations: 30.77 kB / 1.229 GB, free: 26.06 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 5.691e-05/0.9856, allocations: 85.2 kB / 1.229 GB, free: 25.98 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.646e-05/0.9857, allocations: 20.84 kB / 1.229 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.044e-06/0.9857, allocations: 3.281 kB / 1.229 GB, free: 25.96 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001438/0.9858, allocations: 321.7 kB / 1.229 GB, free: 25.65 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001734/0.986, allocations: 33.33 kB / 1.229 GB, free: 25.63 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001839/0.9862, allocations: 62.47 kB / 1.23 GB, free: 25.57 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001665/0.9864, allocations: 32.73 kB / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.545e-06/0.9864, allocations: 0 / 1.23 GB, free: 25.55 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0004306/0.9868, allocations: 128 kB / 1.23 GB, free: 25.46 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.765e-05/0.9869, allocations: 4 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.843e-06/0.9869, allocations: 6.156 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.881e-05/0.9869, allocations: 3.953 kB / 1.23 GB, free: 25.45 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001313/0.9871, allocations: 15.89 kB / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.213e-06/0.9871, allocations: 0 / 1.23 GB, free: 25.43 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001565/0.9872, allocations: 22.36 kB / 1.23 GB, free: 25.42 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.9873, allocations: 4 kB / 1.23 GB, free: 25.42 MB / 0.6198 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.0001037/0.9874, allocations: 122.6 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.919e-05/0.9874, allocations: 12.88 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.57e-05/0.9875, allocations: 8.125 kB / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.496e-06/0.9875, allocations: 0 / 1.23 GB, free: 25.29 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.412e-06/0.9875, allocations: 8.891 kB / 1.23 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.9875, allocations: 0 / 1.23 GB, free: 25.28 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006367/0.9881, allocations: 372.9 kB / 1.23 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.545e-06/0.9882, allocations: 4 kB / 1.23 GB, free: 24.92 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.603e-05/0.9883, allocations: 15.03 kB / 1.23 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.725e-06/0.9883, allocations: 0 / 1.23 GB, free: 24.91 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.384e-05/0.9883, allocations: 6.516 kB / 1.23 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.094e-06/0.9883, allocations: 0 / 1.23 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.374e-06/0.9883, allocations: 1.688 kB / 1.23 GB, free: 24.9 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009696/0.9893, allocations: 203.3 kB / 1.23 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 2.873e-05/0.9893, allocations: 81.11 kB / 1.231 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.835e-05/0.9894, allocations: 7.453 kB / 1.231 GB, free: 40.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001807/0.9896, allocations: 21.53 kB / 1.231 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.747e-05/0.9896, allocations: 9.953 kB / 1.231 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.063e-05/0.9897, allocations: 1.641 kB / 1.231 GB, free: 40.6 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.784e-05/0.9897, allocations: 98.23 kB / 1.231 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of sort global known variables: time 3.71e-07/0.9898, allocations: 3.938 kB / 1.231 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003004/0.9901, allocations: 13.41 kB / 1.231 GB, free: 40.5 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.0001254/0.9902, allocations: 103.2 kB / 1.231 GB, free: 40.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0004302/0.9906, allocations: 85.28 kB / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.635e-06/0.9907, allocations: 0 / 1.231 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001909/0.9909, allocations: 38.02 kB / 1.231 GB, free: 40.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000398/0.9913, allocations: 14.22 kB / 1.231 GB, free: 40.31 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000441/0.9917, allocations: 173.6 kB / 1.231 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003109/0.9921, allocations: 0.689 MB / 1.232 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.137e-05/0.9921, allocations: 6.203 kB / 1.232 GB, free: 39.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.122e-05/0.9922, allocations: 11.95 kB / 1.232 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.9922, allocations: 3.5 kB / 1.232 GB, free: 39.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.003893/0.9961, allocations: 0.7289 MB / 1.232 GB, free: 39.05 MB / 0.6355 GB