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.Zhang2012BlindsSolarIntensity.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.Zhang2012BlindsSolarIntensity,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarIntensity",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.01007/0.01008, allocations: 89.19 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.001416/0.001416, allocations: 175.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.384/2.384, allocations: 205.5 MB / 222.2 MB, free: 13.73 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.703/2.703, allocations: 252.8 MB / 0.511 GB, free: 8.355 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004839/0.0004837, allocations: 15.75 kB / 0.6243 GB, free: 28.33 MB / 0.4949 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2261/0.2267, allocations: 106.2 MB / 0.7281 GB, free: 10.16 MB / 0.5574 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarIntensity): time 0.002361/0.2291, allocations: 1.214 MB / 0.7292 GB, free: 8.934 MB / 0.5574 GB Notification: Performance of NFInst.instExpressions: time 0.002895/0.232, allocations: 0.7344 MB / 0.73 GB, free: 8.191 MB / 0.5574 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001032/0.2322, allocations: 0 / 0.73 GB, free: 8.191 MB / 0.5574 GB Notification: Performance of NFTyping.typeComponents: time 2.566e-05/0.2323, allocations: 0 / 0.73 GB, free: 8.191 MB / 0.5574 GB Notification: Performance of NFTyping.typeBindings: time 0.0001272/0.2324, allocations: 19.89 kB / 0.73 GB, free: 8.172 MB / 0.5574 GB Notification: Performance of NFTyping.typeClassSections: time 0.001042/0.2335, allocations: 99.7 kB / 0.7301 GB, free: 8.074 MB / 0.5574 GB Notification: Performance of NFFlatten.flatten: time 0.0003019/0.2338, allocations: 55.86 kB / 0.7301 GB, free: 8.02 MB / 0.5574 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001722/0.234, allocations: 19.91 kB / 0.7302 GB, free: 8 MB / 0.5574 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002005/0.2343, allocations: 31.91 kB / 0.7302 GB, free: 7.969 MB / 0.5574 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001854/0.2345, allocations: 43.83 kB / 0.7302 GB, free: 7.926 MB / 0.5574 GB Notification: Performance of NFPackage.collectConstants: time 3.93e-05/0.2345, allocations: 4 kB / 0.7302 GB, free: 7.922 MB / 0.5574 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003943/0.235, allocations: 75.88 kB / 0.7303 GB, free: 7.848 MB / 0.5574 GB Notification: Performance of NFScalarize.scalarize: time 6.12e-05/0.235, allocations: 15.91 kB / 0.7303 GB, free: 7.832 MB / 0.5574 GB Notification: Performance of NFVerifyModel.verify: time 8.628e-05/0.2351, allocations: 41.64 kB / 0.7304 GB, free: 7.785 MB / 0.5574 GB Notification: Performance of NFConvertDAE.convert: time 0.0003941/0.2356, allocations: 112 kB / 0.7305 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.2356, allocations: 0 / 0.7305 GB, free: 7.676 MB / 0.5574 GB Notification: Performance of FrontEnd: time 3.297e-06/0.2356, allocations: 4 kB / 0.7305 GB, free: 7.672 MB / 0.5574 GB Notification: Performance of Transformations before backend: time 5.942e-06/0.2356, allocations: 0 / 0.7305 GB, free: 7.672 MB / 0.5574 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.001188/0.2368, allocations: 434.5 kB / 0.7309 GB, free: 7.188 MB / 0.5574 GB Notification: Performance of prepare preOptimizeDAE: time 7.801e-05/0.2369, allocations: 12.03 kB / 0.7309 GB, free: 7.176 MB / 0.5574 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001124/0.2371, allocations: 38.55 kB / 0.7309 GB, free: 7.129 MB / 0.5574 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.617e-05/0.2372, allocations: 15.86 kB / 0.7309 GB, free: 7.113 MB / 0.5574 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002399/0.2374, allocations: 171 kB / 0.7311 GB, free: 6.906 MB / 0.5574 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.046e-05/0.2375, allocations: 7.984 kB / 0.7311 GB, free: 6.898 MB / 0.5574 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.791e-05/0.2376, allocations: 8 kB / 0.7311 GB, free: 6.891 MB / 0.5574 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005825/0.2382, allocations: 89.58 kB / 0.7312 GB, free: 6.797 MB / 0.5574 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.549e-05/0.2382, allocations: 0 / 0.7312 GB, free: 6.797 MB / 0.5574 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.2383, allocations: 7.984 kB / 0.7312 GB, free: 6.789 MB / 0.5574 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.097e-06/0.2383, allocations: 0 / 0.7312 GB, free: 6.789 MB / 0.5574 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004903/0.2388, allocations: 55.92 kB / 0.7313 GB, free: 6.734 MB / 0.5574 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001075/0.2399, allocations: 328.6 kB / 0.7316 GB, free: 6.363 MB / 0.5574 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004106/0.2404, allocations: 66.55 kB / 0.7316 GB, free: 6.289 MB / 0.5574 GB Notification: Performance of preOpt evalFunc (simulation): time 4.079e-05/0.2404, allocations: 3.938 kB / 0.7316 GB, free: 6.285 MB / 0.5574 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000622/0.2411, allocations: 95.36 kB / 0.7317 GB, free: 6.18 MB / 0.5574 GB Notification: Performance of pre-optimization done (n=9): time 4.799e-06/0.2411, allocations: 4 kB / 0.7317 GB, free: 6.176 MB / 0.5574 GB Notification: Performance of matching and sorting (n=9): time 0.001302/0.2424, allocations: 209.4 kB / 0.7319 GB, free: 5.965 MB / 0.5574 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.845e-05/0.2426, allocations: 55.34 kB / 0.732 GB, free: 5.898 MB / 0.5574 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000204/0.2428, allocations: 125.8 kB / 0.7321 GB, free: 5.766 MB / 0.5574 GB Notification: Performance of collectPreVariables (initialization): time 3.368e-05/0.2429, allocations: 29.7 kB / 0.7321 GB, free: 5.73 MB / 0.5574 GB Notification: Performance of collectInitialEqns (initialization): time 9.867e-05/0.243, allocations: 100.3 kB / 0.7322 GB, free: 5.629 MB / 0.5574 GB Notification: Performance of collectInitialBindings (initialization): time 5.808e-05/0.2431, allocations: 19.8 kB / 0.7323 GB, free: 5.609 MB / 0.5574 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.054e-05/0.2431, allocations: 0 / 0.7323 GB, free: 5.609 MB / 0.5574 GB Notification: Performance of setup shared object (initialization): time 0.0001896/0.2433, allocations: 314.8 kB / 0.7326 GB, free: 5.293 MB / 0.5574 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.2435, allocations: 39.91 kB / 0.7326 GB, free: 5.254 MB / 0.5574 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002726/0.2438, allocations: 70 kB / 0.7327 GB, free: 5.164 MB / 0.5574 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002426/0.2441, allocations: 39.98 kB / 0.7327 GB, free: 5.125 MB / 0.5574 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.2441, allocations: 4 kB / 0.7327 GB, free: 5.121 MB / 0.5574 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0007434/0.2448, allocations: 141.4 kB / 0.7328 GB, free: 4.977 MB / 0.5574 GB Notification: Performance of prepare postOptimizeDAE: time 3.068e-05/0.2449, allocations: 4 kB / 0.7328 GB, free: 4.973 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.371e-05/0.2449, allocations: 4 kB / 0.7328 GB, free: 4.969 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.566e-05/0.245, allocations: 3.953 kB / 0.7329 GB, free: 4.965 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.2453, allocations: 24.14 kB / 0.7329 GB, free: 4.941 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.498e-05/0.2453, allocations: 3.938 kB / 0.7329 GB, free: 4.938 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000203/0.2455, allocations: 15.91 kB / 0.7329 GB, free: 4.922 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.949e-05/0.2456, allocations: 4 kB / 0.7329 GB, free: 4.918 MB / 0.5574 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 13 ($PRE.bli.curSeed,bli.curSeed,$PRE.bli.pDown,bli.pDown,$PRE.bli.pUp,bli.pUp,$PRE.bli.blindState,bli.blindState,$PRE.bli.isOpen,bli.isOpen,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 (15): * Single equations (assignments): 15 * 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.0002124/0.2458, allocations: 121.8 kB / 0.733 GB, free: 4.789 MB / 0.5574 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.509e-05/0.2459, allocations: 11.91 kB / 0.733 GB, free: 4.777 MB / 0.5574 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.755e-05/0.246, allocations: 4.375 kB / 0.733 GB, free: 4.773 MB / 0.5574 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.201e-06/0.246, allocations: 4 kB / 0.733 GB, free: 4.77 MB / 0.5574 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.379e-05/0.246, allocations: 3.953 kB / 0.733 GB, free: 4.766 MB / 0.5574 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.05e-05/0.2461, allocations: 4 kB / 0.733 GB, free: 4.762 MB / 0.5574 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001359/0.2474, allocations: 438.5 kB / 0.7335 GB, free: 4.277 MB / 0.5574 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.042e-06/0.2475, allocations: 0 / 0.7335 GB, free: 4.277 MB / 0.5574 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001182/0.2476, allocations: 15.92 kB / 0.7335 GB, free: 4.262 MB / 0.5574 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.866e-06/0.2477, allocations: 4 kB / 0.7335 GB, free: 4.258 MB / 0.5574 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.705e-05/0.2477, allocations: 4.422 kB / 0.7335 GB, free: 4.254 MB / 0.5574 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.238e-06/0.2477, allocations: 4 kB / 0.7335 GB, free: 4.25 MB / 0.5574 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.342e-05/0.2478, allocations: 3.984 kB / 0.7335 GB, free: 4.246 MB / 0.5574 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009272/0.2487, allocations: 255.2 kB / 0.7337 GB, free: 3.98 MB / 0.5574 GB Notification: Performance of postOpt removeConstants (simulation): time 8.119e-05/0.2488, allocations: 89.02 kB / 0.7338 GB, free: 3.875 MB / 0.5574 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.688e-05/0.2489, allocations: 3.984 kB / 0.7338 GB, free: 3.871 MB / 0.5574 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002552/0.2492, allocations: 7.953 kB / 0.7338 GB, free: 3.863 MB / 0.5574 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.628e-05/0.2493, allocations: 11.98 kB / 0.7338 GB, free: 3.852 MB / 0.5574 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.172e-05/0.2493, allocations: 4 kB / 0.7338 GB, free: 3.848 MB / 0.5574 GB Notification: Performance of sorting global known variables: time 0.0001238/0.2495, allocations: 95.27 kB / 0.7339 GB, free: 3.754 MB / 0.5574 GB Notification: Performance of sort global known variables: time 6.51e-07/0.2495, allocations: 0 / 0.7339 GB, free: 3.754 MB / 0.5574 GB Notification: Performance of remove unused functions: time 0.0007131/0.2502, allocations: 39.98 kB / 0.734 GB, free: 3.715 MB / 0.5574 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 (bli.sampleTrigger,$whenCondition1,occ.y,bli.blindState,bli.pUp,bli.pDown,bli.isOpen,bli.curSeed) * Number of discrete states: 1 (bli.isOpen) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * 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.001848/0.2521, allocations: 0.863 MB / 0.7348 GB, free: 2.844 MB / 0.5574 GB Notification: Performance of simCode: created initialization part: time 0.0007603/0.2529, allocations: 91.83 kB / 0.7349 GB, free: 2.754 MB / 0.5574 GB Notification: Performance of simCode: created event and clocks part: time 5.49e-06/0.253, allocations: 0 / 0.7349 GB, free: 2.754 MB / 0.5574 GB Notification: Performance of simCode: created simulation system equations: time 0.0003288/0.2533, allocations: 52.28 kB / 0.735 GB, free: 2.703 MB / 0.5574 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004347/0.2538, allocations: 12.33 kB / 0.735 GB, free: 2.691 MB / 0.5574 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002001/0.2558, allocations: 1.382 MB / 0.7363 GB, free: 1.234 MB / 0.5574 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003795/0.2562, allocations: 0.6887 MB / 0.737 GB, free: 0.5195 MB / 0.5574 GB Notification: Performance of simCode: alias equations: time 0.0001221/0.2564, allocations: 15.94 kB / 0.737 GB, free: 0.5039 MB / 0.5574 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.92e-05/0.2565, allocations: 19.42 kB / 0.737 GB, free: 496 kB / 0.5574 GB Notification: Performance of SimCode: time 1.533e-06/0.2565, allocations: 8 kB / 0.737 GB, free: 488 kB / 0.5574 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02941/0.286, allocations: 2.623 MB / 0.7396 GB, free: 13.97 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004026/0.2864, allocations: 261.8 kB / 0.7398 GB, free: 13.63 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.558/2.845, allocations: 0 / 0.7398 GB, free: 13.63 MB / 0.573 GB