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.TriggeredTrapezoid.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.Logical.Validation.TriggeredTrapezoid,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01079/0.0108, allocations: 220.3 kB / 15.17 MB, free: 6.012 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.001101/0.001101, allocations: 176.2 kB / 16.06 MB, free: 5.875 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.93/3.93, allocations: 389.1 MB / 405.9 MB, free: 67.62 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.103/4.103, allocations: 472.3 MB / 0.9017 GB, free: 87.65 MB / 490.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004738/0.0004741, allocations: 16.78 kB / 1.008 GB, free: 37.09 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1554/0.1559, allocations: 98.72 MB / 1.104 GB, free: 11.8 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001614/0.1576, allocations: 1.079 MB / 1.105 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005538/0.1581, allocations: 234.8 kB / 1.105 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.745e-05/0.1582, allocations: 0.8125 kB / 1.105 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.58e-05/0.1582, allocations: 0 / 1.105 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 7.504e-05/0.1583, allocations: 17.94 kB / 1.105 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001973/0.1585, allocations: 23.92 kB / 1.105 GB, free: 10.43 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 0.0001058/0.1586, allocations: 63.77 kB / 1.105 GB, free: 10.37 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.02e-05/0.1587, allocations: 11.92 kB / 1.105 GB, free: 10.36 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.359e-05/0.1588, allocations: 28.47 kB / 1.105 GB, free: 10.33 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 6.936e-05/0.1589, allocations: 27.91 kB / 1.105 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.087e-05/0.1589, allocations: 4.781 kB / 1.105 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.841e-05/0.1589, allocations: 4 kB / 1.105 GB, free: 10.3 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.05e-05/0.159, allocations: 9.266 kB / 1.106 GB, free: 10.29 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 4.786e-05/0.159, allocations: 37.64 kB / 1.106 GB, free: 10.25 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.414e-05/0.1591, allocations: 47.88 kB / 1.106 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 6.019e-06/0.1592, allocations: 5.281 kB / 1.106 GB, free: 10.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.889e-06/0.1592, allocations: 3.938 kB / 1.106 GB, free: 10.19 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 8.459e-06/0.1592, allocations: 0 / 1.106 GB, free: 10.19 MB / 0.5261 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.0006513/0.1598, allocations: 358.6 kB / 1.106 GB, free: 9.797 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.693e-05/0.1599, allocations: 8.031 kB / 1.106 GB, free: 9.789 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.219e-05/0.1599, allocations: 7.906 kB / 1.106 GB, free: 9.781 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001589/0.1601, allocations: 175 kB / 1.106 GB, free: 9.57 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.88e-05/0.1602, allocations: 8 kB / 1.106 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.897e-05/0.1602, allocations: 0.9688 kB / 1.106 GB, free: 9.562 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002777/0.1605, allocations: 86.98 kB / 1.106 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.799e-06/0.1605, allocations: 0 / 1.106 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.458e-05/0.1605, allocations: 0 / 1.106 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.495e-06/0.1605, allocations: 0 / 1.106 GB, free: 9.473 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002319/0.1608, allocations: 49.31 kB / 1.106 GB, free: 9.426 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000552/0.1613, allocations: 287.2 kB / 1.107 GB, free: 9.098 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002779/0.1616, allocations: 74.47 kB / 1.107 GB, free: 9.016 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001651/0.1618, allocations: 42.69 kB / 1.107 GB, free: 8.973 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.122e-05/0.1618, allocations: 4 kB / 1.107 GB, free: 8.969 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000327/0.1622, allocations: 96.69 kB / 1.107 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.733e-06/0.1622, allocations: 2.406 kB / 1.107 GB, free: 8.863 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0006874/0.1629, allocations: 177.8 kB / 1.107 GB, free: 8.684 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.674e-05/0.163, allocations: 60.11 kB / 1.107 GB, free: 8.613 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000119/0.1631, allocations: 113.8 kB / 1.107 GB, free: 8.492 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.561e-05/0.1631, allocations: 30.52 kB / 1.107 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 6.528e-05/0.1632, allocations: 93.27 kB / 1.107 GB, free: 8.363 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.81e-05/0.1633, allocations: 23.73 kB / 1.107 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.528e-06/0.1633, allocations: 0 / 1.107 GB, free: 8.34 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1635, allocations: 319.3 kB / 1.108 GB, free: 8.02 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001454/0.1636, allocations: 28.45 kB / 1.108 GB, free: 7.992 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001513/0.1638, allocations: 53.62 kB / 1.108 GB, free: 7.934 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001347/0.1639, allocations: 27.98 kB / 1.108 GB, free: 7.906 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.863e-06/0.164, allocations: 3.938 kB / 1.108 GB, free: 7.902 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003628/0.1643, allocations: 109.5 kB / 1.108 GB, free: 7.789 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.772e-05/0.1644, allocations: 8.031 kB / 1.108 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.705e-06/0.1644, allocations: 0 / 1.108 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.152e-05/0.1644, allocations: 0 / 1.108 GB, free: 7.781 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001424/0.1646, allocations: 15.98 kB / 1.108 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.651e-06/0.1646, allocations: 7.891 kB / 1.108 GB, free: 7.758 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.1647, allocations: 15.98 kB / 1.108 GB, free: 7.742 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.367e-05/0.1647, allocations: 4 kB / 1.108 GB, free: 7.738 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,$whenCondition3,$whenCondition2,booPul.y,$PRE.booPul.pulseStart,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001281/0.1649, allocations: 117.8 kB / 1.108 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.472e-05/0.1649, allocations: 7.906 kB / 1.108 GB, free: 7.605 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.846e-05/0.1649, allocations: 8.375 kB / 1.108 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.839e-06/0.165, allocations: 4 kB / 1.108 GB, free: 7.586 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.505e-06/0.165, allocations: 4 kB / 1.108 GB, free: 7.582 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.147e-06/0.165, allocations: 7.938 kB / 1.108 GB, free: 7.574 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009504/0.1659, allocations: 422.5 kB / 1.108 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.916e-06/0.166, allocations: 0 / 1.108 GB, free: 7.105 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.307e-05/0.166, allocations: 8.172 kB / 1.108 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.842e-06/0.166, allocations: 0 / 1.108 GB, free: 7.098 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.868e-05/0.1661, allocations: 3.938 kB / 1.108 GB, free: 7.094 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.06e-06/0.1661, allocations: 7.891 kB / 1.108 GB, free: 7.086 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/0.1661, allocations: 4 kB / 1.108 GB, free: 7.082 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005059/0.1666, allocations: 235.3 kB / 1.109 GB, free: 6.836 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.13e-05/0.1667, allocations: 77.11 kB / 1.109 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.625e-05/0.1667, allocations: 0 / 1.109 GB, free: 6.742 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001552/0.1669, allocations: 11.98 kB / 1.109 GB, free: 6.73 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.097e-05/0.167, allocations: 15.94 kB / 1.109 GB, free: 6.715 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.22e-05/0.167, allocations: 7.984 kB / 1.109 GB, free: 6.707 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 7.049e-05/0.1671, allocations: 91.28 kB / 1.109 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.49e-07/0.1671, allocations: 0 / 1.109 GB, free: 6.617 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003299/0.1674, allocations: 19.91 kB / 1.109 GB, free: 6.598 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (booPul.y,$whenCondition3,$whenCondition2,$whenCondition1,booPul.pulseStart,triggeredTrapezoid1.endValue,triggeredTrapezoid1.rate,triggeredTrapezoid1.T) * Number of discrete states: 1 (triggeredTrapezoid1.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0001589/0.1676, allocations: 111 kB / 1.109 GB, free: 6.484 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003528/0.168, allocations: 75.91 kB / 1.109 GB, free: 6.41 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 5.192e-06/0.168, allocations: 4.062 kB / 1.109 GB, free: 6.406 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002039/0.1682, allocations: 55.91 kB / 1.109 GB, free: 6.352 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003642/0.1686, allocations: 15.88 kB / 1.109 GB, free: 6.336 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005152/0.1691, allocations: 178.6 kB / 1.109 GB, free: 6.137 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003608/0.1695, allocations: 0.6926 MB / 1.11 GB, free: 5.418 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 4.933e-05/0.1696, allocations: 4.672 kB / 1.11 GB, free: 5.414 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.108e-05/0.1696, allocations: 11.91 kB / 1.11 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of SimCode: time 1.378e-06/0.1696, allocations: 0 / 1.11 GB, free: 5.402 MB / 0.5261 GB Notification: Performance of Templates: time 0.00427/0.1739, allocations: 1.019 MB / 1.111 GB, free: 4.391 MB / 0.5261 GB