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.009209/0.009209, allocations: 110.6 kB / 15.05 MB, free: 5.961 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.001163/0.001163, allocations: 184.1 kB / 15.94 MB, free: 5.926 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.096/2.096, allocations: 194.6 MB / 211.3 MB, free: 11.26 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.492/2.492, allocations: 236.2 MB / 492.6 MB, free: 11.32 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004749/0.0004751, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.548/0.5485, allocations: 98.72 MB / 0.6834 GB, free: 16.81 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1827/0.7313, allocations: 124.8 MB / 0.8053 GB, free: 1.457 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002488/0.7316, allocations: 75.95 kB / 0.8053 GB, free: 1.383 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.005678/0.7373, allocations: 1.466 MB / 0.8068 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.561e-06/0.7373, allocations: 0 / 0.8068 GB, free: 15.91 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.562e-06/0.7373, allocations: 0 / 0.8068 GB, free: 15.91 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005697/0.7379, allocations: 371.2 kB / 0.8071 GB, free: 15.5 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.089e-05/0.738, allocations: 12.03 kB / 0.8071 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.981e-05/0.738, allocations: 7.906 kB / 0.8071 GB, free: 15.48 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001615/0.7382, allocations: 182.9 kB / 0.8073 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.274e-05/0.7382, allocations: 0 / 0.8073 GB, free: 15.27 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.003e-05/0.7382, allocations: 4 kB / 0.8073 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002335/0.7385, allocations: 69.66 kB / 0.8074 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.761e-06/0.7385, allocations: 0 / 0.8074 GB, free: 15.19 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.671e-05/0.7385, allocations: 4 kB / 0.8074 GB, free: 15.18 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.303e-06/0.7385, allocations: 11.92 kB / 0.8074 GB, free: 15.17 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002506/0.7388, allocations: 51.95 kB / 0.8074 GB, free: 15.12 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005484/0.7394, allocations: 300.8 kB / 0.8077 GB, free: 14.78 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002043/0.7396, allocations: 54.55 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.578e-05/0.7396, allocations: 4 kB / 0.8078 GB, free: 14.71 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002754/0.7399, allocations: 87.41 kB / 0.8079 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.662e-06/0.7399, allocations: 0 / 0.8079 GB, free: 14.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005436/0.7405, allocations: 149.8 kB / 0.808 GB, free: 14.46 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.65e-05/0.7405, allocations: 51.41 kB / 0.8081 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001081/0.7407, allocations: 113.1 kB / 0.8082 GB, free: 14.28 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.7407, allocations: 29.7 kB / 0.8082 GB, free: 14.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.022e-05/0.7408, allocations: 92.03 kB / 0.8083 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.121e-05/0.7408, allocations: 15.75 kB / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.919e-06/0.7408, allocations: 0 / 0.8083 GB, free: 14.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001561/0.741, allocations: 322.8 kB / 0.8086 GB, free: 13.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001369/0.7412, allocations: 35.91 kB / 0.8086 GB, free: 13.78 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.7413, allocations: 50.55 kB / 0.8087 GB, free: 13.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001418/0.7415, allocations: 39.92 kB / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.85e-06/0.7415, allocations: 0 / 0.8087 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9) (initialization): time 0.0003659/0.7419, allocations: 109.6 kB / 0.8088 GB, free: 13.57 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.977e-05/0.7419, allocations: 12.03 kB / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.572e-06/0.7419, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.7419, allocations: 0 / 0.8088 GB, free: 13.55 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000136/0.7421, allocations: 15.98 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.96e-06/0.7421, allocations: 3.953 kB / 0.8089 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001238/0.7422, allocations: 26.25 kB / 0.8089 GB, free: 13.51 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.762e-05/0.7423, allocations: 8 kB / 0.8089 GB, free: 13.5 MB / 0.6355 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 0.0001157/0.7424, allocations: 120 kB / 0.809 GB, free: 13.38 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.456e-05/0.7424, allocations: 11.92 kB / 0.809 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003897/0.7428, allocations: 110 kB / 0.8091 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.389e-06/0.7429, allocations: 8 kB / 0.8091 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.308e-06/0.7429, allocations: 0 / 0.8091 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.816e-06/0.7429, allocations: 3.953 kB / 0.8091 GB, free: 13.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007283/0.7436, allocations: 394.4 kB / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.832e-06/0.7437, allocations: 0 / 0.8095 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.296e-05/0.7438, allocations: 8 kB / 0.8095 GB, free: 12.79 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.067e-06/0.7438, allocations: 11.92 kB / 0.8095 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.17e-05/0.7438, allocations: 0 / 0.8095 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.515e-06/0.7438, allocations: 3.953 kB / 0.8095 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.771e-06/0.7438, allocations: 0 / 0.8095 GB, free: 12.77 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.7443, allocations: 207.5 kB / 0.8097 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.305e-05/0.7443, allocations: 81.02 kB / 0.8098 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.493e-05/0.7444, allocations: 4.031 kB / 0.8098 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001723/0.7446, allocations: 23.98 kB / 0.8098 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.412e-05/0.7446, allocations: 19.91 kB / 0.8099 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.073e-05/0.7446, allocations: 0 / 0.8099 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.76e-05/0.7447, allocations: 91.27 kB / 0.8099 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.95e-07/0.7447, allocations: 0 / 0.8099 GB, free: 12.32 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.00035/0.7451, allocations: 12 kB / 0.81 GB, free: 12.31 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: 5 (booPul.y,$whenCondition2,$whenCondition1,triggeredMax.y,booPul.pulseStart) * Number of discrete states: 1 (triggeredMax.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 5 * 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.00014/0.7453, allocations: 107.4 kB / 0.8101 GB, free: 12.19 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003457/0.7456, allocations: 79.89 kB / 0.8101 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.537e-06/0.7456, allocations: 0 / 0.8101 GB, free: 12.11 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001583/0.7458, allocations: 39.97 kB / 0.8102 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002612/0.7461, allocations: 16.05 kB / 0.8102 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004535/0.7465, allocations: 163.7 kB / 0.8103 GB, free: 11.87 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003574/0.7469, allocations: 0.6887 MB / 0.811 GB, free: 11.16 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.399e-05/0.747, allocations: 11.98 kB / 0.811 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.472e-05/0.747, allocations: 11.38 kB / 0.811 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of SimCode: time 1.611e-06/0.747, allocations: 0 / 0.811 GB, free: 11.14 MB / 0.6355 GB Notification: Performance of Templates: time 0.003572/0.7506, allocations: 0.7353 MB / 0.8118 GB, free: 10.41 MB / 0.6355 GB