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.009242/0.009241, allocations: 108.5 kB / 15.06 MB, free: 5.562 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.001467/0.001466, allocations: 180.2 kB / 15.95 MB, free: 5.523 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 1.89/1.89, allocations: 194.6 MB / 211.3 MB, free: 11.29 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.326/2.326, allocations: 236.2 MB / 492.6 MB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001015/0.001015, allocations: 12 kB / 0.587 GB, free: 2.172 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6159/0.617, allocations: 98.71 MB / 0.6834 GB, free: 16.78 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001408/0.6184, allocations: 1.071 MB / 0.6844 GB, free: 15.98 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.0005315/0.619, allocations: 233 kB / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.493e-05/0.619, allocations: 0 / 0.6846 GB, free: 15.83 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.765e-05/0.6191, allocations: 4.594 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 6.829e-05/0.6191, allocations: 7.969 kB / 0.6846 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.6193, allocations: 40.62 kB / 0.6847 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 7.8e-05/0.6194, allocations: 31 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 7.273e-05/0.6195, allocations: 9.344 kB / 0.6847 GB, free: 15.78 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 7.038e-05/0.6196, allocations: 28.16 kB / 0.6847 GB, free: 15.77 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 7.012e-05/0.6197, allocations: 31.06 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.076e-05/0.6197, allocations: 3.25 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 1.614e-05/0.6197, allocations: 3.656 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 2.558e-05/0.6198, allocations: 10.98 kB / 0.6848 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.306e-05/0.6198, allocations: 37.83 kB / 0.6848 GB, free: 15.71 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 9.022e-05/0.6199, allocations: 43.97 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.995e-06/0.6199, allocations: 4 kB / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.038e-06/0.62, allocations: 0 / 0.6849 GB, free: 15.7 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.04e-06/0.62, allocations: 0 / 0.6849 GB, free: 15.7 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.0005155/0.6205, allocations: 358.6 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.784e-05/0.6205, allocations: 13.16 kB / 0.6852 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.357e-05/0.6206, allocations: 6.531 kB / 0.6852 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001052/0.6207, allocations: 176.8 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.716e-05/0.6207, allocations: 6.688 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.332e-05/0.6208, allocations: 3.516 kB / 0.6854 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002669/0.6211, allocations: 74.48 kB / 0.6855 GB, free: 15.08 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.6211, allocations: 7.922 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.625e-05/0.6211, allocations: 1.219 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.041e-06/0.6211, allocations: 1.156 kB / 0.6855 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002311/0.6214, allocations: 47.3 kB / 0.6855 GB, free: 15.06 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004775/0.6219, allocations: 293.2 kB / 0.6858 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002392/0.6221, allocations: 61.03 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.904e-06/0.6221, allocations: 1.844 kB / 0.6859 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003207/0.6225, allocations: 110.5 kB / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 3.468e-06/0.6225, allocations: 0 / 0.686 GB, free: 14.66 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.0006964/0.6232, allocations: 175.2 kB / 0.6861 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.43e-05/0.6233, allocations: 53.17 kB / 0.6862 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.318e-05/0.6233, allocations: 121.8 kB / 0.6863 GB, free: 14.41 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.619e-05/0.6234, allocations: 31.08 kB / 0.6863 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.313e-05/0.6234, allocations: 87.23 kB / 0.6864 GB, free: 14.29 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 3.151e-05/0.6235, allocations: 16.67 kB / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.588e-06/0.6235, allocations: 0.7031 kB / 0.6864 GB, free: 14.27 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 5.475e-05/0.6236, allocations: 318.7 kB / 0.6867 GB, free: 13.96 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001322/0.6237, allocations: 29.61 kB / 0.6868 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001409/0.6239, allocations: 45.08 kB / 0.6868 GB, free: 13.92 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001273/0.624, allocations: 34.38 kB / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.161e-06/0.624, allocations: 0 / 0.6868 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003295/0.6243, allocations: 105.5 kB / 0.6869 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.674e-05/0.6244, allocations: 4.188 kB / 0.687 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.846e-06/0.6244, allocations: 1.281 kB / 0.687 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.55e-05/0.6244, allocations: 6.078 kB / 0.687 GB, free: 13.85 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001429/0.6246, allocations: 21.42 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.834e-06/0.6246, allocations: 1.375 kB / 0.687 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.791e-05/0.6247, allocations: 18.3 kB / 0.687 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.282e-05/0.6247, allocations: 3.25 kB / 0.687 GB, free: 13.83 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 8.795e-05/0.6248, allocations: 122.3 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.49e-05/0.6249, allocations: 8.062 kB / 0.6871 GB, free: 13.71 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.202e-05/0.6249, allocations: 13.98 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.382e-06/0.6249, allocations: 2.047 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.375e-06/0.6249, allocations: 0 / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.6249, allocations: 0.6562 kB / 0.6871 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008886/0.6258, allocations: 424.9 kB / 0.6875 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.083e-06/0.6259, allocations: 4 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.86e-05/0.6259, allocations: 10.12 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.663e-06/0.626, allocations: 1.469 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.626, allocations: 2.203 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.593e-06/0.626, allocations: 1.109 kB / 0.6876 GB, free: 13.34 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.607e-06/0.626, allocations: 7.953 kB / 0.6876 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004936/0.6265, allocations: 239.8 kB / 0.6878 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.344e-05/0.6266, allocations: 83.52 kB / 0.6879 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.111e-05/0.6266, allocations: 1.797 kB / 0.6879 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001783/0.6268, allocations: 12.09 kB / 0.6879 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.146e-05/0.6269, allocations: 11.75 kB / 0.6879 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.854e-05/0.6269, allocations: 8.078 kB / 0.6879 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.435e-05/0.627, allocations: 96.48 kB / 0.688 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 7.3e-07/0.627, allocations: 1.375 kB / 0.688 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003415/0.6273, allocations: 16.7 kB / 0.688 GB, free: 12.96 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.0001257/0.6275, allocations: 107.9 kB / 0.6881 GB, free: 12.87 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0003464/0.6278, allocations: 78.19 kB / 0.6882 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 3.032e-06/0.6279, allocations: 1.344 kB / 0.6882 GB, free: 12.85 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.000182/0.6281, allocations: 46.14 kB / 0.6882 GB, free: 12.84 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002647/0.6283, allocations: 20.17 kB / 0.6883 GB, free: 12.83 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004838/0.6288, allocations: 188.6 kB / 0.6884 GB, free: 12.68 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001331/0.629, allocations: 0.6888 MB / 0.6891 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.6291, allocations: 10.61 kB / 0.6891 GB, free: 11.98 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.891e-05/0.6291, allocations: 11.31 kB / 0.6891 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of SimCode: time 1.333e-06/0.6291, allocations: 0 / 0.6891 GB, free: 11.97 MB / 0.5261 GB Notification: Performance of Templates: time 0.004263/0.6334, allocations: 1 MB / 0.6901 GB, free: 11.88 MB / 0.5261 GB