Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Controls.OBC.CDL.Logical.Validation.Change,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.Change") Notification: Performance of loadModel(Buildings): time 4.041/4.041, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.804e-05/2.838e-05, allocations: 8 kB / 0.5325 GB, free: 1.941 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5451/0.5452, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2358/0.781, allocations: 124 MB / 0.75 GB, free: 3.633 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/0.7813, allocations: 71.95 kB / 0.75 GB, free: 3.562 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003273/0.7846, allocations: 0.9515 MB / 0.751 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.181e-06/0.7847, allocations: 0 / 0.751 GB, free: 2.609 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.484e-06/0.7847, allocations: 0 / 0.751 GB, free: 2.609 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.0005345/0.7852, allocations: 362.5 kB / 0.7513 GB, free: 2.211 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.7853, allocations: 12.02 kB / 0.7513 GB, free: 2.199 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.964e-05/0.7853, allocations: 11.86 kB / 0.7513 GB, free: 2.188 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000179/0.7855, allocations: 174.9 kB / 0.7515 GB, free: 1.977 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.729e-05/0.7855, allocations: 4 kB / 0.7515 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.353e-05/0.7856, allocations: 0 / 0.7515 GB, free: 1.973 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.744e-05/0.7857, allocations: 31.92 kB / 0.7515 GB, free: 1.941 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001156/0.7858, allocations: 49.67 kB / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.416e-06/0.7858, allocations: 0 / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.104e-05/0.7858, allocations: 0 / 0.7516 GB, free: 1.887 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.333e-06/0.7859, allocations: 4 kB / 0.7516 GB, free: 1.883 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.7864, allocations: 281.3 kB / 0.7519 GB, free: 1.57 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003888/0.7868, allocations: 106.6 kB / 0.752 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.173e-05/0.7869, allocations: 12.98 kB / 0.752 GB, free: 1.441 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.361e-05/0.7869, allocations: 4 kB / 0.752 GB, free: 1.438 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000156/0.7871, allocations: 59.41 kB / 0.752 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=7): time 2.429e-06/0.7871, allocations: 0 / 0.752 GB, free: 1.367 MB / 0.6198 GB Notification: Performance of matching and sorting (n=7): time 0.0002277/0.7873, allocations: 85.55 kB / 0.7521 GB, free: 1.277 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.124e-05/0.7874, allocations: 59.39 kB / 0.7522 GB, free: 1.207 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001064/0.7875, allocations: 101.2 kB / 0.7523 GB, free: 1.098 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 2.678e-05/0.7876, allocations: 29.7 kB / 0.7523 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 6.978e-05/0.7876, allocations: 92.12 kB / 0.7524 GB, free: 0.9688 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.7877, allocations: 7.812 kB / 0.7524 GB, free: 0.9609 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.964e-06/0.7877, allocations: 4 kB / 0.7524 GB, free: 0.957 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001629/0.7879, allocations: 318.8 kB / 0.7527 GB, free: 0.6367 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.344e-05/0.7879, allocations: 16 kB / 0.7527 GB, free: 0.6211 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.255e-05/0.788, allocations: 43.42 kB / 0.7528 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.24e-05/0.7881, allocations: 19.94 kB / 0.7528 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.695e-06/0.7881, allocations: 0 / 0.7528 GB, free: 0.5469 MB / 0.6198 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001934/0.7883, allocations: 89.45 kB / 0.7529 GB, free: 464 kB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 1.619e-05/0.7883, allocations: 4 kB / 0.7529 GB, free: 460 kB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.49e-06/0.7883, allocations: 4.094 kB / 0.7529 GB, free: 456 kB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.305e-05/0.7884, allocations: 4 kB / 0.7529 GB, free: 452 kB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000115/0.7885, allocations: 16.55 kB / 0.7529 GB, free: 436 kB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.412e-06/0.7885, allocations: 3.953 kB / 0.7529 GB, free: 432 kB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001191/0.7886, allocations: 19.98 kB / 0.7529 GB, free: 412 kB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.616e-05/0.7887, allocations: 4 kB / 0.7529 GB, free: 408 kB / 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.change.u,change.u,change.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 0.0001076/0.7888, allocations: 108.9 kB / 0.753 GB, free: 292 kB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.994e-05/0.7888, allocations: 7.906 kB / 0.753 GB, free: 284 kB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.553e-05/0.7889, allocations: 16.56 kB / 0.753 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.25e-06/0.7889, allocations: 0 / 0.753 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.353e-06/0.7889, allocations: 0 / 0.753 GB, free: 268 kB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.347e-06/0.7889, allocations: 3.953 kB / 0.7531 GB, free: 264 kB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004494/0.7894, allocations: 303.1 kB / 0.7533 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.711e-06/0.7894, allocations: 0 / 0.7533 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.551e-05/0.7895, allocations: 15.98 kB / 0.7534 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.572e-06/0.7895, allocations: 4 kB / 0.7534 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.266e-05/0.7895, allocations: 0 / 0.7534 GB, free: 15.9 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.541e-06/0.7895, allocations: 3.938 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.831e-06/0.7896, allocations: 3.953 kB / 0.7534 GB, free: 15.89 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002127/0.7898, allocations: 163.5 kB / 0.7535 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.52e-05/0.7899, allocations: 89 kB / 0.7536 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.244e-05/0.7899, allocations: 0 / 0.7536 GB, free: 15.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000157/0.7901, allocations: 19.98 kB / 0.7536 GB, free: 15.59 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.724e-05/0.7901, allocations: 7.984 kB / 0.7536 GB, free: 15.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.366e-05/0.7902, allocations: 7.953 kB / 0.7536 GB, free: 15.57 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.886e-05/0.7902, allocations: 87.28 kB / 0.7537 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.32e-07/0.7902, allocations: 0 / 0.7537 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003145/0.7906, allocations: 11.94 kB / 0.7537 GB, free: 15.48 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 (change.y,$whenCondition2,$whenCondition1,booPul.pulseStart,change.u,triggeredSampler.y) * Number of discrete states: 1 (change.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.0001574/0.7907, allocations: 110.5 kB / 0.7538 GB, free: 15.36 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001513/0.7909, allocations: 43.94 kB / 0.7539 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.935e-06/0.7909, allocations: 0 / 0.7539 GB, free: 15.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.124e-05/0.791, allocations: 23.94 kB / 0.7539 GB, free: 15.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000255/0.7913, allocations: 11.98 kB / 0.7539 GB, free: 15.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003088/0.7916, allocations: 93.52 kB / 0.754 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003757/0.792, allocations: 0.6926 MB / 0.7547 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 4.952e-05/0.792, allocations: 11.77 kB / 0.7547 GB, free: 14.44 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.966e-05/0.7921, allocations: 11.44 kB / 0.7547 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of SimCode: time 1.374e-06/0.7921, allocations: 288 / 0.7547 GB, free: 14.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.003478/0.7956, allocations: 0.6978 MB / 0.7554 GB, free: 13.74 MB / 0.6355 GB