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: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_TriggeredTrapezoid",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.011/0.011, allocations: 109.5 kB / 15.06 MB, free: 5.555 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.00118/0.00118, allocations: 176.7 kB / 15.95 MB, free: 5.52 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.025/2.025, allocations: 194.5 MB / 211.2 MB, free: 11.02 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.354/2.354, allocations: 236.1 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004946/0.0004949, allocations: 16 kB / 0.587 GB, free: 2.062 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6872/0.6877, allocations: 98.71 MB / 0.6834 GB, free: 16.82 MB / 0.5261 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001614/0.6894, allocations: 1.069 MB / 0.6845 GB, free: 16.02 MB / 0.5261 GB Notification: Performance of NFInst.instExpressions: time 0.000596/0.69, allocations: 234.5 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.706e-05/0.6901, allocations: 3.938 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeComponents: time 1.712e-05/0.6901, allocations: 0.7031 kB / 0.6847 GB, free: 15.87 MB / 0.5261 GB Notification: Performance of NFTyping.typeBindings: time 8.626e-05/0.6902, allocations: 10.86 kB / 0.6847 GB, free: 15.86 MB / 0.5261 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002294/0.6904, allocations: 33.27 kB / 0.6848 GB, free: 15.84 MB / 0.5261 GB Notification: Performance of NFFlatten.flatten: time 9.249e-05/0.6905, allocations: 39.2 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 9.04e-05/0.6906, allocations: 8.594 kB / 0.6848 GB, free: 15.82 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 8.137e-05/0.6907, allocations: 25.2 kB / 0.6848 GB, free: 15.81 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 8.43e-05/0.6908, allocations: 30.5 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 2.25e-05/0.6909, allocations: 4.375 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 2.06e-05/0.6909, allocations: 2.75 kB / 0.6849 GB, free: 15.8 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 3.116e-05/0.6909, allocations: 14.92 kB / 0.6849 GB, free: 15.79 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 3.869e-05/0.691, allocations: 33.73 kB / 0.6849 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.0001104/0.6911, allocations: 44.31 kB / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.6911, allocations: 0 / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.633e-06/0.6911, allocations: 0 / 0.685 GB, free: 15.75 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.24e-06/0.6911, allocations: 4 kB / 0.685 GB, free: 15.74 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.0007108/0.6919, allocations: 366.8 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.41e-05/0.6919, allocations: 9.938 kB / 0.6853 GB, free: 15.38 MB / 0.5261 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.197e-05/0.692, allocations: 32.45 kB / 0.6853 GB, free: 15.34 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.754e-05/0.692, allocations: 12.09 kB / 0.6854 GB, free: 15.33 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001176/0.6921, allocations: 171.2 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.749e-05/0.6922, allocations: 11.58 kB / 0.6855 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.673e-05/0.6922, allocations: 6.609 kB / 0.6855 GB, free: 15.11 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003223/0.6925, allocations: 78.45 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.6926, allocations: 0 / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/0.6926, allocations: 1.594 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.729e-06/0.6926, allocations: 1.156 kB / 0.6856 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002844/0.6929, allocations: 50.86 kB / 0.6857 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005548/0.6935, allocations: 284.4 kB / 0.6859 GB, free: 14.77 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003049/0.6938, allocations: 67.02 kB / 0.686 GB, free: 14.73 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 1.552e-05/0.6938, allocations: 3.938 kB / 0.686 GB, free: 14.72 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003864/0.6942, allocations: 111.2 kB / 0.6861 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=9): time 2.865e-06/0.6942, allocations: 0 / 0.6861 GB, free: 14.65 MB / 0.5261 GB Notification: Performance of matching and sorting (n=9): time 0.000857/0.6951, allocations: 172.1 kB / 0.6863 GB, free: 14.58 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.951e-05/0.6952, allocations: 57.27 kB / 0.6863 GB, free: 14.51 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000115/0.6953, allocations: 121.2 kB / 0.6864 GB, free: 14.4 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.6953, allocations: 31.2 kB / 0.6865 GB, free: 14.36 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 4.459e-05/0.6954, allocations: 86.19 kB / 0.6866 GB, free: 14.28 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 4.005e-05/0.6954, allocations: 20.62 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.241e-05/0.6955, allocations: 5.531 kB / 0.6866 GB, free: 14.26 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 7.072e-05/0.6955, allocations: 314.9 kB / 0.6869 GB, free: 13.95 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001645/0.6957, allocations: 27.73 kB / 0.6869 GB, free: 13.94 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001822/0.6959, allocations: 45.64 kB / 0.687 GB, free: 13.91 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001637/0.6961, allocations: 30.2 kB / 0.687 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.677e-06/0.6961, allocations: 0.9688 kB / 0.687 GB, free: 13.9 MB / 0.5261 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004222/0.6966, allocations: 110.1 kB / 0.6871 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.233e-05/0.6966, allocations: 11.06 kB / 0.6871 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.662e-06/0.6966, allocations: 0 / 0.6871 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.213e-05/0.6966, allocations: 1.281 kB / 0.6871 GB, free: 13.84 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001923/0.6968, allocations: 18.7 kB / 0.6871 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.809e-06/0.6969, allocations: 3.953 kB / 0.6871 GB, free: 13.83 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001343/0.697, allocations: 19.56 kB / 0.6871 GB, free: 13.82 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.41e-05/0.697, allocations: 6.375 kB / 0.6871 GB, free: 13.82 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.0001095/0.6972, allocations: 116.2 kB / 0.6873 GB, free: 13.7 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.577e-05/0.6972, allocations: 10.69 kB / 0.6873 GB, free: 13.69 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.775e-05/0.6972, allocations: 10.2 kB / 0.6873 GB, free: 13.68 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.06e-06/0.6973, allocations: 5.984 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.47e-06/0.6973, allocations: 1.281 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.11e-06/0.6973, allocations: 4.656 kB / 0.6873 GB, free: 13.67 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001026/0.6983, allocations: 416.3 kB / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.6983, allocations: 0 / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.942e-05/0.6984, allocations: 10.27 kB / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.6984, allocations: 0 / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.949e-05/0.6985, allocations: 2.781 kB / 0.6877 GB, free: 13.33 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.948e-06/0.6985, allocations: 4.953 kB / 0.6877 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.076e-06/0.6985, allocations: 0.6562 kB / 0.6877 GB, free: 13.32 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005527/0.699, allocations: 231.7 kB / 0.6879 GB, free: 13.16 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.6991, allocations: 86.91 kB / 0.688 GB, free: 13.06 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.477e-05/0.6991, allocations: 6.656 kB / 0.688 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000195/0.6993, allocations: 14.7 kB / 0.688 GB, free: 13.05 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.224e-05/0.6994, allocations: 15.95 kB / 0.688 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.064e-05/0.6995, allocations: 5.391 kB / 0.688 GB, free: 13.04 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 5.529e-05/0.6995, allocations: 88.34 kB / 0.6881 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of sort global known variables: time 3.4e-07/0.6995, allocations: 0 / 0.6881 GB, free: 12.96 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003687/0.6999, allocations: 19.23 kB / 0.6881 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.0008133/0.7007, allocations: 0.7763 MB / 0.6889 GB, free: 12.26 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0004346/0.7012, allocations: 86.72 kB / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.7012, allocations: 0 / 0.689 GB, free: 12.23 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0002403/0.7015, allocations: 46.17 kB / 0.689 GB, free: 12.22 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003047/0.7018, allocations: 26.3 kB / 0.6891 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001429/0.7032, allocations: 0.6916 MB / 0.6897 GB, free: 11.65 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001484/0.7034, allocations: 0.6929 MB / 0.6904 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.97e-05/0.7035, allocations: 6.469 kB / 0.6904 GB, free: 10.95 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.455e-05/0.7036, allocations: 19.31 kB / 0.6904 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of SimCode: time 1.112e-06/0.7036, allocations: 1.469 kB / 0.6904 GB, free: 10.93 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02141/0.725, allocations: 1.884 MB / 0.6923 GB, free: 10.7 MB / 0.5261 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002476/0.7253, allocations: 194 kB / 0.6925 GB, free: 10.47 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.262/2.988, allocations: 0.875 kB / 0.6925 GB, free: 10.47 MB / 0.5261 GB