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/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.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 4.393/4.393, allocations: 433.2 MB / 440.8 MB, free: 4.488 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.008e-05/3.037e-05, allocations: 6.375 kB / 0.5325 GB, free: 12.73 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2182/0.2183, allocations: 98.74 MB / 0.6289 GB, free: 9.043 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2314/0.4497, allocations: 124.4 MB / 0.7504 GB, free: 12.5 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002903/0.4501, allocations: 71.95 kB / 0.7504 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.02161/0.4717, allocations: 4.324 MB / 0.7547 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.736e-06/0.4718, allocations: 0 / 0.7547 GB, free: 8.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.227e-05/0.4718, allocations: 8 kB / 0.7547 GB, free: 8.082 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: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.002975/0.4748, allocations: 0.7002 MB / 0.7554 GB, free: 7.332 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.232e-05/0.4749, allocations: 8.031 kB / 0.7554 GB, free: 7.324 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003362/0.4752, allocations: 75.8 kB / 0.7554 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002859/0.4755, allocations: 210.7 kB / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001113/0.4757, allocations: 27.95 kB / 0.7557 GB, free: 6.98 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002103/0.4759, allocations: 67.95 kB / 0.7557 GB, free: 6.914 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0007586/0.4767, allocations: 209.1 kB / 0.7559 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/0.4779, allocations: 426.1 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.64e-05/0.4779, allocations: 0 / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001024/0.4781, allocations: 19.95 kB / 0.7564 GB, free: 6.258 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.527e-05/0.4781, allocations: 11.98 kB / 0.7564 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003497/0.4816, allocations: 1.068 MB / 0.7574 GB, free: 5.137 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001587/0.4832, allocations: 0.5829 MB / 0.758 GB, free: 4.535 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007709/0.484, allocations: 289.6 kB / 0.7583 GB, free: 4.246 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.429e-05/0.484, allocations: 4 kB / 0.7583 GB, free: 4.242 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001689/0.4858, allocations: 0.689 MB / 0.7589 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=100): time 3.427e-06/0.4858, allocations: 0 / 0.7589 GB, free: 3.535 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100): time 0.003151/0.4889, allocations: 1.091 MB / 0.76 GB, free: 2.438 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.888e-05/0.489, allocations: 102 kB / 0.7601 GB, free: 2.32 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003451/0.4894, allocations: 229.7 kB / 0.7603 GB, free: 2.094 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001152/0.4895, allocations: 41.69 kB / 0.7604 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001462/0.4897, allocations: 138.2 kB / 0.7605 GB, free: 1.906 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002667/0.49, allocations: 189.5 kB / 0.7607 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.291e-05/0.49, allocations: 0 / 0.7607 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0002031/0.4902, allocations: 366.8 kB / 0.761 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005598/0.4908, allocations: 170.6 kB / 0.7612 GB, free: 1.184 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008901/0.4917, allocations: 0.5267 MB / 0.7617 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006315/0.4924, allocations: 226.5 kB / 0.7619 GB, free: 280 kB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.167e-06/0.4924, allocations: 4 kB / 0.7619 GB, free: 276 kB / 0.6355 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.001935/0.4943, allocations: 0.7009 MB / 0.7626 GB, free: 15.56 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.485e-05/0.4944, allocations: 8 kB / 0.7626 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.47e-05/0.4944, allocations: 15.95 kB / 0.7626 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.843e-05/0.4945, allocations: 23.98 kB / 0.7626 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000795/0.4953, allocations: 127.6 kB / 0.7628 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.288e-05/0.4953, allocations: 27.92 kB / 0.7628 GB, free: 15.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000809/0.4962, allocations: 75.64 kB / 0.7629 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001045/0.4963, allocations: 48 kB / 0.7629 GB, free: 15.24 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.0004285/0.4967, allocations: 205 kB / 0.7631 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.002981/0.4997, allocations: 1.08 MB / 0.7642 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001578/0.4999, allocations: 75.36 kB / 0.7642 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001345/0.5001, allocations: 39.39 kB / 0.7643 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.332e-05/0.5001, allocations: 12 kB / 0.7643 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.603e-06/0.5001, allocations: 0 / 0.7643 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.337e-05/0.5001, allocations: 3.984 kB / 0.7643 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0052/0.5053, allocations: 2.096 MB / 0.7663 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.923e-06/0.5054, allocations: 0 / 0.7663 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001054/0.5055, allocations: 23.92 kB / 0.7664 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.51e-05/0.5055, allocations: 4 kB / 0.7664 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001139/0.5056, allocations: 27.94 kB / 0.7664 GB, free: 11.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.209e-05/0.5057, allocations: 11.89 kB / 0.7664 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.5057, allocations: 0 / 0.7664 GB, free: 11.58 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003044/0.5087, allocations: 1.309 MB / 0.7677 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001324/0.5089, allocations: 112.5 kB / 0.7678 GB, free: 10.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001727/0.5091, allocations: 31.91 kB / 0.7678 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008136/0.5099, allocations: 79.78 kB / 0.7679 GB, free: 10.01 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002843/0.5102, allocations: 96.7 kB / 0.768 GB, free: 9.918 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001551/0.5104, allocations: 75.95 kB / 0.7681 GB, free: 9.844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002088/0.5106, allocations: 154 kB / 0.7682 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.5106, allocations: 0 / 0.7682 GB, free: 9.695 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001058/0.5117, allocations: 164 kB / 0.7684 GB, free: 9.535 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.003724/0.5154, allocations: 2.001 MB / 0.7703 GB, free: 7.5 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002011/0.5175, allocations: 0.6785 MB / 0.771 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.095e-06/0.5175, allocations: 0 / 0.771 GB, free: 6.824 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001301/0.5188, allocations: 0.5599 MB / 0.7715 GB, free: 6.27 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006108/0.5194, allocations: 45.19 kB / 0.7716 GB, free: 6.227 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003182/0.5226, allocations: 0.8317 MB / 0.7724 GB, free: 5.355 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005305/0.5232, allocations: 0.8345 MB / 0.7732 GB, free: 4.492 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0003439/0.5236, allocations: 68.91 kB / 0.7733 GB, free: 4.426 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004049/0.524, allocations: 159.4 kB / 0.7734 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of SimCode: time 1.293e-06/0.524, allocations: 0 / 0.7734 GB, free: 4.27 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.652/1.176, allocations: 9.674 MB / 0.7829 GB, free: 143.5 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002063/1.176, allocations: 142.9 kB / 0.783 GB, free: 143.3 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.885/4.061, allocations: 2 kB / 0.783 GB, free: 143.3 MB / 0.6511 GB