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.Change.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.Change,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Change",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.076/4.076, allocations: 433.2 MB / 440.7 MB, free: 4.547 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.886e-05/3.897e-05, allocations: 8.562 kB / 0.5325 GB, free: 12.7 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2199/0.22, allocations: 98.74 MB / 0.6289 GB, free: 9.078 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2598/0.4799, allocations: 123.9 MB / 0.75 GB, free: 12.96 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002669/0.4802, allocations: 71.95 kB / 0.75 GB, free: 12.89 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.003784/0.484, allocations: 0.9541 MB / 0.751 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.503e-06/0.484, allocations: 0 / 0.751 GB, free: 11.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.324e-06/0.4841, allocations: 0 / 0.751 GB, free: 11.94 MB / 0.6355 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.0006245/0.4847, allocations: 366.5 kB / 0.7513 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.4848, allocations: 12.03 kB / 0.7513 GB, free: 11.52 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.814e-05/0.4848, allocations: 11.86 kB / 0.7513 GB, free: 11.51 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001658/0.485, allocations: 175 kB / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.485, allocations: 0 / 0.7515 GB, free: 11.3 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.189e-05/0.4851, allocations: 7.938 kB / 0.7515 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001107/0.4852, allocations: 20 kB / 0.7515 GB, free: 11.27 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001157/0.4853, allocations: 49.69 kB / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.478e-06/0.4853, allocations: 0 / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.235e-05/0.4853, allocations: 0 / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4854, allocations: 0 / 0.7516 GB, free: 11.22 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005863/0.486, allocations: 289.3 kB / 0.7518 GB, free: 10.9 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005469/0.4865, allocations: 102.5 kB / 0.7519 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.097e-05/0.4866, allocations: 16.98 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.827e-05/0.4866, allocations: 3.984 kB / 0.752 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001626/0.4868, allocations: 63.39 kB / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.726e-06/0.4868, allocations: 0 / 0.752 GB, free: 10.69 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0002673/0.4871, allocations: 81.61 kB / 0.7521 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.08e-05/0.4871, allocations: 55.34 kB / 0.7522 GB, free: 10.54 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001016/0.4873, allocations: 109.2 kB / 0.7523 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.485e-05/0.4873, allocations: 29.7 kB / 0.7523 GB, free: 10.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.4874, allocations: 88.12 kB / 0.7524 GB, free: 10.3 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.013e-05/0.4874, allocations: 19.75 kB / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.013e-06/0.4874, allocations: 0 / 0.7524 GB, free: 10.28 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001257/0.4876, allocations: 314.8 kB / 0.7527 GB, free: 9.961 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.391e-05/0.4876, allocations: 16 kB / 0.7527 GB, free: 9.945 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.665e-05/0.4877, allocations: 43.44 kB / 0.7527 GB, free: 9.891 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.354e-05/0.4878, allocations: 15.98 kB / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4878, allocations: 0 / 0.7528 GB, free: 9.875 MB / 0.6355 GB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001997/0.488, allocations: 77.53 kB / 0.7528 GB, free: 9.793 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.201e-05/0.488, allocations: 8 kB / 0.7528 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.488, allocations: 0 / 0.7528 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.852e-05/0.4881, allocations: 0 / 0.7528 GB, free: 9.785 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.4882, allocations: 32.08 kB / 0.7529 GB, free: 9.754 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.286e-06/0.4883, allocations: 3.953 kB / 0.7529 GB, free: 9.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001577/0.4884, allocations: 15.98 kB / 0.7529 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.385e-05/0.4885, allocations: 4 kB / 0.7529 GB, free: 9.73 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.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 9.341e-05/0.4886, allocations: 105.7 kB / 0.753 GB, free: 9.621 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001707/0.4887, allocations: 81.53 kB / 0.7531 GB, free: 9.535 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.714e-05/0.4888, allocations: 4.469 kB / 0.7531 GB, free: 9.531 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.042e-05/0.4888, allocations: 12.58 kB / 0.7531 GB, free: 9.52 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.581e-06/0.4888, allocations: 3.984 kB / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.759e-06/0.4889, allocations: 0 / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.466e-06/0.4889, allocations: 0 / 0.7531 GB, free: 9.516 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004154/0.4893, allocations: 307.2 kB / 0.7534 GB, free: 9.172 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.605e-06/0.4893, allocations: 3.938 kB / 0.7534 GB, free: 9.168 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001093/0.4894, allocations: 19.92 kB / 0.7534 GB, free: 9.148 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.222e-06/0.4894, allocations: 3.953 kB / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.104e-05/0.4895, allocations: 0 / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.264e-06/0.4895, allocations: 0 / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.585e-06/0.4895, allocations: 0 / 0.7534 GB, free: 9.145 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002079/0.4897, allocations: 171.4 kB / 0.7536 GB, free: 8.961 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 4.789e-05/0.4898, allocations: 81.11 kB / 0.7537 GB, free: 8.863 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.693e-05/0.4898, allocations: 3.953 kB / 0.7537 GB, free: 8.859 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000187/0.49, allocations: 19.98 kB / 0.7537 GB, free: 8.84 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.18e-05/0.4901, allocations: 7.984 kB / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.699e-06/0.4901, allocations: 0 / 0.7537 GB, free: 8.832 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.026e-05/0.4902, allocations: 95.27 kB / 0.7538 GB, free: 8.738 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.11e-07/0.4902, allocations: 3.938 kB / 0.7538 GB, free: 8.734 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000326/0.4905, allocations: 12 kB / 0.7538 GB, free: 8.723 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.000566/0.4911, allocations: 0.7048 MB / 0.7545 GB, free: 7.988 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001802/0.4913, allocations: 47.92 kB / 0.7545 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.425e-06/0.4913, allocations: 0 / 0.7545 GB, free: 7.941 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.831e-05/0.4914, allocations: 20.08 kB / 0.7545 GB, free: 7.922 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003024/0.4917, allocations: 18.19 kB / 0.7546 GB, free: 7.906 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005526/0.4923, allocations: 129.5 kB / 0.7547 GB, free: 7.742 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002831/0.4926, allocations: 0.6885 MB / 0.7554 GB, free: 7.027 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.643e-05/0.4926, allocations: 7.781 kB / 0.7554 GB, free: 7.02 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.382e-05/0.4927, allocations: 19.44 kB / 0.7554 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of SimCode: time 3.286e-06/0.4927, allocations: 0 / 0.7554 GB, free: 7.004 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03504/0.5278, allocations: 1.304 MB / 0.7567 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003012/0.5281, allocations: 148.9 kB / 0.7568 GB, free: 5.516 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.221/2.749, allocations: 0 / 0.7568 GB, free: 5.516 MB / 0.6355 GB