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.TrueDelay.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 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 Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TrueDelay,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TrueDelay",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 3.902/3.902, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.977e-05/3.985e-05, allocations: 4.969 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2304/0.2305, allocations: 98.74 MB / 0.6347 GB, free: 1.875 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2533/0.4839, allocations: 125 MB / 0.7568 GB, free: 4.664 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002707/0.4842, allocations: 75.94 kB / 0.7569 GB, free: 4.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02121/0.5055, allocations: 4.369 MB / 0.7612 GB, free: 216 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.5055, allocations: 0 / 0.7612 GB, free: 216 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.455e-05/0.5055, allocations: 4 kB / 0.7612 GB, free: 212 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002463/0.508, allocations: 0.703 MB / 0.7619 GB, free: 15.45 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.426e-05/0.5081, allocations: 12.03 kB / 0.7619 GB, free: 15.44 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001625/0.5082, allocations: 74.48 kB / 0.762 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001809/0.5084, allocations: 67.81 kB / 0.762 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002249/0.5087, allocations: 202.7 kB / 0.7622 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.656e-05/0.5088, allocations: 56.5 kB / 0.7623 GB, free: 15 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001783/0.509, allocations: 75.95 kB / 0.7623 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001402/0.5104, allocations: 475.2 kB / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.599e-05/0.5104, allocations: 0 / 0.7628 GB, free: 14.45 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001129/0.5106, allocations: 27.94 kB / 0.7628 GB, free: 14.42 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.083e-05/0.5106, allocations: 8 kB / 0.7628 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008464/0.5114, allocations: 237.4 kB / 0.7631 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003554/0.515, allocations: 1.138 MB / 0.7642 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001824/0.5169, allocations: 0.6415 MB / 0.7648 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009172/0.5178, allocations: 330.5 kB / 0.7651 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.891e-05/0.5179, allocations: 7.953 kB / 0.7651 GB, free: 12 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001846/0.5197, allocations: 0.7374 MB / 0.7658 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=100): time 3.908e-06/0.5197, allocations: 3.938 kB / 0.7658 GB, free: 11.24 MB / 0.6511 GB Notification: Performance of matching and sorting (n=100): time 0.003409/0.5232, allocations: 1.193 MB / 0.767 GB, free: 10.04 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.978e-05/0.5233, allocations: 97.97 kB / 0.7671 GB, free: 9.926 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003648/0.5237, allocations: 238.6 kB / 0.7673 GB, free: 9.688 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 0.0001353/0.5238, allocations: 65.69 kB / 0.7674 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001435/0.524, allocations: 146.1 kB / 0.7675 GB, free: 9.469 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002573/0.5242, allocations: 197.6 kB / 0.7677 GB, free: 9.273 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.99e-05/0.5243, allocations: 27.94 kB / 0.7677 GB, free: 9.246 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.5245, allocations: 370.8 kB / 0.7681 GB, free: 8.875 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006509/0.5252, allocations: 190.6 kB / 0.7683 GB, free: 8.688 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001003/0.5262, allocations: 0.5547 MB / 0.7688 GB, free: 7.969 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007398/0.527, allocations: 254.5 kB / 0.7691 GB, free: 7.723 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.797e-06/0.527, allocations: 4 kB / 0.7691 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002163/0.5292, allocations: 0.8256 MB / 0.7699 GB, free: 6.887 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.402e-05/0.5293, allocations: 11.95 kB / 0.7699 GB, free: 6.875 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.077e-05/0.5293, allocations: 16.16 kB / 0.7699 GB, free: 6.859 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.607e-05/0.5294, allocations: 20 kB / 0.7699 GB, free: 6.84 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007917/0.5302, allocations: 127.6 kB / 0.77 GB, free: 6.715 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.872e-05/0.5302, allocations: 23.92 kB / 0.7701 GB, free: 6.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008562/0.5311, allocations: 107.5 kB / 0.7702 GB, free: 6.586 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001126/0.5312, allocations: 48 kB / 0.7702 GB, free: 6.539 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * Number of states: 0 () * Number of discrete variables: 134 ($PRE.onDelay0.u,$PRE.onDelay1.u,$PRE.onDelay2.u,$PRE.onDelay4.u,$PRE.onDelay5.u,$PRE.onDelay6.u,$PRE.onDelay3.u,$PRE.onDelay7.u,$PRE.onDelay00.u,$PRE.onDelay11.u,$PRE.onDelay22.u,$PRE.onDelay44.u,$PRE.onDelay55.u,$PRE.onDelay66.u,$PRE.onDelay33.u,$PRE.onDelay77.u,$whenCondition50,$whenCondition47,$PRE.onDelay7.t_next,$whenCondition44,$PRE.onDelay3.t_next,$whenCondition41,$PRE.onDelay6.t_next,$whenCondition38,$PRE.onDelay5.t_next,$whenCondition35,$PRE.onDelay4.t_next,$whenCondition32,$PRE.onDelay2.t_next,$whenCondition29,$PRE.onDelay1.t_next,$whenCondition26,$PRE.onDelay0.t_next,onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,$whenCondition48,$whenCondition49,$whenCondition45,$whenCondition46,$whenCondition42,$whenCondition43,$whenCondition39,$whenCondition40,$whenCondition36,$whenCondition37,$whenCondition33,$whenCondition34,$whenCondition30,$whenCondition31,$whenCondition27,$whenCondition28,onDelay0.u,onDelay0.y,onDelay1.u,onDelay1.y,onDelay2.u,onDelay2.y,onDelay4.u,onDelay4.y,onDelay5.u,onDelay5.y,onDelay6.u,onDelay6.y,onDelay3.u,onDelay3.y,onDelay7.u,onDelay7.y,$PRE.booPul.pulseStart,booPul.pulseStart,onDelay0.t_next,$whenCondition25,$whenCondition22,$PRE.onDelay77.t_next,$whenCondition19,$PRE.onDelay33.t_next,$whenCondition16,$PRE.onDelay66.t_next,$whenCondition13,$PRE.onDelay55.t_next,$whenCondition10,$PRE.onDelay44.t_next,$whenCondition7,$PRE.onDelay22.t_next,$whenCondition4,$PRE.onDelay11.t_next,$whenCondition1,$PRE.onDelay00.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,$whenCondition23,$whenCondition24,$whenCondition20,$whenCondition21,$whenCondition17,$whenCondition18,$whenCondition14,$whenCondition15,$whenCondition11,$whenCondition12,$whenCondition8,$whenCondition9,$whenCondition5,$whenCondition6,$whenCondition2,$whenCondition3,onDelay00.u,onDelay00.y,onDelay11.u,onDelay11.y,onDelay22.u,onDelay22.y,onDelay44.u,onDelay44.y,onDelay55.u,onDelay55.y,onDelay66.u,onDelay66.y,onDelay33.u,onDelay33.y,onDelay77.u,onDelay77.y,$PRE.booPul1.pulseStart,booPul1.pulseStart,onDelay00.t_next) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (150): * Single equations (assignments): 150 * 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.0004492/0.5317, allocations: 229.1 kB / 0.7704 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001819/0.5319, allocations: 71.41 kB / 0.7705 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001446/0.532, allocations: 51.36 kB / 0.7705 GB, free: 6.18 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.711e-05/0.532, allocations: 12 kB / 0.7706 GB, free: 6.168 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.425e-05/0.5321, allocations: 7.969 kB / 0.7706 GB, free: 6.16 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.463e-05/0.5321, allocations: 3.984 kB / 0.7706 GB, free: 6.156 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00549/0.5376, allocations: 2.256 MB / 0.7728 GB, free: 3.816 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.548e-06/0.5376, allocations: 4 kB / 0.7728 GB, free: 3.812 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001096/0.5378, allocations: 23.86 kB / 0.7728 GB, free: 3.789 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.492e-05/0.5378, allocations: 8 kB / 0.7728 GB, free: 3.781 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001113/0.5379, allocations: 31.95 kB / 0.7728 GB, free: 3.75 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.021e-05/0.5379, allocations: 4 kB / 0.7728 GB, free: 3.746 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.409e-06/0.5379, allocations: 3.953 kB / 0.7728 GB, free: 3.742 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003179/0.5411, allocations: 1.399 MB / 0.7742 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001379/0.5413, allocations: 116.5 kB / 0.7743 GB, free: 2.184 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001706/0.5415, allocations: 47.94 kB / 0.7744 GB, free: 2.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008064/0.5423, allocations: 75.86 kB / 0.7744 GB, free: 2.062 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002801/0.5426, allocations: 100.7 kB / 0.7745 GB, free: 1.965 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001466/0.5428, allocations: 75.95 kB / 0.7746 GB, free: 1.891 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002095/0.543, allocations: 163.1 kB / 0.7748 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/0.543, allocations: 0 / 0.7748 GB, free: 1.73 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0009762/0.544, allocations: 203.9 kB / 0.775 GB, free: 1.531 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 100 (onDelay00.u,onDelay11.u,onDelay22.u,onDelay33.u,onDelay44.u,onDelay55.u,onDelay66.u,onDelay77.u,$whenCondition25,$whenCondition22,$whenCondition23,$whenCondition24,$whenCondition19,$whenCondition20,$whenCondition21,$whenCondition16,$whenCondition17,$whenCondition18,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition1,$whenCondition2,$whenCondition3,onDelay00.y,onDelay00.t_next,onDelay11.y,onDelay11.t_next,onDelay22.y,onDelay22.t_next,onDelay44.y,onDelay44.t_next,onDelay55.y,onDelay55.t_next,onDelay66.y,onDelay66.t_next,onDelay33.y,onDelay33.t_next,onDelay77.y,onDelay77.t_next,booPul1.pulseStart,onDelay0.u,onDelay1.u,onDelay2.u,onDelay3.u,onDelay4.u,onDelay5.u,onDelay6.u,onDelay7.u,$whenCondition50,$whenCondition47,$whenCondition48,$whenCondition49,$whenCondition44,$whenCondition45,$whenCondition46,$whenCondition41,$whenCondition42,$whenCondition43,$whenCondition38,$whenCondition39,$whenCondition40,$whenCondition35,$whenCondition36,$whenCondition37,$whenCondition32,$whenCondition33,$whenCondition34,$whenCondition29,$whenCondition30,$whenCondition31,$whenCondition26,$whenCondition27,$whenCondition28,onDelay0.y,onDelay0.t_next,onDelay1.y,onDelay1.t_next,onDelay2.y,onDelay2.t_next,onDelay4.y,onDelay4.t_next,onDelay5.y,onDelay5.t_next,onDelay6.y,onDelay6.t_next,onDelay3.y,onDelay3.t_next,onDelay7.y,onDelay7.t_next,booPul.pulseStart) * Number of discrete states: 16 (onDelay7.t_next,onDelay3.t_next,onDelay6.t_next,onDelay5.t_next,onDelay4.t_next,onDelay2.t_next,onDelay1.t_next,onDelay0.t_next,onDelay77.t_next,onDelay33.t_next,onDelay66.t_next,onDelay55.t_next,onDelay44.t_next,onDelay22.t_next,onDelay11.t_next,onDelay00.t_next) * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 66 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 34 * 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.5367/1.081, allocations: 2.09 MB / 0.777 GB, free: 139.4 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002294/1.083, allocations: 0.7601 MB / 0.7777 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.083, allocations: 0 / 0.7777 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001336/1.084, allocations: 0.6022 MB / 0.7783 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005723/1.085, allocations: 58.44 kB / 0.7784 GB, free: 139.3 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003252/1.088, allocations: 0.9289 MB / 0.7793 GB, free: 139.1 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/1.089, allocations: 0.8345 MB / 0.7801 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003291/1.089, allocations: 71.72 kB / 0.7802 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004166/1.089, allocations: 158.6 kB / 0.7803 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of SimCode: time 9.52e-07/1.089, allocations: 0 / 0.7803 GB, free: 138.4 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0473/1.137, allocations: 10.29 MB / 0.7904 GB, free: 137.7 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001885/1.137, allocations: 165.4 kB / 0.7905 GB, free: 137.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.735/3.872, allocations: 4 kB / 0.7905 GB, free: 137.5 MB / 0.6511 GB