Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Conversions.Validation.DayTypeCheck,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Conversions_Validation_DayTypeCheck",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.099/4.099, allocations: 433.2 MB / 440.7 MB, free: 4.57 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.237e-05/2.234e-05, allocations: 3.438 kB / 0.5325 GB, free: 12.8 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2067/0.2068, allocations: 98.74 MB / 0.6289 GB, free: 9.109 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2233/0.4302, allocations: 124 MB / 0.75 GB, free: 12.99 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.4305, allocations: 67.97 kB / 0.75 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 0.01612/0.4466, allocations: 3.906 MB / 0.7538 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.068e-06/0.4467, allocations: 0 / 0.7538 GB, free: 9.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.242e-05/0.4467, allocations: 11.88 kB / 0.7538 GB, free: 8.996 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005728/0.4473, allocations: 388.1 kB / 0.7542 GB, free: 8.566 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.869e-05/0.4473, allocations: 12.02 kB / 0.7542 GB, free: 8.555 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.606e-05/0.4474, allocations: 15.86 kB / 0.7542 GB, free: 8.539 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002289/0.4476, allocations: 179 kB / 0.7544 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.011e-05/0.4477, allocations: 0 / 0.7544 GB, free: 8.324 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.667e-05/0.4477, allocations: 7.984 kB / 0.7544 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001376/0.4479, allocations: 39.92 kB / 0.7545 GB, free: 8.277 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001773/0.4481, allocations: 77.59 kB / 0.7545 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.849e-06/0.4481, allocations: 0 / 0.7545 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.307e-05/0.4481, allocations: 0 / 0.7545 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.04e-06/0.4481, allocations: 0 / 0.7545 GB, free: 8.195 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007001/0.4488, allocations: 317.4 kB / 0.7548 GB, free: 7.848 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002674/0.4491, allocations: 110.5 kB / 0.7549 GB, free: 7.73 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001409/0.4493, allocations: 64.86 kB / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.263e-05/0.4493, allocations: 0 / 0.755 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001799/0.4495, allocations: 83.39 kB / 0.7551 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 1.934e-06/0.4495, allocations: 0 / 0.7551 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.000324/0.4498, allocations: 113.5 kB / 0.7552 GB, free: 7.453 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.688e-05/0.4499, allocations: 59.39 kB / 0.7552 GB, free: 7.383 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001238/0.45, allocations: 116.9 kB / 0.7554 GB, free: 7.262 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.116e-05/0.4501, allocations: 29.7 kB / 0.7554 GB, free: 7.227 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.921e-05/0.4502, allocations: 88.14 kB / 0.7555 GB, free: 7.137 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.617e-05/0.4502, allocations: 11.81 kB / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.143e-06/0.4502, allocations: 0 / 0.7555 GB, free: 7.125 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001377/0.4504, allocations: 318.8 kB / 0.7558 GB, free: 6.805 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.326e-05/0.4505, allocations: 35.98 kB / 0.7558 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001125/0.4506, allocations: 58.5 kB / 0.7559 GB, free: 6.703 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.111e-05/0.4507, allocations: 35.97 kB / 0.7559 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.599e-06/0.4507, allocations: 112 / 0.7559 GB, free: 6.668 MB / 0.6355 GB Notification: Performance of matching and sorting (n=12) (initialization): time 0.0002901/0.451, allocations: 125.7 kB / 0.756 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.451, allocations: 5.25 kB / 0.756 GB, free: 6.535 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.106e-06/0.4511, allocations: 4.094 kB / 0.756 GB, free: 6.531 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.4511, allocations: 3.938 kB / 0.756 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.379e-05/0.4512, allocations: 8 kB / 0.7561 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.553e-05/0.4512, allocations: 11.94 kB / 0.7561 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.798e-05/0.4513, allocations: 4.031 kB / 0.7561 GB, free: 6.504 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.039e-05/0.4514, allocations: 19.97 kB / 0.7561 GB, free: 6.484 MB / 0.6355 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 () * 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.0001058/0.4515, allocations: 110.9 kB / 0.7562 GB, free: 6.371 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002435/0.4518, allocations: 113.6 kB / 0.7563 GB, free: 6.254 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.895e-05/0.4518, allocations: 7.844 kB / 0.7563 GB, free: 6.246 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.029e-05/0.4518, allocations: 16.61 kB / 0.7563 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.36e-06/0.4519, allocations: 3.953 kB / 0.7563 GB, free: 6.23 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.869e-06/0.4519, allocations: 4 kB / 0.7563 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.098e-06/0.4519, allocations: 0 / 0.7563 GB, free: 6.227 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005532/0.4524, allocations: 371 kB / 0.7567 GB, free: 5.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.509e-06/0.4525, allocations: 4 kB / 0.7567 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.096e-05/0.4525, allocations: 4 kB / 0.7567 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/0.4525, allocations: 0 / 0.7567 GB, free: 5.812 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.513e-05/0.4525, allocations: 3.953 kB / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.014e-06/0.4525, allocations: 0 / 0.7567 GB, free: 5.809 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.4526, allocations: 4 kB / 0.7567 GB, free: 5.805 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002884/0.4529, allocations: 215.4 kB / 0.7569 GB, free: 5.578 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.236e-05/0.4529, allocations: 85.02 kB / 0.757 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.604e-05/0.453, allocations: 0 / 0.757 GB, free: 5.477 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001245/0.4531, allocations: 8.234 kB / 0.757 GB, free: 5.469 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.661e-05/0.4532, allocations: 11.98 kB / 0.757 GB, free: 5.457 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.232e-05/0.4532, allocations: 27.95 kB / 0.757 GB, free: 5.43 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.629e-05/0.4533, allocations: 91.88 kB / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of sort global known variables: time 6.51e-07/0.4533, allocations: 3.938 kB / 0.7571 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003186/0.4537, allocations: 16 kB / 0.7571 GB, free: 5.32 MB / 0.6355 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) * 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.0006707/0.4543, allocations: 0.7482 MB / 0.7579 GB, free: 4.543 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002392/0.4546, allocations: 87.97 kB / 0.758 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.444e-06/0.4546, allocations: 0 / 0.758 GB, free: 4.457 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001118/0.4547, allocations: 43.92 kB / 0.758 GB, free: 4.414 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005608/0.4553, allocations: 59.62 kB / 0.7581 GB, free: 4.359 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005974/0.4559, allocations: 173.9 kB / 0.7582 GB, free: 4.152 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003313/0.4563, allocations: 0.7002 MB / 0.7589 GB, free: 3.426 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.63e-05/0.4564, allocations: 20.42 kB / 0.7589 GB, free: 3.406 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.39e-05/0.4565, allocations: 27.42 kB / 0.7589 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of SimCode: time 8.72e-07/0.4565, allocations: 0 / 0.7589 GB, free: 3.379 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03848/0.495, allocations: 2.129 MB / 0.761 GB, free: 1.277 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002705/0.4953, allocations: 155.9 kB / 0.7612 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.294/2.789, allocations: 0 / 0.7612 GB, free: 1.09 MB / 0.6355 GB