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.004255/0.004254, allocations: 241.6 kB / 15.81 MB, free: 6.277 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.001151/0.001151, allocations: 184.7 kB / 16.69 MB, free: 5.449 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 3.941/3.941, allocations: 389.1 MB / 406.5 MB, free: 11.83 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.124/4.124, allocations: 472.3 MB / 0.9024 GB, free: 9.242 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0006559/0.0006563, allocations: 16 kB / 1.008 GB, free: 176.9 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1721/0.1728, allocations: 98.71 MB / 1.105 GB, free: 80.6 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.UnitDelay): time 0.001456/0.1743, allocations: 1.085 MB / 1.106 GB, free: 79.5 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.000501/0.1748, allocations: 221 kB / 1.106 GB, free: 79.29 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.096e-05/0.1749, allocations: 0 / 1.106 GB, free: 79.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.505e-05/0.1749, allocations: 0 / 1.106 GB, free: 79.29 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 7.18e-05/0.175, allocations: 10.98 kB / 1.106 GB, free: 79.28 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001699/0.1752, allocations: 19.86 kB / 1.106 GB, free: 79.26 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 7.838e-05/0.1753, allocations: 39.91 kB / 1.106 GB, free: 79.22 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.262e-05/0.1754, allocations: 8 kB / 1.106 GB, free: 79.21 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.137e-05/0.1754, allocations: 15.92 kB / 1.106 GB, free: 79.2 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 4.98e-05/0.1755, allocations: 19.91 kB / 1.106 GB, free: 79.18 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 1.747e-05/0.1755, allocations: 7.281 kB / 1.106 GB, free: 79.17 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.342e-05/0.1755, allocations: 0 / 1.106 GB, free: 79.17 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.725e-05/0.1756, allocations: 15.92 kB / 1.106 GB, free: 79.16 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 2.824e-05/0.1756, allocations: 25.7 kB / 1.106 GB, free: 79.12 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.219e-05/0.1757, allocations: 31.94 kB / 1.106 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 5.721e-06/0.1757, allocations: 0 / 1.106 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.994e-06/0.1757, allocations: 0 / 1.106 GB, free: 79.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.528e-06/0.1757, allocations: 0 / 1.106 GB, free: 79.09 MB / 0.6042 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.0005672/0.1763, allocations: 366.7 kB / 1.106 GB, free: 78.69 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.1763, allocations: 8.031 kB / 1.106 GB, free: 78.68 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.955e-05/0.1764, allocations: 0 / 1.106 GB, free: 78.68 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.695e-05/0.1765, allocations: 174.9 kB / 1.107 GB, free: 78.47 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.024e-05/0.1766, allocations: 15.48 kB / 1.107 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.685e-05/0.1766, allocations: 4 kB / 1.107 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/0.1769, allocations: 73.59 kB / 1.107 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.021e-05/0.1769, allocations: 0 / 1.107 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.548e-05/0.1769, allocations: 0 / 1.107 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.929e-06/0.1769, allocations: 3.938 kB / 1.107 GB, free: 78.38 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002895/0.1772, allocations: 53.36 kB / 1.107 GB, free: 78.33 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004424/0.1777, allocations: 280.8 kB / 1.107 GB, free: 78 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000225/0.1779, allocations: 71.11 kB / 1.107 GB, free: 77.93 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001569/0.1781, allocations: 32.97 kB / 1.107 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.716e-05/0.1781, allocations: 0 / 1.107 GB, free: 77.89 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002769/0.1784, allocations: 77.88 kB / 1.107 GB, free: 77.81 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=6): time 2.274e-06/0.1784, allocations: 4 kB / 1.107 GB, free: 77.8 MB / 0.6042 GB Notification: Performance of matching and sorting (n=6): time 0.000592/0.179, allocations: 136.3 kB / 1.107 GB, free: 77.67 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.788e-05/0.1791, allocations: 55.36 kB / 1.107 GB, free: 77.6 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.533e-05/0.1792, allocations: 109.3 kB / 1.107 GB, free: 77.49 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.1792, allocations: 33.7 kB / 1.108 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.849e-05/0.1792, allocations: 84.08 kB / 1.108 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.561e-05/0.1793, allocations: 23.86 kB / 1.108 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.503e-06/0.1793, allocations: 0 / 1.108 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 5.932e-05/0.1793, allocations: 314.8 kB / 1.108 GB, free: 77.02 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001572/0.1795, allocations: 35.16 kB / 1.108 GB, free: 76.99 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001753/0.1797, allocations: 52.28 kB / 1.108 GB, free: 76.93 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001647/0.1799, allocations: 43.12 kB / 1.108 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.1799, allocations: 4 kB / 1.108 GB, free: 76.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0004001/0.1803, allocations: 113.8 kB / 1.108 GB, free: 76.77 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.013e-05/0.1803, allocations: 8 kB / 1.108 GB, free: 76.76 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1804, allocations: 0 / 1.108 GB, free: 76.76 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.1804, allocations: 0 / 1.108 GB, free: 76.76 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000194/0.1806, allocations: 20.52 kB / 1.108 GB, free: 76.74 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.1806, allocations: 6.688 kB / 1.108 GB, free: 76.74 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001068/0.1807, allocations: 19.84 kB / 1.108 GB, free: 76.72 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.167e-05/0.1807, allocations: 4 kB / 1.108 GB, free: 76.71 MB / 0.6042 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 8.872e-05/0.1808, allocations: 118.5 kB / 1.108 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.597e-05/0.1809, allocations: 3.438 kB / 1.108 GB, free: 76.59 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004181/0.1813, allocations: 114 kB / 1.108 GB, free: 76.47 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.42e-06/0.1813, allocations: 0 / 1.108 GB, free: 76.47 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.933e-06/0.1813, allocations: 3 kB / 1.108 GB, free: 76.47 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.151e-05/0.1814, allocations: 87.53 kB / 1.109 GB, free: 76.37 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.61e-05/0.1814, allocations: 7.953 kB / 1.109 GB, free: 76.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001115/0.1815, allocations: 12.3 kB / 1.109 GB, free: 76.35 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.372e-05/0.1816, allocations: 7.938 kB / 1.109 GB, free: 76.34 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0004448/0.182, allocations: 188.5 kB / 1.109 GB, free: 76.15 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004144/0.1825, allocations: 278.7 kB / 1.109 GB, free: 75.87 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001666/0.1827, allocations: 31.97 kB / 1.109 GB, free: 75.84 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 3.976e-05/0.1827, allocations: 92.92 kB / 1.109 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of Backend: time 5.11e-07/0.1827, allocations: 0 / 1.109 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005772/0.1833, allocations: 124.9 kB / 1.109 GB, free: 75.62 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0004715/0.1838, allocations: 0.591 MB / 1.11 GB, free: 74.98 MB / 0.6042 GB Notification: Performance of Templates: time 0.003566/0.1874, allocations: 0.6409 MB / 1.11 GB, free: 74.38 MB / 0.6042 GB