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.Conversions.Validation.DayTypeCheck.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.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_7_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",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.009973/0.009973, allocations: 89.3 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.001184/0.001184, allocations: 170.5 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.302/2.302, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.397/2.397, allocations: 252.8 MB / 0.511 GB, free: 8.316 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004584/0.0004587, allocations: 10.97 kB / 0.6243 GB, free: 28.31 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2274/0.2278, allocations: 106.2 MB / 0.7281 GB, free: 10.11 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck): time 0.001816/0.2297, allocations: 1.04 MB / 0.7291 GB, free: 9.062 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0005831/0.2303, allocations: 188.1 kB / 0.7293 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.859e-05/0.2304, allocations: 0 / 0.7293 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 9.255e-05/0.2305, allocations: 0 / 0.7293 GB, free: 8.879 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 4.454e-05/0.2306, allocations: 4 kB / 0.7293 GB, free: 8.875 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.00027/0.2308, allocations: 39.83 kB / 0.7293 GB, free: 8.836 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.000119/0.231, allocations: 31.97 kB / 0.7293 GB, free: 8.805 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001052/0.2311, allocations: 15.98 kB / 0.7294 GB, free: 8.789 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 3.653e-05/0.2311, allocations: 11.94 kB / 0.7294 GB, free: 8.777 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.498e-05/0.2312, allocations: 27.89 kB / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.583e-05/0.2313, allocations: 4 kB / 0.7294 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 1.729e-05/0.2313, allocations: 0 / 0.7294 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 4.073e-05/0.2314, allocations: 19.92 kB / 0.7294 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.431e-05/0.2314, allocations: 33.7 kB / 0.7294 GB, free: 8.688 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0001097/0.2315, allocations: 55.83 kB / 0.7295 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.464e-06/0.2316, allocations: 0 / 0.7295 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.803e-06/0.2316, allocations: 0 / 0.7295 GB, free: 8.633 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.879e-06/0.2316, allocations: 0 / 0.7295 GB, free: 8.633 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0006196/0.2322, allocations: 393.1 kB / 0.7299 GB, free: 8.195 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.2323, allocations: 8.031 kB / 0.7299 GB, free: 8.188 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.851e-05/0.2323, allocations: 34.5 kB / 0.7299 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.072e-05/0.2324, allocations: 7.906 kB / 0.7299 GB, free: 8.137 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002204/0.2326, allocations: 186.9 kB / 0.7301 GB, free: 7.914 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.828e-05/0.2327, allocations: 11.98 kB / 0.7301 GB, free: 7.902 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.243e-05/0.2327, allocations: 8 kB / 0.7301 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002194/0.2329, allocations: 81.59 kB / 0.7302 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.898e-06/0.2329, allocations: 0 / 0.7302 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.233, allocations: 3.938 kB / 0.7302 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.287e-06/0.233, allocations: 0 / 0.7302 GB, free: 7.805 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.2331, allocations: 47.91 kB / 0.7303 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007589/0.2339, allocations: 348.7 kB / 0.7306 GB, free: 7.367 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002849/0.2342, allocations: 114.6 kB / 0.7307 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.045e-05/0.2342, allocations: 0 / 0.7307 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002273/0.2345, allocations: 87.31 kB / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.224e-06/0.2345, allocations: 0 / 0.7308 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.0004467/0.2349, allocations: 165.4 kB / 0.7309 GB, free: 6.98 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.222e-05/0.235, allocations: 55.41 kB / 0.731 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001273/0.2351, allocations: 125.7 kB / 0.7311 GB, free: 6.781 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.67e-05/0.2352, allocations: 33.7 kB / 0.7311 GB, free: 6.742 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001077/0.2353, allocations: 84.14 kB / 0.7312 GB, free: 6.656 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.919e-05/0.2353, allocations: 15.81 kB / 0.7312 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.406e-06/0.2354, allocations: 0 / 0.7312 GB, free: 6.641 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001296/0.2355, allocations: 322.8 kB / 0.7315 GB, free: 6.316 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.687e-05/0.2356, allocations: 31.98 kB / 0.7316 GB, free: 6.285 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001249/0.2357, allocations: 66.53 kB / 0.7316 GB, free: 6.211 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001081/0.2359, allocations: 39.98 kB / 0.7317 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.625e-06/0.2359, allocations: 0 / 0.7317 GB, free: 6.172 MB / 0.5573 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.000312/0.2362, allocations: 137.7 kB / 0.7318 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.2362, allocations: 4 kB / 0.7318 GB, free: 6.027 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.356e-06/0.2363, allocations: 8 kB / 0.7318 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.598e-05/0.2363, allocations: 0 / 0.7318 GB, free: 6.02 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000107/0.2364, allocations: 4 kB / 0.7318 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.357e-05/0.2364, allocations: 11.98 kB / 0.7318 GB, free: 6.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000126/0.2366, allocations: 11.84 kB / 0.7318 GB, free: 5.992 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.839e-05/0.2367, allocations: 31.94 kB / 0.7319 GB, free: 5.961 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$whenCondition1,dayTypSat.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (12): * Single equations (assignments): 12 * 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.0001383/0.2368, allocations: 122.2 kB / 0.732 GB, free: 5.832 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.31e-05/0.2369, allocations: 4 kB / 0.732 GB, free: 5.828 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.525e-05/0.2369, allocations: 16.36 kB / 0.732 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.227e-06/0.2369, allocations: 0 / 0.732 GB, free: 5.812 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.957e-06/0.2369, allocations: 11.94 kB / 0.732 GB, free: 5.801 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.473e-06/0.237, allocations: 3.953 kB / 0.732 GB, free: 5.797 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006557/0.2376, allocations: 402.4 kB / 0.7324 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.836e-06/0.2376, allocations: 0 / 0.7324 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.936e-05/0.2377, allocations: 0 / 0.7324 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.42e-06/0.2377, allocations: 0 / 0.7324 GB, free: 5.348 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.128e-05/0.2377, allocations: 11.98 kB / 0.7324 GB, free: 5.336 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.342e-06/0.2377, allocations: 3.953 kB / 0.7324 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.928e-06/0.2377, allocations: 0 / 0.7324 GB, free: 5.332 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000311/0.2381, allocations: 219.4 kB / 0.7326 GB, free: 5.102 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.2381, allocations: 81.02 kB / 0.7327 GB, free: 5.004 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.321e-05/0.2382, allocations: 7.984 kB / 0.7327 GB, free: 4.996 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001109/0.2383, allocations: 4.047 kB / 0.7327 GB, free: 4.992 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.746e-05/0.2384, allocations: 19.86 kB / 0.7327 GB, free: 4.973 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.485e-05/0.2384, allocations: 31.89 kB / 0.7328 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.573e-05/0.2385, allocations: 95.86 kB / 0.7329 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.8e-07/0.2385, allocations: 0 / 0.7329 GB, free: 4.848 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0003448/0.2389, allocations: 20 kB / 0.7329 GB, free: 4.828 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: 9 (dayTypSat.sampleTrigger,$whenCondition1,isWorDay.y,isNonWorDay.y,isHoliday.y,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement) * Number of discrete states: 2 (dayTypSat.skipIDayIncrement,dayTypSat.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0007147/0.2396, allocations: 0.7518 MB / 0.7336 GB, free: 4.051 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0002958/0.2399, allocations: 91.83 kB / 0.7337 GB, free: 3.961 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 5.791e-06/0.24, allocations: 4.062 kB / 0.7337 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001271/0.2401, allocations: 47.91 kB / 0.7338 GB, free: 3.91 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000637/0.2407, allocations: 67.88 kB / 0.7338 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009903/0.2417, allocations: 0.7283 MB / 0.7345 GB, free: 3.047 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000315/0.2421, allocations: 0.6926 MB / 0.7352 GB, free: 2.328 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 0.000118/0.2422, allocations: 12.42 kB / 0.7352 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.166e-05/0.2423, allocations: 31.42 kB / 0.7352 GB, free: 2.285 MB / 0.5573 GB Notification: Performance of SimCode: time 1.222e-06/0.2423, allocations: 4 kB / 0.7353 GB, free: 2.281 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02313/0.2655, allocations: 2.504 MB / 0.7377 GB, free: 15.91 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003205/0.2659, allocations: 196.5 kB / 0.7379 GB, free: 15.67 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.363/2.629, allocations: 0 / 0.7379 GB, free: 15.67 MB / 0.573 GB