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.Haldi2008BlindsTIn.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.Haldi2008BlindsTIn,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",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.01056/0.01056, allocations: 88.5 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.001192/0.001192, allocations: 174.9 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.134/2.134, allocations: 205.5 MB / 222.2 MB, free: 13.72 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.493/2.493, allocations: 252.9 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004861/0.0004863, allocations: 13.81 kB / 0.6243 GB, free: 28.48 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.233/0.2335, allocations: 106.2 MB / 0.7281 GB, free: 10.17 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn): time 0.002119/0.2357, allocations: 1.199 MB / 0.7292 GB, free: 8.953 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001702/0.2375, allocations: 0.7149 MB / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.077e-05/0.2376, allocations: 0 / 0.7299 GB, free: 8.23 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.328e-05/0.2376, allocations: 7.922 kB / 0.7299 GB, free: 8.223 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 8.283e-05/0.2377, allocations: 19.97 kB / 0.73 GB, free: 8.203 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.000624/0.2383, allocations: 91.64 kB / 0.73 GB, free: 8.113 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001161/0.2385, allocations: 35.95 kB / 0.7301 GB, free: 8.078 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.803e-05/0.2386, allocations: 19.95 kB / 0.7301 GB, free: 8.059 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001074/0.2387, allocations: 27.92 kB / 0.7301 GB, free: 8.031 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 8.05e-05/0.2388, allocations: 27.84 kB / 0.7302 GB, free: 8.004 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.88e-05/0.2388, allocations: 4 kB / 0.7302 GB, free: 8 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002165/0.239, allocations: 67.92 kB / 0.7302 GB, free: 7.934 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 2.463e-05/0.2391, allocations: 15.92 kB / 0.7302 GB, free: 7.918 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 4.8e-05/0.2392, allocations: 37.7 kB / 0.7303 GB, free: 7.875 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002191/0.2394, allocations: 99.98 kB / 0.7304 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.2394, allocations: 0 / 0.7304 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.673e-06/0.2394, allocations: 0 / 0.7304 GB, free: 7.777 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.2394, allocations: 0 / 0.7304 GB, free: 7.777 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.0007027/0.2401, allocations: 430.6 kB / 0.7308 GB, free: 7.297 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.2402, allocations: 12.03 kB / 0.7308 GB, free: 7.285 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.667e-05/0.2402, allocations: 30.56 kB / 0.7308 GB, free: 7.246 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.18e-05/0.2403, allocations: 11.86 kB / 0.7308 GB, free: 7.234 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001404/0.2404, allocations: 182.8 kB / 0.731 GB, free: 7.016 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.07e-05/0.2405, allocations: 8 kB / 0.731 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.177e-05/0.2405, allocations: 0 / 0.731 GB, free: 7.008 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002761/0.2408, allocations: 73.66 kB / 0.7311 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.398e-06/0.2408, allocations: 0 / 0.7311 GB, free: 6.93 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.499e-05/0.2409, allocations: 4 kB / 0.7311 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.2409, allocations: 0 / 0.7311 GB, free: 6.926 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002387/0.2411, allocations: 47.92 kB / 0.7311 GB, free: 6.879 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006514/0.2418, allocations: 300.8 kB / 0.7314 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002009/0.242, allocations: 50.5 kB / 0.7315 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.721e-05/0.242, allocations: 0 / 0.7315 GB, free: 6.477 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002852/0.2423, allocations: 79.5 kB / 0.7315 GB, free: 6.387 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=7): time 2.395e-06/0.2424, allocations: 4 kB / 0.7315 GB, free: 6.383 MB / 0.5573 GB Notification: Performance of matching and sorting (n=7): time 0.0006596/0.243, allocations: 153.5 kB / 0.7317 GB, free: 6.227 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.983e-05/0.2431, allocations: 59.33 kB / 0.7317 GB, free: 6.156 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000125/0.2432, allocations: 117.8 kB / 0.7319 GB, free: 6.031 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.433e-05/0.2433, allocations: 29.7 kB / 0.7319 GB, free: 5.996 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.2434, allocations: 100.2 kB / 0.732 GB, free: 5.895 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.715e-05/0.2434, allocations: 15.84 kB / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.344e-06/0.2434, allocations: 0 / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.2435, allocations: 318.8 kB / 0.7323 GB, free: 5.559 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001425/0.2437, allocations: 23.98 kB / 0.7323 GB, free: 5.535 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001545/0.2439, allocations: 65.14 kB / 0.7324 GB, free: 5.453 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001472/0.244, allocations: 31.92 kB / 0.7324 GB, free: 5.422 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.45e-06/0.244, allocations: 4 kB / 0.7324 GB, free: 5.418 MB / 0.5573 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003926/0.2444, allocations: 121.5 kB / 0.7325 GB, free: 5.293 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.131e-05/0.2445, allocations: 4 kB / 0.7325 GB, free: 5.289 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.947e-06/0.2445, allocations: 3.984 kB / 0.7325 GB, free: 5.285 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.181e-05/0.2445, allocations: 7.953 kB / 0.7326 GB, free: 5.277 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001486/0.2447, allocations: 15.98 kB / 0.7326 GB, free: 5.262 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.167e-06/0.2447, allocations: 4.156 kB / 0.7326 GB, free: 5.258 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001119/0.2448, allocations: 15.91 kB / 0.7326 GB, free: 5.242 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.578e-05/0.2449, allocations: 0 / 0.7326 GB, free: 5.242 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.0001288/0.245, allocations: 125.8 kB / 0.7327 GB, free: 5.109 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.219e-05/0.245, allocations: 4 kB / 0.7327 GB, free: 5.105 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.979e-05/0.2451, allocations: 12.38 kB / 0.7327 GB, free: 5.094 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.643e-06/0.2451, allocations: 3.953 kB / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.2451, allocations: 0 / 0.7327 GB, free: 5.09 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.2451, allocations: 4 kB / 0.7327 GB, free: 5.086 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007507/0.2459, allocations: 390.3 kB / 0.7331 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.891e-06/0.2459, allocations: 0 / 0.7331 GB, free: 4.648 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.939e-05/0.246, allocations: 11.92 kB / 0.7331 GB, free: 4.637 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.153e-06/0.246, allocations: 3.953 kB / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.547e-05/0.246, allocations: 0 / 0.7331 GB, free: 4.633 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.485e-06/0.246, allocations: 4 kB / 0.7331 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.2461, allocations: 0 / 0.7331 GB, free: 4.629 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004748/0.2465, allocations: 215.4 kB / 0.7333 GB, free: 4.402 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 6.26e-05/0.2466, allocations: 77.11 kB / 0.7334 GB, free: 4.309 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.811e-05/0.2467, allocations: 7.953 kB / 0.7334 GB, free: 4.301 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001377/0.2468, allocations: 8 kB / 0.7334 GB, free: 4.293 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.684e-05/0.2469, allocations: 7.984 kB / 0.7334 GB, free: 4.285 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.005e-05/0.2469, allocations: 7.938 kB / 0.7334 GB, free: 4.277 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 7.503e-05/0.247, allocations: 95.2 kB / 0.7335 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.7e-07/0.247, allocations: 0 / 0.7335 GB, free: 4.184 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.000436/0.2474, allocations: 39.98 kB / 0.7336 GB, free: 4.145 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.001214/0.2487, allocations: 0.806 MB / 0.7343 GB, free: 3.328 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.000387/0.2491, allocations: 75.89 kB / 0.7344 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.417e-06/0.2491, allocations: 0 / 0.7344 GB, free: 3.254 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0001791/0.2493, allocations: 39.92 kB / 0.7345 GB, free: 3.215 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002721/0.2496, allocations: 20.19 kB / 0.7345 GB, free: 3.195 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001289/0.2509, allocations: 1.197 MB / 0.7356 GB, free: 1.926 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003592/0.2513, allocations: 0.6966 MB / 0.7363 GB, free: 1.203 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 6.953e-05/0.2514, allocations: 8.172 kB / 0.7363 GB, free: 1.195 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.754e-05/0.2514, allocations: 19.44 kB / 0.7364 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of SimCode: time 1.272e-06/0.2514, allocations: 0 / 0.7364 GB, free: 1.18 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02824/0.2797, allocations: 2.304 MB / 0.7386 GB, free: 14.98 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003252/0.2801, allocations: 241.8 kB / 0.7388 GB, free: 14.75 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.658/2.938, allocations: 0 / 0.7388 GB, free: 14.75 MB / 0.573 GB