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.Discrete.Examples.DayType.conf.json Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Running command: "" <> buildModelFMU(Buildings.Controls.OBC.CDL.Discrete.Examples.DayType,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_OBC_CDL_Discrete_Examples_DayType",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.01601/0.01602, allocations: 106.6 kB / 15.05 MB, free: 5.973 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo): time 0.001134/0.001134, allocations: 184.2 kB / 15.94 MB, free: 5.934 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo): time 1.986/1.986, allocations: 194.6 MB / 211.3 MB, free: 11.06 MB / 170.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo): time 2.324/2.324, allocations: 236.1 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004638/0.0004639, allocations: 8 kB / 0.587 GB, free: 2.047 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6574/0.6579, allocations: 98.72 MB / 0.6834 GB, free: 16.84 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2471/0.9051, allocations: 124.5 MB / 0.805 GB, free: 1.75 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002659/0.9054, allocations: 63.97 kB / 0.8051 GB, free: 1.688 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.1238/1.029, allocations: 22.31 MB / 0.8269 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.998e-06/1.029, allocations: 0 / 0.8269 GB, free: 11.34 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.575e-05/1.029, allocations: 11.88 kB / 0.8269 GB, free: 11.33 MB / 0.6511 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001922/1.031, allocations: 0.6511 MB / 0.8275 GB, free: 10.6 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.261e-05/1.031, allocations: 8.031 kB / 0.8275 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001001/1.031, allocations: 46.55 kB / 0.8276 GB, free: 10.54 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001231/1.032, allocations: 35.58 kB / 0.8276 GB, free: 10.5 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000599/1.032, allocations: 245.8 kB / 0.8278 GB, free: 10.23 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.288e-05/1.032, allocations: 12.28 kB / 0.8279 GB, free: 10.21 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.155e-05/1.032, allocations: 19.98 kB / 0.8279 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001318/1.034, allocations: 450.8 kB / 0.8283 GB, free: 9.738 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.39e-05/1.034, allocations: 3.938 kB / 0.8283 GB, free: 9.734 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.029e-05/1.034, allocations: 11.94 kB / 0.8283 GB, free: 9.723 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.405e-05/1.034, allocations: 4 kB / 0.8283 GB, free: 9.719 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009692/1.035, allocations: 323.7 kB / 0.8286 GB, free: 9.402 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/1.036, allocations: 0.5589 MB / 0.8292 GB, free: 8.785 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002977/1.039, allocations: 1.031 MB / 0.8302 GB, free: 7.719 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.702e-05/1.039, allocations: 4.031 kB / 0.8302 GB, free: 7.715 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001354/1.041, allocations: 482.8 kB / 0.8306 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 4.399e-06/1.041, allocations: 4 kB / 0.8306 GB, free: 7.215 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.003586/1.044, allocations: 1.103 MB / 0.8317 GB, free: 6.105 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001372/1.045, allocations: 140.5 kB / 0.8319 GB, free: 5.938 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005086/1.045, allocations: 228 kB / 0.8321 GB, free: 5.703 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.563e-05/1.045, allocations: 37.7 kB / 0.8321 GB, free: 5.66 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.000143/1.045, allocations: 121.1 kB / 0.8322 GB, free: 5.539 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001736/1.046, allocations: 79.06 kB / 0.8323 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.12e-05/1.046, allocations: 8 kB / 0.8323 GB, free: 5.453 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0002101/1.046, allocations: 346.8 kB / 0.8326 GB, free: 5.105 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009835/1.047, allocations: 336.6 kB / 0.833 GB, free: 4.777 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00112/1.048, allocations: 418.5 kB / 0.8334 GB, free: 4.336 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001116/1.049, allocations: 360.7 kB / 0.8337 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-05/1.049, allocations: 0 / 0.8337 GB, free: 3.984 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002819/1.052, allocations: 0.8383 MB / 0.8345 GB, free: 3.141 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 4.137e-05/1.052, allocations: 4 kB / 0.8345 GB, free: 3.137 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.791e-05/1.052, allocations: 4 kB / 0.8345 GB, free: 3.133 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.748e-05/1.052, allocations: 4 kB / 0.8345 GB, free: 3.129 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003837/1.053, allocations: 39.91 kB / 0.8346 GB, free: 3.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.908e-05/1.053, allocations: 4 kB / 0.8346 GB, free: 3.086 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005821/1.053, allocations: 19.98 kB / 0.8346 GB, free: 3.066 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005738/1.054, allocations: 212.2 kB / 0.8348 GB, free: 2.859 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 45 ($PRE.dayTypMonThr.skipIDayIncrement,dayTypMonThr.skipIDayIncrement,$whenCondition4,dayTypMonThr.sampleTrigger,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],$PRE.dayTypMonThr.iDay,dayTypMonThr.iDay,$PRE.dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.skipIDayIncrement,$whenCondition3,dayTypTwoWeeks.sampleTrigger,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],$PRE.dayTypTwoWeeks.iDay,dayTypTwoWeeks.iDay,$PRE.dayTypSat.skipIDayIncrement,dayTypSat.skipIDayIncrement,$whenCondition2,dayTypSat.sampleTrigger,dayTypSat.y[1],dayTypSat.y[2],$PRE.dayTypSat.iDay,dayTypSat.iDay,$PRE.dayTypMon.skipIDayIncrement,dayTypMon.skipIDayIncrement,$whenCondition1,dayTypMon.sampleTrigger,dayTypMon.y[1],dayTypMon.y[2],$PRE.dayTypMon.iDay,dayTypMon.iDay) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (49): * Single equations (assignments): 49 * 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.0004682/1.054, allocations: 201.9 kB / 0.835 GB, free: 2.652 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001283/1.054, allocations: 27.62 kB / 0.835 GB, free: 2.625 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001649/1.055, allocations: 38.17 kB / 0.8351 GB, free: 2.582 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.415e-05/1.055, allocations: 4 kB / 0.8351 GB, free: 2.578 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.475e-05/1.055, allocations: 7.938 kB / 0.8351 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.082e-05/1.055, allocations: 0 / 0.8351 GB, free: 2.57 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004708/1.059, allocations: 1.705 MB / 0.8367 GB, free: 0.8086 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.185e-05/1.06, allocations: 4 kB / 0.8367 GB, free: 0.8047 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001101/1.06, allocations: 15.97 kB / 0.8368 GB, free: 0.7891 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.74e-05/1.06, allocations: 4 kB / 0.8368 GB, free: 0.7852 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-05/1.06, allocations: 23.97 kB / 0.8368 GB, free: 0.7617 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.065e-05/1.06, allocations: 3.938 kB / 0.8368 GB, free: 0.7578 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.027e-06/1.06, allocations: 11.95 kB / 0.8368 GB, free: 0.7461 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002681/1.062, allocations: 1.15 MB / 0.8379 GB, free: 15.56 MB / 0.6667 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001396/1.063, allocations: 104.7 kB / 0.838 GB, free: 15.44 MB / 0.6667 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001204/1.063, allocations: 11.98 kB / 0.838 GB, free: 15.43 MB / 0.6667 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006047/1.063, allocations: 8 kB / 0.838 GB, free: 15.42 MB / 0.6667 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002065/1.064, allocations: 51.88 kB / 0.8381 GB, free: 15.37 MB / 0.6667 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005731/1.064, allocations: 219.5 kB / 0.8383 GB, free: 15.15 MB / 0.6667 GB Notification: Performance of sorting global known variables: time 0.0003637/1.065, allocations: 172.5 kB / 0.8385 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of sort global known variables: time 7.21e-07/1.065, allocations: 0 / 0.8385 GB, free: 14.98 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001196/1.066, allocations: 68 kB / 0.8385 GB, free: 14.91 MB / 0.6667 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 37 (dayTypMon.sampleTrigger,$whenCondition1,dayTypMon.y[1],dayTypMon.y[2],dayTypMon.iDay,dayTypMon.skipIDayIncrement,dayTypSat.sampleTrigger,$whenCondition2,dayTypSat.y[1],dayTypSat.y[2],dayTypSat.iDay,dayTypSat.skipIDayIncrement,dayTypTwoWeeks.sampleTrigger,$whenCondition3,dayTypTwoWeeks.y[1],dayTypTwoWeeks.y[2],dayTypTwoWeeks.y[3],dayTypTwoWeeks.y[4],dayTypTwoWeeks.y[5],dayTypTwoWeeks.y[6],dayTypTwoWeeks.y[7],dayTypTwoWeeks.y[8],dayTypTwoWeeks.y[9],dayTypTwoWeeks.y[10],dayTypTwoWeeks.y[11],dayTypTwoWeeks.y[12],dayTypTwoWeeks.y[13],dayTypTwoWeeks.y[14],dayTypTwoWeeks.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypMonThr.sampleTrigger,$whenCondition4,dayTypMonThr.y[1],dayTypMonThr.y[2],dayTypMonThr.y[3],dayTypMonThr.iDay,dayTypMonThr.skipIDayIncrement) * Number of discrete states: 8 (dayTypMonThr.skipIDayIncrement,dayTypMonThr.iDay,dayTypTwoWeeks.skipIDayIncrement,dayTypTwoWeeks.iDay,dayTypSat.skipIDayIncrement,dayTypSat.iDay,dayTypMon.skipIDayIncrement,dayTypMon.iDay) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.00349/1.069, allocations: 1.94 MB / 0.8404 GB, free: 12.94 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002398/1.072, allocations: 0.7377 MB / 0.8411 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 7.434e-06/1.072, allocations: 4.25 kB / 0.8411 GB, free: 12.2 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001332/1.073, allocations: 411.8 kB / 0.8415 GB, free: 11.79 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003806/1.077, allocations: 365.2 kB / 0.8419 GB, free: 11.45 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005176/1.082, allocations: 2.971 MB / 0.8448 GB, free: 8.367 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006555/1.083, allocations: 0.7686 MB / 0.8455 GB, free: 7.574 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0008005/1.084, allocations: 99.19 kB / 0.8456 GB, free: 7.477 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/1.084, allocations: 115.4 kB / 0.8457 GB, free: 7.363 MB / 0.6667 GB Notification: Performance of SimCode: time 1.162e-06/1.084, allocations: 3.938 kB / 0.8457 GB, free: 7.359 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04525/1.13, allocations: 10.54 MB / 0.856 GB, free: 13.04 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003188/1.13, allocations: 192.1 kB / 0.8562 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.637/3.767, allocations: 0 / 0.8562 GB, free: 12.79 MB / 0.6823 GB