Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff.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.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff,fileNamePrefix="Buildings_7_0_0_Buildings_Examples_Tutorial_CDL_Controls_Validation_SystemOnOff",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.01907/0.01908, allocations: 88.92 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.001219/0.001219, allocations: 171.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.005/2.005, 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.393/2.393, allocations: 252.8 MB / 0.511 GB, free: 8.344 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005059/0.0005059, allocations: 10.78 kB / 0.6243 GB, free: 28.27 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2365/0.237, allocations: 106.2 MB / 0.7281 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Examples.Tutorial.CDL.Controls.Validation.SystemOnOff): time 0.002436/0.2395, allocations: 1.288 MB / 0.7293 GB, free: 8.883 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0006377/0.2402, allocations: 192.4 kB / 0.7295 GB, free: 8.691 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.977e-05/0.2403, allocations: 3.938 kB / 0.7295 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.622e-05/0.2404, allocations: 3.938 kB / 0.7295 GB, free: 8.684 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.0001288/0.2405, allocations: 19.95 kB / 0.7295 GB, free: 8.664 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001997/0.2407, allocations: 27.95 kB / 0.7296 GB, free: 8.637 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001426/0.2409, allocations: 59.88 kB / 0.7296 GB, free: 8.578 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001768/0.2411, allocations: 53.12 kB / 0.7297 GB, free: 8.52 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001802/0.2413, allocations: 27.86 kB / 0.7297 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001276/0.2414, allocations: 47.75 kB / 0.7297 GB, free: 8.445 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 3.05e-05/0.2415, allocations: 4 kB / 0.7297 GB, free: 8.441 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.584e-05/0.2415, allocations: 4 kB / 0.7297 GB, free: 8.438 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.681e-05/0.2415, allocations: 11.92 kB / 0.7298 GB, free: 8.426 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.2416, allocations: 37.7 kB / 0.7298 GB, free: 8.383 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001676/0.2418, allocations: 88.06 kB / 0.7299 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.976e-06/0.2418, allocations: 4 kB / 0.7299 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.034e-06/0.2418, allocations: 0 / 0.7299 GB, free: 8.293 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 7.184e-06/0.2418, allocations: 4 kB / 0.7299 GB, free: 8.289 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.001375/0.2432, allocations: 462.9 kB / 0.7303 GB, free: 7.789 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 5.312e-05/0.2433, allocations: 8.031 kB / 0.7303 GB, free: 7.781 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.618e-05/0.2434, allocations: 42.55 kB / 0.7304 GB, free: 7.73 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.295e-05/0.2434, allocations: 15.77 kB / 0.7304 GB, free: 7.715 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001863/0.2436, allocations: 174.9 kB / 0.7306 GB, free: 7.504 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.841e-05/0.2437, allocations: 4 kB / 0.7306 GB, free: 7.5 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.193e-05/0.2437, allocations: 8 kB / 0.7306 GB, free: 7.492 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000353/0.2441, allocations: 97.64 kB / 0.7307 GB, free: 7.391 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.249e-05/0.2441, allocations: 3.938 kB / 0.7307 GB, free: 7.387 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.974e-05/0.2441, allocations: 4 kB / 0.7307 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.2441, allocations: 0 / 0.7307 GB, free: 7.383 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003321/0.2445, allocations: 83.84 kB / 0.7308 GB, free: 7.301 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001177/0.2457, allocations: 412.5 kB / 0.7311 GB, free: 6.848 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002487/0.246, allocations: 62.56 kB / 0.7312 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.862e-05/0.246, allocations: 0 / 0.7312 GB, free: 6.777 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.434e-05/0.246, allocations: 34.56 kB / 0.7312 GB, free: 6.734 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=5): time 1.633e-06/0.2461, allocations: 4 kB / 0.7312 GB, free: 6.73 MB / 0.5573 GB Notification: Performance of matching and sorting (n=5): time 0.000616/0.2467, allocations: 129.5 kB / 0.7314 GB, free: 6.598 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.623e-05/0.2468, allocations: 55.41 kB / 0.7314 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001992/0.247, allocations: 150.5 kB / 0.7316 GB, free: 6.375 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 3.272e-05/0.247, allocations: 37.64 kB / 0.7316 GB, free: 6.332 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 8.567e-05/0.2471, allocations: 108.1 kB / 0.7317 GB, free: 6.223 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.687e-05/0.2471, allocations: 3.906 kB / 0.7317 GB, free: 6.219 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.299e-05/0.2472, allocations: 4 kB / 0.7317 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001302/0.2473, allocations: 318.8 kB / 0.732 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001826/0.2475, allocations: 39.92 kB / 0.7321 GB, free: 5.855 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001614/0.2477, allocations: 35.98 kB / 0.7321 GB, free: 5.82 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001537/0.2478, allocations: 27.94 kB / 0.7321 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.288e-06/0.2479, allocations: 0 / 0.7321 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0004229/0.2483, allocations: 113.5 kB / 0.7322 GB, free: 5.676 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.109e-05/0.2483, allocations: 4 kB / 0.7322 GB, free: 5.672 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.2483, allocations: 4 kB / 0.7322 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.869e-05/0.2484, allocations: 0 / 0.7322 GB, free: 5.668 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001608/0.2485, allocations: 11.98 kB / 0.7322 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.544e-06/0.2486, allocations: 0 / 0.7322 GB, free: 5.656 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003244/0.2489, allocations: 39.81 kB / 0.7323 GB, free: 5.617 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.226e-05/0.2489, allocations: 4 kB / 0.7323 GB, free: 5.613 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (conSysSta.onSys,$PRE.conSysSta.onTOut.y,conSysSta.onTOut.y,$PRE.conSysSta.onTRoo.y,conSysSta.onTRoo.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001589/0.2491, allocations: 125.8 kB / 0.7324 GB, free: 5.48 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.212e-05/0.2492, allocations: 7.906 kB / 0.7324 GB, free: 5.473 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.351e-05/0.2493, allocations: 12.31 kB / 0.7324 GB, free: 5.461 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.337e-05/0.2493, allocations: 3.984 kB / 0.7324 GB, free: 5.457 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.892e-06/0.2493, allocations: 4 kB / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.809e-06/0.2493, allocations: 0 / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003091/0.2496, allocations: 201.6 kB / 0.7326 GB, free: 5.207 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.494e-06/0.2497, allocations: 7.938 kB / 0.7326 GB, free: 5.199 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001582/0.2498, allocations: 11.94 kB / 0.7326 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.665e-06/0.2498, allocations: 0 / 0.7326 GB, free: 5.188 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.824e-05/0.2499, allocations: 3.984 kB / 0.7326 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.308e-06/0.2499, allocations: 0 / 0.7326 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.773e-06/0.2499, allocations: 0 / 0.7326 GB, free: 5.184 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004675/0.2504, allocations: 195.4 kB / 0.7328 GB, free: 4.977 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.929e-05/0.2505, allocations: 84.97 kB / 0.7329 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.712e-05/0.2505, allocations: 0 / 0.7329 GB, free: 4.875 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003484/0.2509, allocations: 36.28 kB / 0.7329 GB, free: 4.84 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001069/0.251, allocations: 15.97 kB / 0.733 GB, free: 4.824 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.878e-05/0.251, allocations: 4 kB / 0.733 GB, free: 4.82 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 0.0001541/0.2512, allocations: 122 kB / 0.7331 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.71e-07/0.2512, allocations: 0 / 0.7331 GB, free: 4.703 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003483/0.2516, allocations: 15.91 kB / 0.7331 GB, free: 4.688 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: 3 (conSysSta.onSys,conSysSta.onTOut.y,conSysSta.onTRoo.y) * Number of discrete states: 2 (conSysSta.onTRoo.y,conSysSta.onTOut.y) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * 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 Backend phase and start with SimCode phase: time 0.0008398/0.2524, allocations: 0.7357 MB / 0.7338 GB, free: 3.926 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003991/0.2529, allocations: 71.97 kB / 0.7339 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.306e-06/0.2529, allocations: 0 / 0.7339 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.000179/0.2531, allocations: 43.91 kB / 0.7339 GB, free: 3.812 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003731/0.2535, allocations: 19.88 kB / 0.7339 GB, free: 3.793 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001857/0.2553, allocations: 0.6848 MB / 0.7346 GB, free: 3.062 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003041/0.2557, allocations: 0.7004 MB / 0.7353 GB, free: 2.336 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.0001115/0.2558, allocations: 7.984 kB / 0.7353 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001118/0.2559, allocations: 27.5 kB / 0.7353 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of SimCode: time 1.403e-06/0.256, allocations: 0 / 0.7353 GB, free: 2.301 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02705/0.283, allocations: 2.237 MB / 0.7375 GB, free: 188 kB / 0.5573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003736/0.2835, allocations: 208 kB / 0.7377 GB, free: 15.93 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.345/2.628, allocations: 0 / 0.7377 GB, free: 15.93 MB / 0.573 GB