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.Discrete.Examples.UnitDelay.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: translateModel(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01/0.009999, allocations: 110.2 kB / 15.05 MB, free: 5.965 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.001164/0.001164, allocations: 179.3 kB / 15.94 MB, free: 5.93 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 2.014/2.014, allocations: 194.6 MB / 211.3 MB, free: 11.08 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.171/2.171, allocations: 236.2 MB / 492.6 MB, free: 11.37 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004667/0.0004668, allocations: 15.98 kB / 0.587 GB, free: 2.152 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5658/0.5663, allocations: 98.71 MB / 0.6833 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2128/0.7792, allocations: 124.5 MB / 0.805 GB, free: 1.746 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004534/0.7797, allocations: 67.95 kB / 0.805 GB, free: 1.68 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.003369/0.7831, allocations: 0.8693 MB / 0.8059 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.229e-06/0.7831, allocations: 0 / 0.8059 GB, free: 0.8086 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 7.481e-06/0.7831, allocations: 0 / 0.8059 GB, free: 0.8086 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005154/0.7837, allocations: 367.1 kB / 0.8062 GB, free: 412 kB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.809e-05/0.7837, allocations: 12.03 kB / 0.8063 GB, free: 400 kB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.509e-05/0.7838, allocations: 4 kB / 0.8063 GB, free: 396 kB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001306/0.7839, allocations: 167 kB / 0.8064 GB, free: 188 kB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.808e-05/0.7839, allocations: 4 kB / 0.8064 GB, free: 184 kB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.68e-05/0.784, allocations: 4 kB / 0.8064 GB, free: 180 kB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002214/0.7842, allocations: 69.59 kB / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.748e-06/0.7842, allocations: 0 / 0.8065 GB, free: 104 kB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.108e-05/0.7842, allocations: 4 kB / 0.8065 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.862e-06/0.7843, allocations: 0 / 0.8065 GB, free: 100 kB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002284/0.7845, allocations: 55.95 kB / 0.8065 GB, free: 44 kB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005208/0.785, allocations: 288.7 kB / 0.8068 GB, free: 15.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002028/0.7852, allocations: 62.55 kB / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.393e-05/0.7853, allocations: 0 / 0.8069 GB, free: 15.64 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000243/0.7855, allocations: 83.52 kB / 0.807 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=6): time 2.261e-06/0.7856, allocations: 0 / 0.807 GB, free: 15.55 MB / 0.6355 GB Notification: Performance of matching and sorting (n=6): time 0.0005307/0.7861, allocations: 137.6 kB / 0.8071 GB, free: 15.41 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.259e-05/0.7862, allocations: 55.36 kB / 0.8071 GB, free: 15.34 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001005/0.7863, allocations: 108.9 kB / 0.8072 GB, free: 15.23 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.465e-05/0.7863, allocations: 29.7 kB / 0.8073 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.077e-05/0.7864, allocations: 84.14 kB / 0.8074 GB, free: 15.11 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.969e-05/0.7864, allocations: 19.73 kB / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.385e-06/0.7864, allocations: 0 / 0.8074 GB, free: 15.09 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001585/0.7866, allocations: 322.8 kB / 0.8077 GB, free: 14.76 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001274/0.7867, allocations: 31.91 kB / 0.8077 GB, free: 14.73 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000147/0.7869, allocations: 56.28 kB / 0.8078 GB, free: 14.66 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001515/0.7871, allocations: 43.91 kB / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.25e-06/0.7871, allocations: 0 / 0.8078 GB, free: 14.62 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003565/0.7875, allocations: 113.6 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.766e-05/0.7875, allocations: 4 kB / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.041e-06/0.7875, allocations: 0 / 0.8079 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.679e-05/0.7875, allocations: 4 kB / 0.8079 GB, free: 14.49 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001359/0.7877, allocations: 28.08 kB / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.79e-06/0.7877, allocations: 0 / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000101/0.7878, allocations: 19.84 kB / 0.808 GB, free: 14.45 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.373e-05/0.7878, allocations: 4 kB / 0.808 GB, free: 14.44 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.unitDelay1.y,unitDelay1.y,$PRE.unitDelay1.firstTrigger,unitDelay1.firstTrigger,$whenCondition1,unitDelay1.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (9): * Single equations (assignments): 9 * 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.0001118/0.788, allocations: 115.2 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.056e-05/0.788, allocations: 4 kB / 0.8081 GB, free: 14.32 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003683/0.7884, allocations: 114 kB / 0.8082 GB, free: 14.2 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.493e-06/0.7884, allocations: 4 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.61e-06/0.7884, allocations: 0 / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.893e-06/0.7884, allocations: 3.984 kB / 0.8082 GB, free: 14.19 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005922/0.789, allocations: 362.5 kB / 0.8086 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.998e-06/0.789, allocations: 0 / 0.8086 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.689e-05/0.7891, allocations: 11.98 kB / 0.8086 GB, free: 13.77 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.974e-06/0.7892, allocations: 4 kB / 0.8086 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.018e-05/0.7892, allocations: 0 / 0.8086 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.144e-06/0.7892, allocations: 384 / 0.8086 GB, free: 13.76 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.36e-06/0.7892, allocations: 7.938 kB / 0.8086 GB, free: 13.75 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003723/0.7896, allocations: 203.4 kB / 0.8088 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.41e-05/0.7897, allocations: 85.05 kB / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.234e-05/0.7897, allocations: 0 / 0.8088 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001369/0.7898, allocations: 15.98 kB / 0.8089 GB, free: 13.42 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.7899, allocations: 15.92 kB / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.967e-06/0.7899, allocations: 0 / 0.8089 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.756e-05/0.79, allocations: 87.22 kB / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-07/0.79, allocations: 0 / 0.809 GB, free: 13.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003395/0.7904, allocations: 19.89 kB / 0.809 GB, free: 13.3 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: 4 (unitDelay1.sampleTrigger,$whenCondition1,unitDelay1.y,unitDelay1.firstTrigger) * Number of discrete states: 1 (unitDelay1.u) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * 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.0001398/0.7905, allocations: 107.4 kB / 0.8091 GB, free: 13.18 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003017/0.7908, allocations: 67.89 kB / 0.8091 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.943e-06/0.7909, allocations: 3.938 kB / 0.8092 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001608/0.791, allocations: 44.28 kB / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002192/0.7913, allocations: 4 kB / 0.8092 GB, free: 13.07 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003823/0.7917, allocations: 140.8 kB / 0.8093 GB, free: 12.9 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003503/0.792, allocations: 0.6901 MB / 0.81 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 3.843e-05/0.7921, allocations: 4.188 kB / 0.81 GB, free: 12.18 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.221e-05/0.7921, allocations: 11.44 kB / 0.81 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of SimCode: time 4.841e-06/0.7921, allocations: 0 / 0.81 GB, free: 12.17 MB / 0.6355 GB Notification: Performance of Templates: time 0.003184/0.7953, allocations: 0.5473 MB / 0.8106 GB, free: 11.63 MB / 0.6355 GB