Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut.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.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",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.01034/0.01034, allocations: 91.03 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.001264/0.001264, allocations: 177.2 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 2.054/2.054, 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.597/2.597, allocations: 252.8 MB / 0.511 GB, free: 8.32 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0007543/0.0007541, allocations: 15.75 kB / 0.6243 GB, free: 28.45 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2279/0.2287, allocations: 106.2 MB / 0.7281 GB, free: 10.15 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTOut): time 0.002315/0.2311, allocations: 1.195 MB / 0.7292 GB, free: 8.938 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2329, allocations: 0.711 MB / 0.7299 GB, free: 8.219 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.258e-05/0.233, allocations: 8 kB / 0.7299 GB, free: 8.211 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.196e-05/0.2331, allocations: 3.938 kB / 0.7299 GB, free: 8.207 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.488e-05/0.2332, allocations: 15.95 kB / 0.73 GB, free: 8.191 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0006833/0.2339, allocations: 91.7 kB / 0.73 GB, free: 8.102 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001214/0.234, allocations: 39.89 kB / 0.7301 GB, free: 8.062 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.813e-05/0.2341, allocations: 19.95 kB / 0.7301 GB, free: 8.043 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001232/0.2343, allocations: 27.92 kB / 0.7301 GB, free: 8.016 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.575e-05/0.2344, allocations: 31.84 kB / 0.7302 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.657e-05/0.2344, allocations: 0 / 0.7302 GB, free: 7.984 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002357/0.2346, allocations: 67.88 kB / 0.7302 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.101e-05/0.2347, allocations: 11.98 kB / 0.7302 GB, free: 7.906 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 6.047e-05/0.2347, allocations: 37.64 kB / 0.7303 GB, free: 7.863 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002556/0.235, allocations: 108 kB / 0.7304 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.695e-06/0.235, allocations: 0 / 0.7304 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of FrontEnd: time 2.414e-06/0.235, allocations: 0 / 0.7304 GB, free: 7.758 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 5.229e-06/0.2351, allocations: 0 / 0.7304 GB, free: 7.758 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0007748/0.2358, allocations: 430.6 kB / 0.7308 GB, free: 7.277 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.892e-05/0.2359, allocations: 8.031 kB / 0.7308 GB, free: 7.27 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.157e-05/0.236, allocations: 34.56 kB / 0.7308 GB, free: 7.227 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.015e-05/0.236, allocations: 7.859 kB / 0.7308 GB, free: 7.219 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001599/0.2362, allocations: 170.9 kB / 0.731 GB, free: 7.012 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.932e-05/0.2362, allocations: 11.98 kB / 0.731 GB, free: 7 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.577e-05/0.2363, allocations: 4 kB / 0.731 GB, free: 6.996 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002938/0.2366, allocations: 77.59 kB / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.14e-05/0.2366, allocations: 0 / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.2366, allocations: 0 / 0.7311 GB, free: 6.914 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.328e-06/0.2367, allocations: 4 kB / 0.7311 GB, free: 6.91 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002405/0.2369, allocations: 43.92 kB / 0.7311 GB, free: 6.867 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006915/0.2376, allocations: 292.9 kB / 0.7314 GB, free: 6.531 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000218/0.2378, allocations: 58.48 kB / 0.7315 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.639e-05/0.2379, allocations: 0 / 0.7315 GB, free: 6.465 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002927/0.2382, allocations: 83.5 kB / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 4.979e-06/0.2382, allocations: 0 / 0.7315 GB, free: 6.371 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006604/0.2389, allocations: 153.5 kB / 0.7317 GB, free: 6.215 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.824e-05/0.239, allocations: 59.34 kB / 0.7317 GB, free: 6.145 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001285/0.2391, allocations: 121.8 kB / 0.7319 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.827e-05/0.2391, allocations: 33.7 kB / 0.7319 GB, free: 5.977 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 7.24e-05/0.2392, allocations: 88.23 kB / 0.732 GB, free: 5.887 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 3.179e-05/0.2393, allocations: 19.83 kB / 0.732 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.214e-06/0.2393, allocations: 0 / 0.732 GB, free: 5.867 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.000152/0.2394, allocations: 318.8 kB / 0.7323 GB, free: 5.547 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001246/0.2396, allocations: 23.98 kB / 0.7323 GB, free: 5.523 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001637/0.2397, allocations: 65.12 kB / 0.7324 GB, free: 5.441 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000151/0.2399, allocations: 35.98 kB / 0.7324 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.286e-06/0.2399, allocations: 0 / 0.7324 GB, free: 5.406 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004107/0.2403, allocations: 117.4 kB / 0.7325 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.086e-05/0.2404, allocations: 4 kB / 0.7325 GB, free: 5.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.2404, allocations: 4 kB / 0.7325 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.446e-05/0.2404, allocations: 4.109 kB / 0.7325 GB, free: 5.273 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001583/0.2406, allocations: 23.88 kB / 0.7326 GB, free: 5.25 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.202e-05/0.2406, allocations: 7.984 kB / 0.7326 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.2407, allocations: 11.95 kB / 0.7326 GB, free: 5.23 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.249e-05/0.2408, allocations: 7.984 kB / 0.7326 GB, free: 5.223 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.blindState,bli.blindState,$PRE.bli.pDown,bli.pDown,occ.y,$whenCondition1,bli.sampleTrigger) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001467/0.2409, allocations: 117.8 kB / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.464e-05/0.241, allocations: 4 kB / 0.7327 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.207e-05/0.241, allocations: 16.36 kB / 0.7327 GB, free: 5.078 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.853e-06/0.241, allocations: 7.953 kB / 0.7327 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.2411, allocations: 0 / 0.7327 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.478e-06/0.2411, allocations: 0 / 0.7327 GB, free: 5.07 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008122/0.2419, allocations: 382.4 kB / 0.7331 GB, free: 4.641 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.908e-06/0.2419, allocations: 3.938 kB / 0.7331 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.195e-05/0.242, allocations: 8 kB / 0.7331 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.678e-06/0.242, allocations: 3.953 kB / 0.7331 GB, free: 4.625 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.879e-05/0.242, allocations: 11.92 kB / 0.7331 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.916e-06/0.2421, allocations: 0 / 0.7331 GB, free: 4.613 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.478e-06/0.2421, allocations: 4 kB / 0.7331 GB, free: 4.609 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004761/0.2426, allocations: 207.4 kB / 0.7333 GB, free: 4.391 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.301e-05/0.2426, allocations: 89.09 kB / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.907e-05/0.2427, allocations: 3.953 kB / 0.7334 GB, free: 4.281 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001444/0.2428, allocations: 4 kB / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.709e-05/0.2429, allocations: 7.984 kB / 0.7334 GB, free: 4.27 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.626e-05/0.2429, allocations: 4 kB / 0.7334 GB, free: 4.266 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.921e-05/0.243, allocations: 95.27 kB / 0.7335 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4.61e-07/0.243, allocations: 0 / 0.7335 GB, free: 4.172 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004484/0.2435, allocations: 36 kB / 0.7336 GB, free: 4.137 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.001193/0.2447, allocations: 0.817 MB / 0.7344 GB, free: 3.312 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0003874/0.2451, allocations: 79.88 kB / 0.7344 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 2.786e-06/0.2451, allocations: 0 / 0.7344 GB, free: 3.234 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001801/0.2453, allocations: 36.23 kB / 0.7345 GB, free: 3.199 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002972/0.2456, allocations: 19.89 kB / 0.7345 GB, free: 3.18 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001419/0.2471, allocations: 1.2 MB / 0.7357 GB, free: 1.91 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000383/0.2475, allocations: 0.6926 MB / 0.7363 GB, free: 1.191 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 7.981e-05/0.2476, allocations: 12.25 kB / 0.7363 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.651e-05/0.2477, allocations: 15.44 kB / 0.7364 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of SimCode: time 1.102e-06/0.2477, allocations: 0 / 0.7364 GB, free: 1.168 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02638/0.2741, allocations: 2.303 MB / 0.7386 GB, free: 14.97 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003559/0.2745, allocations: 247.9 kB / 0.7388 GB, free: 14.73 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.597/2.871, allocations: 0 / 0.7388 GB, free: 14.73 MB / 0.573 GB