Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Controls.Sources.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: translateModel(Buildings.Controls.Sources.Examples.DayType,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Controls.Sources.Examples.DayType") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo): time 0.009217/0.009217, allocations: 110.2 kB / 15.05 MB, free: 5.98 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.001154/0.001153, allocations: 183.7 kB / 15.94 MB, free: 5.941 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 2.013/2.013, 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.329/2.329, allocations: 236.2 MB / 492.6 MB, free: 11.36 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.0004769, allocations: 15.98 kB / 0.5869 GB, free: 2.164 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6082/0.6087, allocations: 98.71 MB / 0.6833 GB, free: 16.83 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2121/0.8208, allocations: 125.2 MB / 0.8056 GB, free: 1.129 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002158/0.8211, allocations: 75.95 kB / 0.8056 GB, free: 1.055 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 0.07607/0.8972, allocations: 18.88 MB / 0.8241 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of FrontEnd: time 3.228e-06/0.8972, allocations: 0 / 0.8241 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 2.745e-05/0.8973, allocations: 4 kB / 0.8241 GB, free: 14.14 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.001066/0.8983, allocations: 0.6393 MB / 0.8247 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 3.714e-05/0.8984, allocations: 8.031 kB / 0.8247 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.419e-05/0.8985, allocations: 27.67 kB / 0.8247 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003712/0.8989, allocations: 245.8 kB / 0.825 GB, free: 13.12 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.294e-05/0.8989, allocations: 20.27 kB / 0.825 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.773e-05/0.899, allocations: 16 kB / 0.825 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000763/0.8997, allocations: 458.6 kB / 0.8254 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.049e-05/0.8998, allocations: 0 / 0.8254 GB, free: 12.62 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.309e-05/0.8998, allocations: 19.92 kB / 0.8255 GB, free: 12.6 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.433e-06/0.8998, allocations: 4 kB / 0.8255 GB, free: 12.59 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005763/0.9004, allocations: 319.8 kB / 0.8258 GB, free: 12.28 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008504/0.9013, allocations: 0.5624 MB / 0.8263 GB, free: 11.66 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001657/0.903, allocations: 1.032 MB / 0.8273 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.765e-05/0.903, allocations: 7.969 kB / 0.8273 GB, free: 10.59 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0007809/0.9038, allocations: 478.8 kB / 0.8278 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.16e-06/0.9038, allocations: 0 / 0.8278 GB, free: 10.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.002062/0.9059, allocations: 1.109 MB / 0.8289 GB, free: 8.98 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.906, allocations: 140.5 kB / 0.829 GB, free: 8.812 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003218/0.9064, allocations: 231.9 kB / 0.8292 GB, free: 8.574 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 5.098e-05/0.9064, allocations: 37.7 kB / 0.8293 GB, free: 8.531 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001046/0.9065, allocations: 121.1 kB / 0.8294 GB, free: 8.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001038/0.9067, allocations: 75.05 kB / 0.8295 GB, free: 8.336 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.537e-05/0.9067, allocations: 12 kB / 0.8295 GB, free: 8.324 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001857/0.9069, allocations: 346.8 kB / 0.8298 GB, free: 7.977 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000552/0.9075, allocations: 324.7 kB / 0.8301 GB, free: 7.66 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006186/0.9081, allocations: 418.5 kB / 0.8305 GB, free: 7.219 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006664/0.9088, allocations: 359.8 kB / 0.8309 GB, free: 6.867 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.349e-06/0.9088, allocations: 3.984 kB / 0.8309 GB, free: 6.863 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001485/0.9103, allocations: 0.8346 MB / 0.8317 GB, free: 6.023 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.279e-05/0.9103, allocations: 8 kB / 0.8317 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.386e-06/0.9103, allocations: 0 / 0.8317 GB, free: 6.016 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.221e-05/0.9104, allocations: 8 kB / 0.8317 GB, free: 6.008 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.9106, allocations: 35.91 kB / 0.8317 GB, free: 5.973 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.761e-05/0.9106, allocations: 15.86 kB / 0.8317 GB, free: 5.957 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002698/0.9109, allocations: 16 kB / 0.8318 GB, free: 5.941 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003389/0.9112, allocations: 212.2 kB / 0.832 GB, free: 5.734 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.0003029/0.9116, allocations: 193.7 kB / 0.8321 GB, free: 5.535 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.649e-05/0.9116, allocations: 31.62 kB / 0.8322 GB, free: 5.504 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.294e-05/0.9117, allocations: 38.17 kB / 0.8322 GB, free: 5.461 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.007e-06/0.9118, allocations: 4 kB / 0.8322 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.9118, allocations: 0 / 0.8322 GB, free: 5.457 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.023e-05/0.9118, allocations: 7.984 kB / 0.8322 GB, free: 5.449 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002714/0.9145, allocations: 1.699 MB / 0.8339 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.834e-06/0.9146, allocations: 0 / 0.8339 GB, free: 3.691 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.56e-05/0.9146, allocations: 27.91 kB / 0.8339 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.266e-06/0.9146, allocations: 0 / 0.8339 GB, free: 3.664 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.758e-05/0.9147, allocations: 23.97 kB / 0.8339 GB, free: 3.641 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.168e-06/0.9147, allocations: 4 kB / 0.8339 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.274e-06/0.9147, allocations: 0 / 0.8339 GB, free: 3.637 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001544/0.9163, allocations: 1.15 MB / 0.8351 GB, free: 2.449 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 9.327e-05/0.9164, allocations: 108.7 kB / 0.8352 GB, free: 2.324 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.25e-05/0.9165, allocations: 8 kB / 0.8352 GB, free: 2.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000327/0.9168, allocations: 11.94 kB / 0.8352 GB, free: 2.305 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001236/0.917, allocations: 55.78 kB / 0.8352 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0003346/0.9173, allocations: 227.7 kB / 0.8354 GB, free: 2.027 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0002385/0.9175, allocations: 172.5 kB / 0.8356 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.55e-07/0.9176, allocations: 0 / 0.8356 GB, free: 1.855 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006719/0.9182, allocations: 64 kB / 0.8357 GB, free: 1.793 MB / 0.6511 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.0002045/0.9185, allocations: 139.1 kB / 0.8358 GB, free: 1.648 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.001287/0.9198, allocations: 0.734 MB / 0.8365 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/0.9198, allocations: 0 / 0.8365 GB, free: 0.9141 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0007356/0.9205, allocations: 407.8 kB / 0.8369 GB, free: 0.5156 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.9222, allocations: 309.3 kB / 0.8372 GB, free: 232 kB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001879/0.9241, allocations: 1.017 MB / 0.8382 GB, free: 15.17 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005013/0.9246, allocations: 0.7647 MB / 0.8389 GB, free: 14.38 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0004287/0.925, allocations: 98.91 kB / 0.839 GB, free: 14.29 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001652/0.9252, allocations: 71.38 kB / 0.8391 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of SimCode: time 1.762e-06/0.9252, allocations: 4 kB / 0.8391 GB, free: 14.21 MB / 0.6667 GB Notification: Performance of Templates: time 0.01821/0.9434, allocations: 7.83 MB / 0.8468 GB, free: 6.488 MB / 0.6667 GB