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.Timer.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.Timer,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Logical_Validation_Timer",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.01341/0.01342, allocations: 90.67 kB / 15.04 MB, free: 5.582 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.001223/0.001223, allocations: 174.6 kB / 15.92 MB, free: 5.555 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.099/2.099, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.373/2.373, allocations: 252.8 MB / 0.511 GB, free: 8.371 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004765/0.0004767, allocations: 19.12 kB / 0.6243 GB, free: 28.32 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2219/0.2224, allocations: 106.2 MB / 0.7281 GB, free: 10.13 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Logical.Validation.Timer): time 0.002403/0.2249, allocations: 1.39 MB / 0.7294 GB, free: 8.723 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0009324/0.2259, allocations: 387.8 kB / 0.7298 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.749e-05/0.226, allocations: 0 / 0.7298 GB, free: 8.34 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.226, allocations: 11.86 kB / 0.7298 GB, free: 8.328 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001498/0.2262, allocations: 31.92 kB / 0.7299 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003484/0.2266, allocations: 83.84 kB / 0.7299 GB, free: 8.215 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0003445/0.2269, allocations: 159.7 kB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001946/0.2271, allocations: 53.58 kB / 0.7301 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.2273, allocations: 71.77 kB / 0.7302 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001498/0.2274, allocations: 83.64 kB / 0.7303 GB, free: 7.852 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 4.689e-05/0.2275, allocations: 15.94 kB / 0.7303 GB, free: 7.836 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 4.046e-05/0.2275, allocations: 8 kB / 0.7303 GB, free: 7.828 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 6.357e-05/0.2276, allocations: 39.88 kB / 0.7303 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 0.0001027/0.2277, allocations: 69.58 kB / 0.7304 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002368/0.228, allocations: 155.9 kB / 0.7306 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.825e-06/0.228, allocations: 0 / 0.7306 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.294e-06/0.228, allocations: 0 / 0.7306 GB, free: 7.562 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.681e-06/0.228, allocations: 0 / 0.7306 GB, free: 7.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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.001072/0.2291, allocations: 485.6 kB / 0.731 GB, free: 7.039 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.2292, allocations: 8.031 kB / 0.731 GB, free: 7.031 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.731e-05/0.2292, allocations: 58.53 kB / 0.7311 GB, free: 6.965 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.001e-05/0.2293, allocations: 23.77 kB / 0.7311 GB, free: 6.941 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006628/0.23, allocations: 267 kB / 0.7314 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.828e-05/0.2301, allocations: 16.33 kB / 0.7314 GB, free: 6.625 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.693e-05/0.2301, allocations: 27.98 kB / 0.7314 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004891/0.2306, allocations: 176.2 kB / 0.7316 GB, free: 6.422 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.264e-05/0.2307, allocations: 3.938 kB / 0.7316 GB, free: 6.418 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.947e-05/0.2307, allocations: 11.98 kB / 0.7316 GB, free: 6.406 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.235e-05/0.2307, allocations: 11.89 kB / 0.7316 GB, free: 6.395 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003855/0.2311, allocations: 120.2 kB / 0.7317 GB, free: 6.277 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001409/0.2326, allocations: 0.5235 MB / 0.7322 GB, free: 5.703 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0005339/0.2331, allocations: 202.5 kB / 0.7324 GB, free: 5.496 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.489e-05/0.2332, allocations: 4 kB / 0.7324 GB, free: 5.492 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006777/0.2338, allocations: 255.2 kB / 0.7327 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=39): time 2.925e-06/0.2339, allocations: 4 kB / 0.7327 GB, free: 5.227 MB / 0.5573 GB Notification: Performance of matching and sorting (n=39): time 0.001195/0.2351, allocations: 410.3 kB / 0.7331 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.395e-05/0.2352, allocations: 83.25 kB / 0.7331 GB, free: 4.727 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001813/0.2354, allocations: 153.6 kB / 0.7333 GB, free: 4.566 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 6.25e-05/0.2354, allocations: 49.64 kB / 0.7333 GB, free: 4.512 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 9.659e-05/0.2355, allocations: 113 kB / 0.7334 GB, free: 4.398 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001168/0.2357, allocations: 90.84 kB / 0.7335 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.93e-05/0.2357, allocations: 12 kB / 0.7335 GB, free: 4.297 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001428/0.2359, allocations: 330.8 kB / 0.7339 GB, free: 3.965 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002775/0.2361, allocations: 93.08 kB / 0.7339 GB, free: 3.871 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003389/0.2365, allocations: 150.3 kB / 0.7341 GB, free: 3.715 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002815/0.2368, allocations: 92.81 kB / 0.7342 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.887e-06/0.2368, allocations: 0 / 0.7342 GB, free: 3.621 MB / 0.5573 GB Notification: Performance of matching and sorting (n=59) (initialization): time 0.0007942/0.2376, allocations: 323.7 kB / 0.7345 GB, free: 3.297 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.076e-05/0.2377, allocations: 8.125 kB / 0.7345 GB, free: 3.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.108e-05/0.2377, allocations: 4 kB / 0.7345 GB, free: 3.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.205e-05/0.2377, allocations: 4 kB / 0.7345 GB, free: 3.281 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002978/0.238, allocations: 43.86 kB / 0.7345 GB, free: 3.238 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.703e-05/0.2381, allocations: 7.984 kB / 0.7346 GB, free: 3.23 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002984/0.2384, allocations: 35.78 kB / 0.7346 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.888e-05/0.2384, allocations: 16 kB / 0.7346 GB, free: 3.18 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 54 ($PRE.resetTimer.yAcc,resetTimer.yAcc,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,$PRE.resetTimer.entryTime,resetTimer.entryTime,$PRE.accuTimer.entryTime,accuTimer.entryTime,$PRE.accuTimer.yAcc,accuTimer.yAcc,$PRE.accuTimer.reset_internal,accuTimer.reset_internal,$PRE.accuTimer1.entryTime,accuTimer1.entryTime,$PRE.accuTimer1.yAcc,accuTimer1.yAcc,$PRE.accuTimer1.reset_internal,accuTimer1.reset_internal,$PRE.accuTimer2.entryTime,accuTimer2.entryTime,$PRE.accuTimer2.yAcc,accuTimer2.yAcc,$PRE.accuTimer2.reset_internal,accuTimer2.reset_internal,$PRE.accuTimer3.entryTime,accuTimer3.entryTime,$PRE.accuTimer3.yAcc,accuTimer3.yAcc,$PRE.accuTimer3.reset_internal,accuTimer3.reset_internal,$PRE.booPul1.pulseStart,booPul1.pulseStart,$PRE.pre.u,pre.u,$PRE.booPul.pulseStart,booPul.pulseStart,booPul2.y,$PRE.booPul2.pulseStart,booPul2.pulseStart,$PRE.resetTimer.reset_internal,resetTimer.reset_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (59): * Single equations (assignments): 59 * 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.0002415/0.2387, allocations: 170.9 kB / 0.7348 GB, free: 3.004 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.396e-05/0.2387, allocations: 23.72 kB / 0.7348 GB, free: 2.98 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 8.543e-05/0.2388, allocations: 25.97 kB / 0.7348 GB, free: 2.953 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.426e-06/0.2389, allocations: 4 kB / 0.7348 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.582e-06/0.2389, allocations: 0 / 0.7348 GB, free: 2.949 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.047e-06/0.2389, allocations: 3.984 kB / 0.7348 GB, free: 2.945 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001629/0.2405, allocations: 0.7404 MB / 0.7355 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.36e-06/0.2406, allocations: 0 / 0.7355 GB, free: 2.148 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001212/0.2407, allocations: 12 kB / 0.7356 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.813e-06/0.2407, allocations: 0 / 0.7356 GB, free: 2.137 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.812e-05/0.2408, allocations: 15.92 kB / 0.7356 GB, free: 2.121 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.263e-06/0.2408, allocations: 4 kB / 0.7356 GB, free: 2.117 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.21e-06/0.2408, allocations: 3.953 kB / 0.7356 GB, free: 2.113 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008625/0.2417, allocations: 435 kB / 0.736 GB, free: 1.672 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 7.581e-05/0.2418, allocations: 96.86 kB / 0.7361 GB, free: 1.559 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.954e-05/0.2418, allocations: 15.92 kB / 0.7361 GB, free: 1.543 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003497/0.2422, allocations: 27.97 kB / 0.7361 GB, free: 1.516 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001542/0.2424, allocations: 43.88 kB / 0.7362 GB, free: 1.473 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.865e-05/0.2424, allocations: 12 kB / 0.7362 GB, free: 1.461 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001165/0.2426, allocations: 114 kB / 0.7363 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.11e-07/0.2426, allocations: 0 / 0.7363 GB, free: 1.352 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004801/0.2431, allocations: 75.84 kB / 0.7364 GB, free: 1.277 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: 34 (booPul2.y,$whenCondition15,$whenCondition14,$whenCondition13,$whenCondition11,$whenCondition12,$whenCondition10,$whenCondition8,$whenCondition9,$whenCondition6,$whenCondition7,$whenCondition4,$whenCondition5,$whenCondition3,$whenCondition1,$whenCondition2,resetTimer.entryTime,resetTimer.yAcc,accuTimer.entryTime,accuTimer.yAcc,accuTimer.reset_internal,accuTimer1.entryTime,accuTimer1.yAcc,accuTimer1.reset_internal,accuTimer2.entryTime,accuTimer2.yAcc,accuTimer2.reset_internal,accuTimer3.entryTime,accuTimer3.yAcc,accuTimer3.reset_internal,booPul1.pulseStart,pre.u,booPul.pulseStart,booPul2.pulseStart) * Number of discrete states: 10 (pre.u,accuTimer2.reset_internal,accuTimer1.reset_internal,accuTimer3.reset_internal,accuTimer.reset_internal,accuTimer3.y,accuTimer2.y,accuTimer1.y,accuTimer.y,resetTimer.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (39): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 13 * 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.001274/0.2443, allocations: 0.9952 MB / 0.7373 GB, free: 264 kB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0007868/0.2452, allocations: 274.4 kB / 0.7376 GB, free: 15.99 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.906e-06/0.2452, allocations: 0 / 0.7376 GB, free: 15.99 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0003828/0.2456, allocations: 147.8 kB / 0.7377 GB, free: 15.85 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004583/0.246, allocations: 39.86 kB / 0.7378 GB, free: 15.81 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002981/0.249, allocations: 1.784 MB / 0.7395 GB, free: 13.95 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003699/0.2495, allocations: 0.7455 MB / 0.7402 GB, free: 13.18 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0002125/0.2497, allocations: 34.95 kB / 0.7403 GB, free: 13.14 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001875/0.2499, allocations: 67.41 kB / 0.7403 GB, free: 13.08 MB / 0.573 GB Notification: Performance of SimCode: time 1.042e-06/0.2499, allocations: 0 / 0.7403 GB, free: 13.08 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02702/0.2769, allocations: 4.065 MB / 0.7443 GB, free: 9.137 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/0.2773, allocations: 178.1 kB / 0.7445 GB, free: 8.902 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.746, allocations: 3.938 kB / 0.7445 GB, free: 8.898 MB / 0.573 GB