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 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: "" <> 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 loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.0115/0.0115, allocations: 107.3 kB / 15.05 MB, free: 5.934 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.001162/0.001162, allocations: 181.1 kB / 15.94 MB, free: 5.898 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 1.879/1.879, allocations: 194.5 MB / 211.2 MB, free: 11.1 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.529/2.529, allocations: 236.1 MB / 492.6 MB, free: 11.38 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007145/0.0007146, allocations: 12 kB / 0.587 GB, free: 2.035 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7204/0.7212, allocations: 98.71 MB / 0.6834 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2285/0.9498, allocations: 125.1 MB / 0.8056 GB, free: 1.137 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002787/0.9501, allocations: 75.89 kB / 0.8057 GB, free: 1.062 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.02168/0.9718, allocations: 4.363 MB / 0.81 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.429e-06/0.9719, allocations: 0 / 0.81 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.686e-05/0.9719, allocations: 15.94 kB / 0.81 GB, free: 12.68 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.002613/0.9746, allocations: 0.735 MB / 0.8107 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.041e-05/0.9746, allocations: 8.031 kB / 0.8107 GB, free: 11.88 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001635/0.9748, allocations: 78.48 kB / 0.8108 GB, free: 11.79 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001855/0.975, allocations: 71.91 kB / 0.8109 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002436/0.9752, allocations: 210.5 kB / 0.8111 GB, free: 11.47 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.836e-05/0.9754, allocations: 48.52 kB / 0.8111 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001955/0.9756, allocations: 75.95 kB / 0.8112 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001562/0.9771, allocations: 495.1 kB / 0.8117 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.467e-05/0.9772, allocations: 0 / 0.8117 GB, free: 10.86 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001071/0.9773, allocations: 31.92 kB / 0.8117 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.139e-05/0.9773, allocations: 4 kB / 0.8117 GB, free: 10.82 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001066/0.9784, allocations: 261.2 kB / 0.8119 GB, free: 10.57 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003632/0.982, allocations: 1.134 MB / 0.813 GB, free: 9.379 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002283/0.9844, allocations: 0.6716 MB / 0.8137 GB, free: 8.691 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.9844, allocations: 4 kB / 0.8137 GB, free: 8.688 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00219/0.9866, allocations: 0.7577 MB / 0.8144 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=100): time 4.919e-06/0.9867, allocations: 0 / 0.8144 GB, free: 7.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=100): time 0.005202/0.9919, allocations: 1.574 MB / 0.816 GB, free: 6.332 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.592e-05/0.992, allocations: 89.98 kB / 0.8161 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00039/0.9924, allocations: 241.4 kB / 0.8163 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 0.0001614/0.9926, allocations: 65.7 kB / 0.8164 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.000145/0.9928, allocations: 138.1 kB / 0.8165 GB, free: 5.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002638/0.993, allocations: 209.5 kB / 0.8167 GB, free: 5.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.345e-05/0.9931, allocations: 27.94 kB / 0.8167 GB, free: 5.535 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001967/0.9933, allocations: 366.8 kB / 0.8171 GB, free: 5.168 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008732/0.9942, allocations: 210.5 kB / 0.8173 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001185/0.9954, allocations: 0.5627 MB / 0.8178 GB, free: 4.234 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000952/0.9964, allocations: 258.6 kB / 0.8181 GB, free: 3.984 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.261e-05/0.9964, allocations: 4 kB / 0.8181 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of matching and sorting (n=150) (initialization): time 0.002698/0.9991, allocations: 0.8524 MB / 0.8189 GB, free: 3.121 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 3.941e-05/0.9992, allocations: 11.95 kB / 0.8189 GB, free: 3.109 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.442e-05/0.9992, allocations: 12.91 kB / 0.8189 GB, free: 3.098 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.488e-05/0.9993, allocations: 23.94 kB / 0.8189 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008063/1, allocations: 139.6 kB / 0.8191 GB, free: 2.938 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.796e-05/1, allocations: 23.94 kB / 0.8191 GB, free: 2.914 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000863/1.001, allocations: 99.48 kB / 0.8192 GB, free: 2.816 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001031/1.001, allocations: 48 kB / 0.8192 GB, free: 2.77 MB / 0.6355 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 () * Number of clocked 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.0005912/1.002, allocations: 262 kB / 0.8195 GB, free: 2.496 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001883/1.002, allocations: 71.41 kB / 0.8196 GB, free: 2.426 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001421/1.002, allocations: 51.56 kB / 0.8196 GB, free: 2.379 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.611e-05/1.002, allocations: 12 kB / 0.8196 GB, free: 2.367 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.002, allocations: 4 kB / 0.8196 GB, free: 2.363 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.358e-05/1.002, allocations: 3.984 kB / 0.8196 GB, free: 2.359 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006062/1.008, allocations: 2.287 MB / 0.8219 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.438e-06/1.008, allocations: 3.938 kB / 0.8219 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000116/1.008, allocations: 27.86 kB / 0.8219 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.333e-05/1.008, allocations: 4 kB / 0.8219 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001264/1.009, allocations: 31.95 kB / 0.8219 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.626e-06/1.009, allocations: 8 kB / 0.8219 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.104e-05/1.009, allocations: 7.953 kB / 0.8219 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003783/1.012, allocations: 1.429 MB / 0.8233 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001642/1.013, allocations: 120.5 kB / 0.8235 GB, free: 14.32 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001883/1.013, allocations: 39.95 kB / 0.8235 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008298/1.014, allocations: 79.86 kB / 0.8236 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003144/1.014, allocations: 104.6 kB / 0.8237 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001471/1.014, allocations: 75.95 kB / 0.8237 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002371/1.014, allocations: 158 kB / 0.8239 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.41e-07/1.014, allocations: 8 kB / 0.8239 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001052/1.016, allocations: 204 kB / 0.8241 GB, free: 13.67 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) * Number of clocked states: 0 () * 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.004382/1.02, allocations: 2.122 MB / 0.8262 GB, free: 11.51 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.002761/1.023, allocations: 0.7883 MB / 0.8269 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 5.911e-06/1.023, allocations: 0 / 0.8269 GB, free: 10.72 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001743/1.025, allocations: 0.6218 MB / 0.8275 GB, free: 10.1 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006226/1.025, allocations: 56.5 kB / 0.8276 GB, free: 10.05 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007874/1.033, allocations: 9.395 MB / 0.8368 GB, free: 372 kB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005295/1.034, allocations: 0.8388 MB / 0.8376 GB, free: 15.5 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004101/1.034, allocations: 68.91 kB / 0.8377 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004056/1.035, allocations: 167.2 kB / 0.8378 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of SimCode: time 1.382e-06/1.035, allocations: 0 / 0.8378 GB, free: 15.27 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0455/1.08, allocations: 9.964 MB / 0.8475 GB, free: 5.418 MB / 0.6667 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003771/1.08, allocations: 191.5 kB / 0.8477 GB, free: 5.176 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.117/4.197, allocations: 0 / 0.8477 GB, free: 5.176 MB / 0.6667 GB