Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid.conf.json Using package Buildings with version 7.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo) Using package Modelica with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo) Using package Complex with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo) Using package ModelicaServices with version 3.2.3 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.3/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.009519/0.009519, allocations: 89.45 kB / 15.04 MB, free: 6.055 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.3.mo): time 0.001119/0.001119, allocations: 168.8 kB / 15.92 MB, free: 5.992 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.3/package.mo): time 2.191/2.191, allocations: 205.5 MB / 222.2 MB, free: 13.72 MB / 186.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 7.0.0/package.mo): time 2.422/2.422, allocations: 252.9 MB / 0.511 GB, free: 8.332 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006532/0.0006534, allocations: 15 kB / 0.6243 GB, free: 28.34 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.235, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.TriggeredTrapezoid): time 0.001835/0.2369, allocations: 1.086 MB / 0.7291 GB, free: 9.055 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006545/0.2375, allocations: 242.5 kB / 0.7294 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.672e-05/0.2376, allocations: 0 / 0.7294 GB, free: 8.816 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 1.835e-05/0.2376, allocations: 4 kB / 0.7294 GB, free: 8.812 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.489e-05/0.2377, allocations: 11.97 kB / 0.7294 GB, free: 8.801 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002303/0.238, allocations: 23.92 kB / 0.7294 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000103/0.2381, allocations: 39.94 kB / 0.7294 GB, free: 8.738 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 7.909e-05/0.2382, allocations: 7.938 kB / 0.7295 GB, free: 8.73 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 8.632e-05/0.2383, allocations: 31.91 kB / 0.7295 GB, free: 8.699 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001023/0.2384, allocations: 31.88 kB / 0.7295 GB, free: 8.668 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.22e-05/0.2384, allocations: 4 kB / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.2385, allocations: 4 kB / 0.7295 GB, free: 8.66 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.882e-05/0.2385, allocations: 11.98 kB / 0.7295 GB, free: 8.648 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.861e-05/0.2386, allocations: 37.64 kB / 0.7296 GB, free: 8.605 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 9.9e-05/0.2387, allocations: 39.91 kB / 0.7296 GB, free: 8.566 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.425e-06/0.2387, allocations: 4 kB / 0.7296 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.954e-06/0.2387, allocations: 0 / 0.7296 GB, free: 8.562 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.839e-06/0.2387, allocations: 0 / 0.7296 GB, free: 8.562 MB / 0.5573 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.0007406/0.2394, allocations: 363.5 kB / 0.73 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.2395, allocations: 8.031 kB / 0.73 GB, free: 8.152 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.385e-05/0.2396, allocations: 34.55 kB / 0.73 GB, free: 8.109 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.263e-05/0.2396, allocations: 11.91 kB / 0.73 GB, free: 8.098 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001596/0.2398, allocations: 183 kB / 0.7302 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.013e-05/0.2398, allocations: 0 / 0.7302 GB, free: 7.879 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.622e-05/0.2399, allocations: 4 kB / 0.7302 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003199/0.2402, allocations: 77.58 kB / 0.7303 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.668e-06/0.2402, allocations: 0 / 0.7303 GB, free: 7.793 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.642e-05/0.2402, allocations: 7.938 kB / 0.7303 GB, free: 7.785 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.849e-06/0.2403, allocations: 3.984 kB / 0.7303 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002892/0.2406, allocations: 51.95 kB / 0.7303 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005815/0.2412, allocations: 288.8 kB / 0.7306 GB, free: 7.398 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003059/0.2415, allocations: 62.5 kB / 0.7307 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.2415, allocations: 0 / 0.7307 GB, free: 7.328 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003851/0.2419, allocations: 103.5 kB / 0.7308 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.364e-06/0.2419, allocations: 0 / 0.7308 GB, free: 7.215 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.000892/0.2428, allocations: 177.5 kB / 0.7309 GB, free: 7.035 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.883e-05/0.2429, allocations: 59.36 kB / 0.731 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001134/0.243, allocations: 117.8 kB / 0.7311 GB, free: 6.84 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.719e-05/0.2431, allocations: 29.69 kB / 0.7311 GB, free: 6.805 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 5.897e-05/0.2431, allocations: 92.11 kB / 0.7312 GB, free: 6.711 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.961e-05/0.2432, allocations: 19.75 kB / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.027e-05/0.2432, allocations: 0 / 0.7312 GB, free: 6.691 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.2433, allocations: 322.8 kB / 0.7315 GB, free: 6.367 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001712/0.2435, allocations: 35.86 kB / 0.7316 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001781/0.2437, allocations: 41.7 kB / 0.7316 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001686/0.2439, allocations: 27.98 kB / 0.7316 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.2439, allocations: 0 / 0.7316 GB, free: 6.258 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004339/0.2444, allocations: 113.8 kB / 0.7318 GB, free: 6.141 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.026e-05/0.2444, allocations: 4 kB / 0.7318 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.251e-06/0.2444, allocations: 0 / 0.7318 GB, free: 6.137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.765e-05/0.2444, allocations: 8.031 kB / 0.7318 GB, free: 6.129 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001851/0.2446, allocations: 11.98 kB / 0.7318 GB, free: 6.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.209e-05/0.2447, allocations: 11.89 kB / 0.7318 GB, free: 6.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000125/0.2448, allocations: 11.98 kB / 0.7318 GB, free: 6.094 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.175e-05/0.2448, allocations: 0 / 0.7318 GB, free: 6.094 MB / 0.5573 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.0001224/0.2449, allocations: 113.8 kB / 0.7319 GB, free: 5.973 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.579e-05/0.245, allocations: 7.906 kB / 0.7319 GB, free: 5.965 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.22e-05/0.245, allocations: 20.36 kB / 0.7319 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.687e-06/0.245, allocations: 0 / 0.7319 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.23e-06/0.2451, allocations: 0 / 0.7319 GB, free: 5.945 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.732e-06/0.2451, allocations: 3.953 kB / 0.7319 GB, free: 5.941 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001096/0.2462, allocations: 418.4 kB / 0.7323 GB, free: 5.477 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.857e-06/0.2462, allocations: 4 kB / 0.7323 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.463e-05/0.2463, allocations: 8 kB / 0.7323 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.83e-06/0.2463, allocations: 0 / 0.7323 GB, free: 5.465 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.95e-05/0.2463, allocations: 3.984 kB / 0.7323 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.197e-06/0.2464, allocations: 11.89 kB / 0.7324 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.2464, allocations: 0 / 0.7324 GB, free: 5.449 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005893/0.247, allocations: 231.4 kB / 0.7326 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.651e-05/0.2471, allocations: 81.09 kB / 0.7327 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.306e-05/0.2471, allocations: 4 kB / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001814/0.2473, allocations: 7.984 kB / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.615e-05/0.2474, allocations: 19.94 kB / 0.7327 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.989e-05/0.2474, allocations: 7.938 kB / 0.7327 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.344e-05/0.2475, allocations: 95.25 kB / 0.7328 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.21e-07/0.2475, allocations: 288 / 0.7328 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003406/0.2479, allocations: 23.94 kB / 0.7328 GB, free: 4.953 MB / 0.5573 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.0009708/0.2488, allocations: 0.7709 MB / 0.7336 GB, free: 4.156 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004344/0.2493, allocations: 79.91 kB / 0.7336 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.2493, allocations: 0 / 0.7336 GB, free: 4.078 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002437/0.2496, allocations: 51.91 kB / 0.7337 GB, free: 4.027 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003029/0.2499, allocations: 15.94 kB / 0.7337 GB, free: 4.012 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001558/0.2515, allocations: 0.6877 MB / 0.7344 GB, free: 3.273 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2518, allocations: 0.6965 MB / 0.7351 GB, free: 2.551 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 5.836e-05/0.2519, allocations: 4.672 kB / 0.7351 GB, free: 2.543 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.796e-05/0.2519, allocations: 19.44 kB / 0.7351 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/0.252, allocations: 0 / 0.7351 GB, free: 2.527 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02149/0.2735, allocations: 1.892 MB / 0.7369 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003184/0.2738, allocations: 193 kB / 0.7371 GB, free: 0.5117 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.341/2.615, allocations: 3.594 kB / 0.7371 GB, free: 0.5117 MB / 0.5573 GB