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.0126/0.01259, allocations: 222 kB / 15.17 MB, free: 5.934 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.001198/0.001198, allocations: 178.2 kB / 16.06 MB, free: 5.832 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.154/4.154, allocations: 389.1 MB / 405.9 MB, free: 13.32 MB / 346.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 4.15/4.15, allocations: 472.3 MB / 0.9017 GB, free: 3.578 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0004923/0.0004929, allocations: 16.22 kB / 1.008 GB, free: 10.18 MB / 0.6667 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7028/0.7034, allocations: 98.72 MB / 1.104 GB, free: 212.7 MB / 0.7292 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.00173/0.7052, allocations: 1.08 MB / 1.105 GB, free: 212.2 MB / 0.7292 GB Notification: Performance of NFInst.instExpressions: time 0.0006175/0.7058, allocations: 229.5 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.081e-05/0.7059, allocations: 7.844 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeComponents: time 1.775e-05/0.7059, allocations: 2.906 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeBindings: time 8.746e-05/0.706, allocations: 11.86 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002224/0.7062, allocations: 18.27 kB / 1.105 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.flatten: time 0.0001094/0.7063, allocations: 70.03 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFFlatten.resolveConnections: time 8.449e-05/0.7064, allocations: 5.656 kB / 1.106 GB, free: 212 MB / 0.7292 GB Notification: Performance of NFEvalConstants.evaluate: time 7.651e-05/0.7065, allocations: 26.92 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFSimplifyModel.simplify: time 7.801e-05/0.7066, allocations: 31.81 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFPackage.collectConstants: time 2.314e-05/0.7067, allocations: 1.5 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFFlatten.collectFunctions: time 2.041e-05/0.7067, allocations: 3.5 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFScalarize.scalarize: time 2.714e-05/0.7067, allocations: 10.86 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFVerifyModel.verify: time 3.809e-05/0.7068, allocations: 35.11 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of NFConvertDAE.convert: time 0.0001061/0.7069, allocations: 53.39 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.7069, allocations: 7.438 kB / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.104e-06/0.7069, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 5.56e-06/0.7069, allocations: 0 / 1.106 GB, free: 211.9 MB / 0.7292 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.0006766/0.7076, allocations: 363.6 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 4.563e-05/0.7077, allocations: 6.656 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.331e-05/0.7077, allocations: 34.47 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.919e-05/0.7078, allocations: 9.125 kB / 1.106 GB, free: 211.5 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.7079, allocations: 170.4 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.161e-05/0.7079, allocations: 7.812 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.476e-05/0.708, allocations: 3.281 kB / 1.106 GB, free: 211.3 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003007/0.7083, allocations: 81.42 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.104e-05/0.7083, allocations: 0 / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.873e-05/0.7083, allocations: 1.656 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.422e-06/0.7083, allocations: 6.234 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002684/0.7086, allocations: 47.67 kB / 1.106 GB, free: 211.2 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005216/0.7092, allocations: 286 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002827/0.7095, allocations: 67.97 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002061/0.7097, allocations: 43.08 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 1.212e-05/0.7097, allocations: 4.328 kB / 1.107 GB, free: 210.9 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003562/0.7101, allocations: 101.1 kB / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=9): time 2.695e-06/0.7101, allocations: 0 / 1.107 GB, free: 210.8 MB / 0.7292 GB Notification: Performance of matching and sorting (n=9): time 0.0007777/0.7109, allocations: 180.6 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.258e-05/0.7109, allocations: 55.36 kB / 1.107 GB, free: 210.7 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.282e-05/0.711, allocations: 119.1 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.962e-05/0.7111, allocations: 29.14 kB / 1.107 GB, free: 210.5 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 4.054e-05/0.7111, allocations: 86.34 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 3.331e-05/0.7112, allocations: 18.06 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.137e-05/0.7112, allocations: 3.469 kB / 1.107 GB, free: 210.4 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.293e-05/0.7112, allocations: 322.1 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001506/0.7114, allocations: 32.94 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001656/0.7116, allocations: 43.91 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001526/0.7118, allocations: 32.19 kB / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-06/0.7118, allocations: 0 / 1.108 GB, free: 210.1 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003901/0.7122, allocations: 108.1 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.901e-05/0.7122, allocations: 5.594 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.482e-06/0.7122, allocations: 0 / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.779e-05/0.7122, allocations: 1.312 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.7124, allocations: 19.23 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.497e-06/0.7125, allocations: 5.266 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001237/0.7126, allocations: 16.66 kB / 1.108 GB, free: 210 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.464e-05/0.7126, allocations: 6.719 kB / 1.108 GB, free: 210 MB / 0.7292 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 9.821e-05/0.7127, allocations: 118 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.594e-05/0.7128, allocations: 7.875 kB / 1.108 GB, free: 209.9 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.638e-05/0.7128, allocations: 9.812 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.798e-06/0.7128, allocations: 0 / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.901e-06/0.7128, allocations: 2 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.7128, allocations: 6.531 kB / 1.108 GB, free: 209.8 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001006/0.7139, allocations: 428.4 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.086e-06/0.7139, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.101e-05/0.714, allocations: 9.656 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.538e-06/0.714, allocations: 5.25 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.718e-05/0.714, allocations: 1.312 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.714, allocations: 5.266 kB / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.714, allocations: 0 / 1.108 GB, free: 209.5 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005109/0.7145, allocations: 233.2 kB / 1.109 GB, free: 209.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.49e-05/0.7146, allocations: 86.36 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.231e-05/0.7146, allocations: 0 / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001777/0.7148, allocations: 12.41 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.665e-05/0.7149, allocations: 21.78 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.54e-05/0.7149, allocations: 2.781 kB / 1.109 GB, free: 209.2 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 5.179e-05/0.715, allocations: 88.64 kB / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of sort global known variables: time 3.41e-07/0.715, allocations: 0 / 1.109 GB, free: 209.1 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.000314/0.7153, allocations: 14.16 kB / 1.109 GB, free: 209.1 MB / 0.7292 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.0007665/0.7161, allocations: 0.7795 MB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0004028/0.7165, allocations: 81.11 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.539e-06/0.7165, allocations: 2.719 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.000223/0.7168, allocations: 57.91 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004019/0.7172, allocations: 16.06 kB / 1.11 GB, free: 208.4 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001364/0.7186, allocations: 0.5478 MB / 1.11 GB, free: 208 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001549/0.7187, allocations: 0.6887 MB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 5.679e-05/0.7188, allocations: 9.453 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.43e-05/0.7189, allocations: 18.47 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of SimCode: time 9.32e-07/0.7189, allocations: 4.562 kB / 1.111 GB, free: 207.3 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02579/0.7447, allocations: 1.896 MB / 1.113 GB, free: 207.2 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000252/0.745, allocations: 205.1 kB / 1.113 GB, free: 207 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.495/3.24, allocations: 3.75 kB / 1.113 GB, free: 207 MB / 0.7292 GB