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.TriggeredMax.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.TriggeredMax,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.004261/0.004265, allocations: 235.4 kB / 15.8 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.001136/0.001136, allocations: 184 kB / 16.69 MB, free: 5.445 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 4.066/4.066, allocations: 389.1 MB / 406.5 MB, free: 11.84 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.089/4.089, allocations: 472.3 MB / 0.9024 GB, free: 9.23 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004849/0.0004851, allocations: 12 kB / 1.008 GB, free: 138.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.173/0.1735, allocations: 98.73 MB / 1.105 GB, free: 42.07 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Discrete.Examples.TriggeredMax): time 0.001674/0.1752, allocations: 1.14 MB / 1.106 GB, free: 40.92 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.0005919/0.1758, allocations: 252.8 kB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.426e-05/0.1759, allocations: 4 kB / 1.106 GB, free: 40.67 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 1.903e-05/0.1759, allocations: 6.672 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 8.619e-05/0.176, allocations: 3.938 kB / 1.106 GB, free: 40.66 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002287/0.1763, allocations: 31.84 kB / 1.106 GB, free: 40.63 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 9.243e-05/0.1764, allocations: 51.84 kB / 1.106 GB, free: 40.58 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 9.162e-05/0.1765, allocations: 9.438 kB / 1.106 GB, free: 40.57 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 6.182e-05/0.1766, allocations: 21.11 kB / 1.106 GB, free: 40.55 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 5.463e-05/0.1766, allocations: 23.91 kB / 1.106 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 2.351e-05/0.1767, allocations: 0 / 1.106 GB, free: 40.53 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 1.573e-05/0.1767, allocations: 4.688 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 1.653e-05/0.1767, allocations: 7.938 kB / 1.106 GB, free: 40.52 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 3.388e-05/0.1768, allocations: 34.41 kB / 1.106 GB, free: 40.48 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 7.791e-05/0.1768, allocations: 31.92 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.1769, allocations: 2.594 kB / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of FrontEnd: time 3.276e-06/0.1769, allocations: 0 / 1.106 GB, free: 40.45 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 4.699e-06/0.1769, allocations: 7.938 kB / 1.106 GB, free: 40.44 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006247/0.1775, allocations: 386 kB / 1.107 GB, free: 40.02 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.1776, allocations: 8.031 kB / 1.107 GB, free: 40.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.362e-05/0.1776, allocations: 7.953 kB / 1.107 GB, free: 40 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001178/0.1778, allocations: 167 kB / 1.107 GB, free: 39.8 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.962e-05/0.1778, allocations: 4 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.852e-05/0.1778, allocations: 8.719 kB / 1.107 GB, free: 39.79 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002617/0.1781, allocations: 77.06 kB / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.698e-06/0.1781, allocations: 0 / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.278e-05/0.1781, allocations: 0 / 1.107 GB, free: 39.71 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.011e-06/0.1781, allocations: 3.953 kB / 1.107 GB, free: 39.7 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000313/0.1785, allocations: 59.3 kB / 1.107 GB, free: 39.65 MB / 0.6042 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004565/0.1789, allocations: 287.3 kB / 1.107 GB, free: 39.32 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002263/0.1792, allocations: 61.7 kB / 1.107 GB, free: 39.25 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001627/0.1794, allocations: 36.97 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 2.892e-05/0.1794, allocations: 2.969 kB / 1.107 GB, free: 39.21 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003007/0.1797, allocations: 99.38 kB / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=7): time 3.336e-06/0.1797, allocations: 0 / 1.107 GB, free: 39.11 MB / 0.6042 GB Notification: Performance of matching and sorting (n=7): time 0.0006292/0.1804, allocations: 144.3 kB / 1.107 GB, free: 38.96 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.994e-05/0.1804, allocations: 54.84 kB / 1.108 GB, free: 38.9 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.237e-05/0.1805, allocations: 113.8 kB / 1.108 GB, free: 38.78 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 1.461e-05/0.1805, allocations: 25.7 kB / 1.108 GB, free: 38.75 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 3.97e-05/0.1806, allocations: 88.14 kB / 1.108 GB, free: 38.66 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 2.704e-05/0.1806, allocations: 19.73 kB / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.803e-06/0.1806, allocations: 0 / 1.108 GB, free: 38.64 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.112e-05/0.1807, allocations: 318.8 kB / 1.108 GB, free: 38.32 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001614/0.1809, allocations: 35.47 kB / 1.108 GB, free: 38.29 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001731/0.1811, allocations: 50.55 kB / 1.108 GB, free: 38.23 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001689/0.1812, allocations: 34.55 kB / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.805e-06/0.1813, allocations: 0 / 1.108 GB, free: 38.2 MB / 0.6042 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.000406/0.1817, allocations: 120.2 kB / 1.108 GB, free: 38.07 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.215e-05/0.1817, allocations: 11.95 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.935e-06/0.1817, allocations: 0 / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.59e-05/0.1818, allocations: 3.344 kB / 1.108 GB, free: 38.06 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001634/0.1819, allocations: 15.98 kB / 1.108 GB, free: 38.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.907e-06/0.182, allocations: 7.938 kB / 1.108 GB, free: 38.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001492/0.1821, allocations: 11.98 kB / 1.108 GB, free: 38.03 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.49e-05/0.1822, allocations: 8.188 kB / 1.108 GB, free: 38.02 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition2,$PRE.triggeredMax.y,triggeredMax.y,$whenCondition1,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart) * 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 9.135e-05/0.1823, allocations: 116.3 kB / 1.108 GB, free: 37.9 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.199e-05/0.1823, allocations: 13.3 kB / 1.108 GB, free: 37.89 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004519/0.1827, allocations: 132.7 kB / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.791e-06/0.1828, allocations: 0 / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.084e-06/0.1828, allocations: 0 / 1.109 GB, free: 37.75 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 3.054e-05/0.1828, allocations: 81.02 kB / 1.109 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.543e-05/0.1828, allocations: 3.094 kB / 1.109 GB, free: 37.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/0.183, allocations: 19.98 kB / 1.109 GB, free: 37.63 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.901e-05/0.1831, allocations: 7.984 kB / 1.109 GB, free: 37.62 MB / 0.6042 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0005087/0.1836, allocations: 205.4 kB / 1.109 GB, free: 37.42 MB / 0.6042 GB Notification: Performance of postOpt detectDAEmodeSparsePattern (simulation): time 0.0004394/0.184, allocations: 286.1 kB / 1.109 GB, free: 37.13 MB / 0.6042 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001821/0.1842, allocations: 39.97 kB / 1.109 GB, free: 37.09 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 4.668e-05/0.1843, allocations: 91.27 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of Backend: time 9.02e-07/0.1843, allocations: 2.969 kB / 1.109 GB, free: 37 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.0005762/0.1849, allocations: 124.1 kB / 1.109 GB, free: 36.88 MB / 0.6042 GB Notification: Performance of SimCode: time 0.0005322/0.1855, allocations: 0.6086 MB / 1.11 GB, free: 36.22 MB / 0.6042 GB Notification: Performance of Templates: time 0.003998/0.1895, allocations: 0.823 MB / 1.111 GB, free: 35.45 MB / 0.6042 GB