Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Controls.Sources.Examples.DayType.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.Sources.Examples.DayType,fileNamePrefix="Buildings_7_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.3/package.mo): time 0.01023/0.01023, allocations: 89 kB / 15.04 MB, free: 5.582 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.00118/0.00118, allocations: 174 kB / 15.92 MB, free: 5.555 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 1.958/1.958, allocations: 205.5 MB / 222.2 MB, free: 13.7 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.317/2.317, allocations: 252.8 MB / 0.511 GB, free: 8.324 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0006438/0.000644, allocations: 11.41 kB / 0.6243 GB, free: 28.28 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.227/0.2277, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Controls.Sources.Examples.DayType): time 0.001902/0.2296, allocations: 1.126 MB / 0.7292 GB, free: 9.016 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.0007845/0.2304, allocations: 271.9 kB / 0.7294 GB, free: 8.75 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.163e-05/0.2305, allocations: 3.938 kB / 0.7294 GB, free: 8.746 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.0001077/0.2306, allocations: 19.86 kB / 0.7294 GB, free: 8.727 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 7.74e-05/0.2307, allocations: 15.97 kB / 0.7295 GB, free: 8.711 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003908/0.2311, allocations: 83.78 kB / 0.7295 GB, free: 8.629 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0002998/0.2314, allocations: 140.2 kB / 0.7297 GB, free: 8.492 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 5.686e-05/0.2315, allocations: 13.05 kB / 0.7297 GB, free: 8.477 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001095/0.2316, allocations: 75.88 kB / 0.7298 GB, free: 8.402 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0002147/0.2318, allocations: 107.7 kB / 0.7299 GB, free: 8.297 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 5.225e-05/0.2319, allocations: 12 kB / 0.7299 GB, free: 8.285 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 5.255e-05/0.232, allocations: 8 kB / 0.7299 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 0.0001185/0.2321, allocations: 67.8 kB / 0.7299 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 7.287e-05/0.2322, allocations: 65.58 kB / 0.73 GB, free: 8.141 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002671/0.2325, allocations: 175.7 kB / 0.7302 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.615e-06/0.2325, allocations: 0 / 0.7302 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of FrontEnd: time 4.197e-06/0.2325, allocations: 0 / 0.7302 GB, free: 7.969 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 8.235e-06/0.2325, allocations: 3.938 kB / 0.7302 GB, free: 7.965 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: 33 * Number of variables: 33 Notification: Performance of Generate backend data structure: time 0.001343/0.2339, allocations: 0.6241 MB / 0.7308 GB, free: 7.266 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.266e-05/0.2339, allocations: 8.031 kB / 0.7308 GB, free: 7.258 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.694e-05/0.234, allocations: 54.48 kB / 0.7308 GB, free: 7.195 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.119e-05/0.2341, allocations: 31.62 kB / 0.7309 GB, free: 7.164 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004063/0.2345, allocations: 253.7 kB / 0.7311 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.455e-05/0.2345, allocations: 12.28 kB / 0.7311 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.603e-05/0.2346, allocations: 16 kB / 0.7311 GB, free: 6.844 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009096/0.2355, allocations: 459.3 kB / 0.7316 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.207e-05/0.2356, allocations: 0 / 0.7316 GB, free: 6.379 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.629e-05/0.2356, allocations: 8 kB / 0.7316 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.053e-06/0.2356, allocations: 0 / 0.7316 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006885/0.2363, allocations: 331.7 kB / 0.7319 GB, free: 6.047 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000926/0.2373, allocations: 0.5663 MB / 0.7325 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00219/0.2395, allocations: 1.025 MB / 0.7335 GB, free: 4.359 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 3.857e-05/0.2395, allocations: 8.031 kB / 0.7335 GB, free: 4.352 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0009311/0.2405, allocations: 482.8 kB / 0.7339 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=37): time 2.725e-06/0.2405, allocations: 0 / 0.7339 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of matching and sorting (n=37): time 0.002418/0.2429, allocations: 1.106 MB / 0.735 GB, free: 2.742 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001064/0.243, allocations: 144.5 kB / 0.7351 GB, free: 2.57 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003371/0.2434, allocations: 252.8 kB / 0.7354 GB, free: 2.316 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 5.491e-05/0.2434, allocations: 37.7 kB / 0.7354 GB, free: 2.273 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001076/0.2436, allocations: 125.1 kB / 0.7355 GB, free: 2.145 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001103/0.2437, allocations: 83.14 kB / 0.7356 GB, free: 2.062 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.924e-05/0.2437, allocations: 4 kB / 0.7356 GB, free: 2.059 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001608/0.2439, allocations: 350.8 kB / 0.736 GB, free: 1.707 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006732/0.2446, allocations: 332.6 kB / 0.7363 GB, free: 1.383 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007407/0.2453, allocations: 418.5 kB / 0.7367 GB, free: 0.9375 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000763/0.2461, allocations: 364.2 kB / 0.737 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.058e-06/0.2461, allocations: 0 / 0.737 GB, free: 0.582 MB / 0.5573 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.001721/0.2479, allocations: 0.8307 MB / 0.7378 GB, free: 15.74 MB / 0.573 GB Notification: Performance of prepare postOptimizeDAE: time 2.025e-05/0.2479, allocations: 8.125 kB / 0.7378 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.212e-05/0.2479, allocations: 8.062 kB / 0.7378 GB, free: 15.73 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.978e-05/0.2479, allocations: 4 kB / 0.7379 GB, free: 15.72 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002591/0.2482, allocations: 39.91 kB / 0.7379 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.27e-05/0.2482, allocations: 7.938 kB / 0.7379 GB, free: 15.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004317/0.2487, allocations: 31.73 kB / 0.7379 GB, free: 15.64 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004955/0.2492, allocations: 263.4 kB / 0.7382 GB, free: 15.39 MB / 0.573 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.0002934/0.2495, allocations: 197.9 kB / 0.7384 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.957e-05/0.2496, allocations: 31.66 kB / 0.7384 GB, free: 15.15 MB / 0.573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.303e-05/0.2497, allocations: 42.17 kB / 0.7384 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.696e-06/0.2497, allocations: 4 kB / 0.7384 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.556e-05/0.2497, allocations: 4 kB / 0.7384 GB, free: 15.11 MB / 0.573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.465e-05/0.2497, allocations: 3.984 kB / 0.7384 GB, free: 15.1 MB / 0.573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003098/0.2529, allocations: 1.709 MB / 0.7401 GB, free: 13.34 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.062e-06/0.2529, allocations: 8 kB / 0.7401 GB, free: 13.33 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.529e-05/0.253, allocations: 23.91 kB / 0.7401 GB, free: 13.31 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.203e-06/0.253, allocations: 4 kB / 0.7402 GB, free: 13.3 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.822e-05/0.253, allocations: 19.97 kB / 0.7402 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.857e-06/0.2531, allocations: 0 / 0.7402 GB, free: 13.29 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.759e-06/0.2531, allocations: 4 kB / 0.7402 GB, free: 13.28 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001775/0.2548, allocations: 1.154 MB / 0.7413 GB, free: 12.09 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 9.594e-05/0.255, allocations: 108.7 kB / 0.7414 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.006e-05/0.255, allocations: 8 kB / 0.7414 GB, free: 11.96 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004124/0.2555, allocations: 8 kB / 0.7414 GB, free: 11.95 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001642/0.2556, allocations: 51.94 kB / 0.7415 GB, free: 11.9 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000501/0.2562, allocations: 279.5 kB / 0.7417 GB, free: 11.62 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0002266/0.2564, allocations: 172.5 kB / 0.7419 GB, free: 11.46 MB / 0.573 GB Notification: Performance of sort global known variables: time 4e-07/0.2564, allocations: 0 / 0.7419 GB, free: 11.46 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.0007056/0.2571, allocations: 64 kB / 0.742 GB, free: 11.39 MB / 0.573 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.002379/0.2595, allocations: 1.948 MB / 0.7439 GB, free: 9.406 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.001595/0.2611, allocations: 0.7338 MB / 0.7446 GB, free: 8.672 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 2.766e-06/0.2612, allocations: 4.062 kB / 0.7446 GB, free: 8.668 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.0009087/0.2621, allocations: 399.7 kB / 0.745 GB, free: 8.277 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002434/0.2645, allocations: 321.6 kB / 0.7453 GB, free: 7.973 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.268, allocations: 2.982 MB / 0.7482 GB, free: 4.875 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004746/0.2685, allocations: 0.7608 MB / 0.7489 GB, free: 4.086 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.0005385/0.2691, allocations: 98.92 kB / 0.749 GB, free: 3.992 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003066/0.2694, allocations: 115.4 kB / 0.7491 GB, free: 3.883 MB / 0.573 GB Notification: Performance of SimCode: time 1.152e-06/0.2694, allocations: 0 / 0.7491 GB, free: 3.883 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03784/0.3072, allocations: 10.63 MB / 0.7595 GB, free: 9.461 MB / 0.5886 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003139/0.3076, allocations: 187.4 kB / 0.7597 GB, free: 9.211 MB / 0.5886 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.63/2.938, allocations: 0 / 0.7597 GB, free: 9.211 MB / 0.5886 GB