Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Logical.Validation.TimerAccumulatingNegativeStartTime,fileNamePrefix="Buildings_latest_Buildings_Controls_OBC_CDL_Logical_Validation_TimerAccumulatingNegativeStartTime",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.253/4.253, allocations: 464.6 MB / 476.8 MB, free: 2.23 MB / 378.7 MB Notification: Performance of FrontEnd - loaded program: time 3.946e-05/3.97e-05, allocations: 4 kB / 0.5732 GB, free: 5.648 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2402/0.2402, allocations: 107.2 MB / 0.6778 GB, free: 10.3 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.848/1.088, allocations: 132.3 MB / 0.807 GB, free: 12.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002476/1.089, allocations: 73.3 kB / 0.8071 GB, free: 12.22 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.009078/1.098, allocations: 2.131 MB / 0.8092 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/1.098, allocations: 0 / 0.8092 GB, free: 11.81 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.397e-06/1.098, allocations: 3.938 kB / 0.8092 GB, free: 11.81 MB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 29 * Number of variables: 29 Notification: Performance of Generate backend data structure: time 0.001275/1.099, allocations: 0.5097 MB / 0.8097 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.903e-05/1.099, allocations: 7.844 kB / 0.8097 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.331e-05/1.099, allocations: 53.25 kB / 0.8097 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.624e-05/1.099, allocations: 25.59 kB / 0.8098 GB, free: 11.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001363/1.099, allocations: 184.9 kB / 0.8099 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001379/1.1, allocations: 80.5 kB / 0.81 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.112e-05/1.1, allocations: 37.81 kB / 0.8101 GB, free: 11.11 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005989/1.1, allocations: 260.6 kB / 0.8103 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.241e-05/1.1, allocations: 3.938 kB / 0.8103 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.859e-05/1.1, allocations: 12.58 kB / 0.8103 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.074e-06/1.1, allocations: 0 / 0.8103 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003945/1.101, allocations: 128.8 kB / 0.8104 GB, free: 11.06 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001818/1.103, allocations: 0.5847 MB / 0.811 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001141/1.104, allocations: 390.9 kB / 0.8114 GB, free: 10.76 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004159/1.104, allocations: 192 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.375e-05/1.104, allocations: 7.844 kB / 0.8116 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007342/1.105, allocations: 345.3 kB / 0.8119 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=44): time 2.905e-06/1.105, allocations: 0 / 0.8119 GB, free: 10.68 MB / 0.6355 GB Notification: Performance of matching and sorting (n=44): time 0.001182/1.106, allocations: 0.5043 MB / 0.8124 GB, free: 10.62 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.699e-05/1.106, allocations: 66.81 kB / 0.8125 GB, free: 10.56 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000127/1.107, allocations: 128.6 kB / 0.8126 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.345e-05/1.107, allocations: 54.58 kB / 0.8126 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.068e-05/1.107, allocations: 95.8 kB / 0.8127 GB, free: 10.34 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.959e-05/1.107, allocations: 102 kB / 0.8128 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.773e-05/1.107, allocations: 6.688 kB / 0.8128 GB, free: 10.29 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 8.034e-05/1.107, allocations: 341.3 kB / 0.8132 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002683/1.107, allocations: 97.97 kB / 0.8132 GB, free: 9.977 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003406/1.108, allocations: 223.6 kB / 0.8135 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000356/1.108, allocations: 124.7 kB / 0.8136 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.697e-06/1.108, allocations: 3.812 kB / 0.8136 GB, free: 9.809 MB / 0.6355 GB Notification: Performance of matching and sorting (n=66) (initialization): time 0.001077/1.109, allocations: 382.2 kB / 0.8139 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.699e-05/1.109, allocations: 7.656 kB / 0.814 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/1.109, allocations: 3.875 kB / 0.814 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.775e-05/1.109, allocations: 7.656 kB / 0.814 GB, free: 9.734 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003401/1.109, allocations: 50 kB / 0.814 GB, free: 9.727 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.846e-05/1.11, allocations: 12.38 kB / 0.814 GB, free: 9.723 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004287/1.11, allocations: 61.36 kB / 0.8141 GB, free: 9.711 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.995e-05/1.11, allocations: 18.66 kB / 0.8141 GB, free: 9.711 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 62 ($PRE.noThr.u,$PRE.noThr.reset,$PRE.thrTim.u,$PRE.thrTim.reset,$PRE.noThrWitRes.u,$PRE.noThrWitRes.reset,$PRE.thrTimWitRes.u,$PRE.thrTimWitRes.reset,$PRE.thrTimWitRes.passed,thrTimWitRes.passed,$PRE.noThrWitRes.passed,noThrWitRes.passed,$PRE.thrTim.passed,thrTim.passed,$PRE.noThr.passed,noThr.passed,$whenCondition18,$whenCondition17,$whenCondition4,noThr.reset,$whenCondition8,thrTim.reset,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition1,$whenCondition2,$whenCondition3,noThr.u,$PRE.noThr.entryTime,noThr.entryTime,$PRE.noThr.yAcc,noThr.yAcc,thrTim.u,$PRE.thrTim.entryTime,thrTim.entryTime,$PRE.thrTim.yAcc,thrTim.yAcc,noThrWitRes.u,$PRE.noThrWitRes.entryTime,noThrWitRes.entryTime,$PRE.noThrWitRes.yAcc,noThrWitRes.yAcc,thrTimWitRes.u,$PRE.thrTimWitRes.entryTime,thrTimWitRes.entryTime,$PRE.thrTimWitRes.yAcc,thrTimWitRes.yAcc,$PRE.booPul.pulseStart,booPul.pulseStart,$whenCondition16,$whenCondition12,noThrWitRes.reset,thrTimWitRes.reset,$PRE.resTim.pulseStart,resTim.pulseStart) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (66): * Single equations (assignments): 66 * 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.0002145/1.11, allocations: 162.1 kB / 0.8143 GB, free: 9.586 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.238e-05/1.11, allocations: 30.27 kB / 0.8143 GB, free: 9.574 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.941e-05/1.11, allocations: 35 kB / 0.8143 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.084e-06/1.11, allocations: 3.875 kB / 0.8143 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.287e-06/1.11, allocations: 0 / 0.8143 GB, free: 9.559 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/1.11, allocations: 6.906 kB / 0.8143 GB, free: 9.555 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002321/1.113, allocations: 1.13 MB / 0.8154 GB, free: 9.102 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.652e-06/1.113, allocations: 7.906 kB / 0.8154 GB, free: 9.098 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001186/1.113, allocations: 14.62 kB / 0.8155 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.14e-05/1.113, allocations: 3.844 kB / 0.8155 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.029e-05/1.113, allocations: 15.89 kB / 0.8155 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.061e-06/1.113, allocations: 3.75 kB / 0.8155 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.005e-06/1.113, allocations: 0 / 0.8155 GB, free: 9.094 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001084/1.114, allocations: 0.6364 MB / 0.8161 GB, free: 8.891 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 9.7e-05/1.114, allocations: 96.48 kB / 0.8162 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001053/1.114, allocations: 25.95 kB / 0.8162 GB, free: 8.785 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004405/1.115, allocations: 49.77 kB / 0.8163 GB, free: 8.781 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001449/1.115, allocations: 50.92 kB / 0.8163 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.092e-05/1.115, allocations: 34.17 kB / 0.8163 GB, free: 8.777 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.459e-05/1.115, allocations: 101 kB / 0.8164 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.31e-07/1.115, allocations: 3.875 kB / 0.8164 GB, free: 8.695 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005903/1.116, allocations: 84.28 kB / 0.8165 GB, free: 8.695 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 40 (noThr.u,noThrWitRes.u,thrTim.u,thrTimWitRes.u,noThrWitRes.reset,thrTimWitRes.reset,$whenCondition18,$whenCondition17,$whenCondition13,$whenCondition14,$whenCondition15,$whenCondition16,$whenCondition9,$whenCondition10,$whenCondition11,$whenCondition12,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,noThr.passed,noThr.entryTime,noThr.yAcc,thrTim.passed,thrTim.entryTime,thrTim.yAcc,noThrWitRes.passed,noThrWitRes.entryTime,noThrWitRes.yAcc,thrTimWitRes.passed,thrTimWitRes.entryTime,thrTimWitRes.yAcc,booPul.pulseStart,resTim.pulseStart,noThr.reset,thrTim.reset) * Number of discrete states: 16 (noThrWitRes.entryTime,noThrWitRes.yAcc,noThr.entryTime,noThr.yAcc,thrTimWitRes.entryTime,thrTimWitRes.yAcc,thrTim.entryTime,thrTim.yAcc,thrTimWitRes.y,thrTimWitRes.passed,noThrWitRes.y,noThrWitRes.passed,thrTim.y,thrTim.passed,noThr.y,noThr.passed) * Top-level inputs: 0 Notification: Strong component statistics for simulation (44): * Single equations (assignments): 30 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 14 * 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.001997/1.118, allocations: 1.362 MB / 0.8179 GB, free: 23.82 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0008794/1.119, allocations: 343.6 kB / 0.8182 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.097e-06/1.119, allocations: 0 / 0.8182 GB, free: 23.8 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.000519/1.119, allocations: 285.2 kB / 0.8185 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004328/1.12, allocations: 34.33 kB / 0.8185 GB, free: 23.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001323/1.121, allocations: 426.8 kB / 0.8189 GB, free: 23.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000369/1.122, allocations: 0.7414 MB / 0.8196 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001564/1.122, allocations: 31.17 kB / 0.8196 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001705/1.122, allocations: 59.73 kB / 0.8197 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of SimCode: time 1.714e-06/1.122, allocations: 0 / 0.8197 GB, free: 22.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03452/1.156, allocations: 4.799 MB / 0.8244 GB, free: 22.42 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000318/1.157, allocations: 185.7 kB / 0.8246 GB, free: 22.2 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.44/3.597, allocations: 0 / 0.8246 GB, free: 22.2 MB / 0.6511 GB