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: "" <> buildModelFMU(Buildings.Controls.Sources.Examples.DayType,fileNamePrefix="Buildings_6_0_0_Buildings_Controls_Sources_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.01103/0.01103, allocations: 108.1 kB / 15.05 MB, free: 5.934 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.00111/0.00111, allocations: 183.3 kB / 15.94 MB, free: 5.898 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.88/1.88, allocations: 194.6 MB / 211.3 MB, free: 11.07 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.173/2.173, allocations: 236.1 MB / 492.6 MB, free: 11.42 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000695/0.0006951, allocations: 8 kB / 0.587 GB, free: 2.105 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6522/0.6529, allocations: 98.71 MB / 0.6834 GB, free: 16.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2372/0.8902, allocations: 125.2 MB / 0.8057 GB, free: 0.9922 MB / 0.6199 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002777/0.8905, allocations: 75.95 kB / 0.8057 GB, free: 0.918 MB / 0.6199 GB Notification: Performance of FrontEnd - DAE generated: time 0.09532/0.9859, allocations: 18.87 MB / 0.8242 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of FrontEnd: time 2.154e-06/0.9859, allocations: 0 / 0.8242 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 3.197e-05/0.986, allocations: 7.938 kB / 0.8242 GB, free: 14.01 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.001903/0.9879, allocations: 0.6355 MB / 0.8248 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.393e-05/0.988, allocations: 8.031 kB / 0.8248 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000112/0.9881, allocations: 46.55 kB / 0.8249 GB, free: 13.23 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001387/0.9882, allocations: 39.56 kB / 0.8249 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006312/0.9889, allocations: 241.8 kB / 0.8251 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.383e-05/0.989, allocations: 16.27 kB / 0.8251 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.636e-05/0.9891, allocations: 20 kB / 0.8252 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001343/0.9905, allocations: 454.7 kB / 0.8256 GB, free: 12.43 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.625e-05/0.9905, allocations: 4 kB / 0.8256 GB, free: 12.42 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.676e-05/0.9906, allocations: 11.97 kB / 0.8256 GB, free: 12.41 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.297e-05/0.9906, allocations: 7.938 kB / 0.8256 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009654/0.9916, allocations: 323.7 kB / 0.8259 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001371/0.993, allocations: 0.5586 MB / 0.8265 GB, free: 11.47 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002745/0.9957, allocations: 1.02 MB / 0.8275 GB, free: 10.41 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 6.419e-05/0.9959, allocations: 12.02 kB / 0.8275 GB, free: 10.4 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00128/0.9971, allocations: 474.8 kB / 0.8279 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=37): time 3.857e-06/0.9972, allocations: 0 / 0.8279 GB, free: 9.914 MB / 0.6511 GB Notification: Performance of matching and sorting (n=37): time 0.003446/1.001, allocations: 1.104 MB / 0.829 GB, free: 8.805 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001316/1.001, allocations: 152.4 kB / 0.8292 GB, free: 8.625 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004998/1.001, allocations: 231.9 kB / 0.8294 GB, free: 8.387 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 9.349e-05/1.001, allocations: 33.7 kB / 0.8294 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001411/1.002, allocations: 129.1 kB / 0.8295 GB, free: 8.219 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001631/1.002, allocations: 79.06 kB / 0.8296 GB, free: 8.141 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.838e-05/1.002, allocations: 4 kB / 0.8296 GB, free: 8.137 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000209/1.002, allocations: 342.8 kB / 0.8299 GB, free: 7.793 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00097/1.003, allocations: 332.7 kB / 0.8303 GB, free: 7.469 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001069/1.004, allocations: 414.5 kB / 0.8306 GB, free: 7.031 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001125/1.005, allocations: 363.8 kB / 0.831 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.446e-06/1.005, allocations: 0 / 0.831 GB, free: 6.676 MB / 0.6511 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002546/1.008, allocations: 0.8346 MB / 0.8318 GB, free: 5.836 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 3.247e-05/1.008, allocations: 11.94 kB / 0.8318 GB, free: 5.824 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.548e-05/1.008, allocations: 4 kB / 0.8318 GB, free: 5.82 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.829e-05/1.008, allocations: 4 kB / 0.8318 GB, free: 5.816 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003647/1.008, allocations: 43.84 kB / 0.8319 GB, free: 5.773 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.073e-05/1.008, allocations: 7.984 kB / 0.8319 GB, free: 5.766 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005557/1.009, allocations: 16.06 kB / 0.8319 GB, free: 5.75 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0005536/1.01, allocations: 208.1 kB / 0.8321 GB, free: 5.547 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.000434/1.01, allocations: 193.7 kB / 0.8323 GB, free: 5.348 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001135/1.01, allocations: 27.62 kB / 0.8323 GB, free: 5.32 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000144/1.01, allocations: 38.17 kB / 0.8323 GB, free: 5.277 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.097e-05/1.01, allocations: 4 kB / 0.8323 GB, free: 5.273 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.3e-05/1.01, allocations: 4 kB / 0.8323 GB, free: 5.27 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.382e-05/1.01, allocations: 3.984 kB / 0.8323 GB, free: 5.266 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004368/1.015, allocations: 1.707 MB / 0.834 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.454e-06/1.015, allocations: 0 / 0.834 GB, free: 3.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001051/1.015, allocations: 23.92 kB / 0.834 GB, free: 3.477 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.291e-05/1.015, allocations: 4 kB / 0.834 GB, free: 3.473 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.281e-05/1.015, allocations: 19.97 kB / 0.8341 GB, free: 3.453 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.484e-06/1.015, allocations: 4 kB / 0.8341 GB, free: 3.449 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.526e-06/1.015, allocations: 7.953 kB / 0.8341 GB, free: 3.441 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002565/1.018, allocations: 1.15 MB / 0.8352 GB, free: 2.254 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001439/1.018, allocations: 108.7 kB / 0.8353 GB, free: 2.129 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001219/1.018, allocations: 12 kB / 0.8353 GB, free: 2.117 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006318/1.019, allocations: 4 kB / 0.8353 GB, free: 2.113 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000209/1.019, allocations: 55.92 kB / 0.8354 GB, free: 2.059 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0005812/1.019, allocations: 219.7 kB / 0.8356 GB, free: 1.844 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0003732/1.02, allocations: 176.5 kB / 0.8357 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.01e-07/1.02, allocations: 0 / 0.8357 GB, free: 1.668 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001213/1.021, allocations: 60 kB / 0.8358 GB, free: 1.609 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.003297/1.024, allocations: 1.962 MB / 0.8377 GB, free: 15.61 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.002177/1.027, allocations: 0.7399 MB / 0.8384 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 6.713e-06/1.027, allocations: 0 / 0.8384 GB, free: 14.88 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/1.028, allocations: 403.6 kB / 0.8388 GB, free: 14.48 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002812/1.031, allocations: 319.3 kB / 0.8391 GB, free: 14.18 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003802/1.035, allocations: 2.967 MB / 0.842 GB, free: 11.1 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004561/1.035, allocations: 0.7647 MB / 0.8428 GB, free: 10.31 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.0005554/1.036, allocations: 98.91 kB / 0.8429 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002866/1.036, allocations: 119.4 kB / 0.843 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of SimCode: time 4.048e-06/1.036, allocations: 0 / 0.843 GB, free: 10.1 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05609/1.092, allocations: 10.34 MB / 0.8531 GB, free: 15.97 MB / 0.6824 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004336/1.093, allocations: 170.8 kB / 0.8532 GB, free: 15.73 MB / 0.6824 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.806, allocations: 3.938 kB / 0.8532 GB, free: 15.73 MB / 0.6824 GB