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.Zhang2012BlindsSolarAltitude.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.Zhang2012BlindsSolarAltitude,fileNamePrefix="Buildings_7_0_0_Buildings_Occupants_Office_Blinds_Validation_Zhang2012BlindsSolarAltitude",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.01008/0.01008, allocations: 90.02 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.001145/0.001145, allocations: 169.4 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.233/2.233, allocations: 205.5 MB / 222.2 MB, free: 13.71 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.663/2.663, allocations: 252.8 MB / 0.511 GB, free: 8.328 MB / 426.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005085/0.0005087, allocations: 11.41 kB / 0.6243 GB, free: 28.33 MB / 0.4948 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2332/0.2337, allocations: 106.2 MB / 0.7281 GB, free: 10.14 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(Buildings.Occupants.Office.Blinds.Validation.Zhang2012BlindsSolarAltitude): time 0.002139/0.2359, allocations: 1.203 MB / 0.7292 GB, free: 8.918 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.001768/0.2377, allocations: 0.7461 MB / 0.73 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.985e-05/0.2378, allocations: 0 / 0.73 GB, free: 8.164 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.674e-05/0.2379, allocations: 3.938 kB / 0.73 GB, free: 8.16 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 9.404e-05/0.238, allocations: 15.97 kB / 0.73 GB, free: 8.145 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005759/0.2386, allocations: 99.62 kB / 0.7301 GB, free: 8.047 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 0.0001323/0.2387, allocations: 51.94 kB / 0.7301 GB, free: 7.996 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 9.564e-05/0.2388, allocations: 19.95 kB / 0.7301 GB, free: 7.977 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001055/0.2389, allocations: 35.86 kB / 0.7302 GB, free: 7.941 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 9.962e-05/0.239, allocations: 43.88 kB / 0.7302 GB, free: 7.898 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 2.226e-05/0.2391, allocations: 4 kB / 0.7302 GB, free: 7.895 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002081/0.2393, allocations: 71.81 kB / 0.7303 GB, free: 7.824 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 3.394e-05/0.2393, allocations: 15.97 kB / 0.7303 GB, free: 7.809 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 5.132e-05/0.2394, allocations: 41.64 kB / 0.7304 GB, free: 7.762 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 0.0002443/0.2397, allocations: 108 kB / 0.7305 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.725e-06/0.2397, allocations: 0 / 0.7305 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.533e-06/0.2397, allocations: 0 / 0.7305 GB, free: 7.656 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 4.849e-06/0.2397, allocations: 4 kB / 0.7305 GB, free: 7.652 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: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006927/0.2404, allocations: 446.5 kB / 0.7309 GB, free: 7.156 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.579e-05/0.2405, allocations: 8.031 kB / 0.7309 GB, free: 7.148 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.466e-05/0.2405, allocations: 30.56 kB / 0.7309 GB, free: 7.109 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.591e-05/0.2406, allocations: 15.86 kB / 0.7309 GB, free: 7.094 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001459/0.2407, allocations: 186.9 kB / 0.7311 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.97e-05/0.2408, allocations: 0 / 0.7311 GB, free: 6.871 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.989e-05/0.2408, allocations: 12 kB / 0.7311 GB, free: 6.859 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003103/0.2411, allocations: 81.62 kB / 0.7312 GB, free: 6.773 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.897e-06/0.2412, allocations: 4 kB / 0.7312 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.759e-05/0.2412, allocations: 0 / 0.7312 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.175e-06/0.2412, allocations: 0 / 0.7312 GB, free: 6.77 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002687/0.2415, allocations: 63.86 kB / 0.7313 GB, free: 6.707 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006937/0.2422, allocations: 316.7 kB / 0.7316 GB, free: 6.348 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002554/0.2425, allocations: 74.55 kB / 0.7316 GB, free: 6.266 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 2.122e-05/0.2425, allocations: 3.938 kB / 0.7316 GB, free: 6.262 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000313/0.2428, allocations: 103.5 kB / 0.7317 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=9): time 2.234e-06/0.2428, allocations: 0 / 0.7317 GB, free: 6.148 MB / 0.5573 GB Notification: Performance of matching and sorting (n=9): time 0.000788/0.2436, allocations: 197.4 kB / 0.7319 GB, free: 5.949 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.667e-05/0.2437, allocations: 59.39 kB / 0.732 GB, free: 5.879 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.2439, allocations: 125.8 kB / 0.7321 GB, free: 5.746 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 2.764e-05/0.2439, allocations: 33.7 kB / 0.7321 GB, free: 5.707 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 6.904e-05/0.244, allocations: 96.27 kB / 0.7322 GB, free: 5.609 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.797e-05/0.244, allocations: 11.81 kB / 0.7322 GB, free: 5.598 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.285e-06/0.244, allocations: 4 kB / 0.7322 GB, free: 5.594 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001285/0.2442, allocations: 326.8 kB / 0.7326 GB, free: 5.266 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001404/0.2443, allocations: 31.92 kB / 0.7326 GB, free: 5.234 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001762/0.2445, allocations: 74.3 kB / 0.7327 GB, free: 5.141 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001652/0.2447, allocations: 43.98 kB / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.216e-06/0.2447, allocations: 0 / 0.7327 GB, free: 5.098 MB / 0.5573 GB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0004279/0.2451, allocations: 137.4 kB / 0.7328 GB, free: 4.957 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.886e-05/0.2452, allocations: 7.938 kB / 0.7328 GB, free: 4.949 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.057e-06/0.2452, allocations: 4 kB / 0.7328 GB, free: 4.945 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.746e-05/0.2452, allocations: 3.953 kB / 0.7329 GB, free: 4.941 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000157/0.2454, allocations: 23.92 kB / 0.7329 GB, free: 4.918 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.097e-05/0.2454, allocations: 4 kB / 0.7329 GB, free: 4.914 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.2455, allocations: 16.05 kB / 0.7329 GB, free: 4.898 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.15e-05/0.2456, allocations: 8 kB / 0.7329 GB, free: 4.891 MB / 0.5573 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.0001298/0.2457, allocations: 125.9 kB / 0.733 GB, free: 4.758 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.2457, allocations: 7.891 kB / 0.733 GB, free: 4.75 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.497e-05/0.2458, allocations: 12.38 kB / 0.733 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.018e-06/0.2458, allocations: 0 / 0.733 GB, free: 4.738 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.965e-06/0.2458, allocations: 3.953 kB / 0.733 GB, free: 4.734 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.36e-06/0.2458, allocations: 3.984 kB / 0.733 GB, free: 4.73 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008465/0.2467, allocations: 438.4 kB / 0.7335 GB, free: 4.246 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.395e-06/0.2467, allocations: 4 kB / 0.7335 GB, free: 4.242 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.427e-05/0.2468, allocations: 4 kB / 0.7335 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.386e-06/0.2468, allocations: 0 / 0.7335 GB, free: 4.238 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.275e-05/0.2468, allocations: 7.938 kB / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.244e-06/0.2468, allocations: 0 / 0.7335 GB, free: 4.23 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.001e-06/0.2468, allocations: 4 kB / 0.7335 GB, free: 4.227 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005712/0.2474, allocations: 259.3 kB / 0.7337 GB, free: 3.957 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.992e-05/0.2475, allocations: 85.02 kB / 0.7338 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.464e-05/0.2475, allocations: 0 / 0.7338 GB, free: 3.855 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001971/0.2477, allocations: 11.94 kB / 0.7338 GB, free: 3.844 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.154e-05/0.2478, allocations: 12 kB / 0.7338 GB, free: 3.832 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.176e-05/0.2478, allocations: 7.984 kB / 0.7338 GB, free: 3.824 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.844e-05/0.2479, allocations: 91.77 kB / 0.7339 GB, free: 3.734 MB / 0.5573 GB Notification: Performance of sort global known variables: time 3.9e-07/0.248, allocations: 4 kB / 0.7339 GB, free: 3.73 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0004453/0.2484, allocations: 36.19 kB / 0.734 GB, free: 3.695 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: 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.001286/0.2497, allocations: 0.8623 MB / 0.7348 GB, free: 2.824 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.0004411/0.2502, allocations: 99.88 kB / 0.7349 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 3.256e-06/0.2502, allocations: 0 / 0.7349 GB, free: 2.727 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.0002122/0.2504, allocations: 51.92 kB / 0.735 GB, free: 2.676 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002857/0.2507, allocations: 11.94 kB / 0.735 GB, free: 2.664 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001375/0.2521, allocations: 1.369 MB / 0.7363 GB, free: 1.219 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.2524, allocations: 0.6965 MB / 0.737 GB, free: 0.4961 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 8.481e-05/0.2525, allocations: 16.11 kB / 0.737 GB, free: 492 kB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.135e-05/0.2526, allocations: 19.44 kB / 0.737 GB, free: 472 kB / 0.5573 GB Notification: Performance of SimCode: time 9.92e-07/0.2526, allocations: 0 / 0.737 GB, free: 472 kB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02913/0.2818, allocations: 2.611 MB / 0.7396 GB, free: 13.97 MB / 0.573 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003936/0.2822, allocations: 265 kB / 0.7398 GB, free: 13.62 MB / 0.573 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/2.755, allocations: 0 / 0.7398 GB, free: 13.62 MB / 0.573 GB