Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Blinds.Validation.Haldi2008BlindsTIn,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTIn",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.163/4.163, allocations: 433.2 MB / 440.7 MB, free: 4.578 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.521e-05/2.532e-05, allocations: 1.344 kB / 0.5325 GB, free: 12.75 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2313/0.2314, allocations: 98.74 MB / 0.6289 GB, free: 9.141 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2357/0.4672, allocations: 125.7 MB / 0.7516 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003247/0.4676, allocations: 83.94 kB / 0.7517 GB, free: 11.24 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/Occupants/BaseClasses/binaryVariableGeneration.mo:11:3-11:96:writable] Warning: localSeed was used before it was defined (given a value). Additional such uses may exist for the variable, but some messages were suppressed. Notification: Performance of FrontEnd - DAE generated: time 0.01295/0.4805, allocations: 2.814 MB / 0.7544 GB, free: 8.414 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.953e-06/0.4806, allocations: 4 kB / 0.7544 GB, free: 8.41 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.154e-05/0.4806, allocations: 4 kB / 0.7544 GB, free: 8.406 MB / 0.6355 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.0006454/0.4812, allocations: 429.7 kB / 0.7549 GB, free: 7.93 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.28e-05/0.4813, allocations: 12.03 kB / 0.7549 GB, free: 7.918 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.274e-05/0.4814, allocations: 3.953 kB / 0.7549 GB, free: 7.914 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001418/0.4815, allocations: 174.9 kB / 0.755 GB, free: 7.703 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.25e-05/0.4816, allocations: 4 kB / 0.755 GB, free: 7.699 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.441e-05/0.4816, allocations: 7.984 kB / 0.755 GB, free: 7.691 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001103/0.4817, allocations: 27.94 kB / 0.7551 GB, free: 7.664 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001442/0.4819, allocations: 53.67 kB / 0.7551 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.004e-05/0.4819, allocations: 0 / 0.7551 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.552e-05/0.4819, allocations: 0 / 0.7551 GB, free: 7.605 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.012e-05/0.4819, allocations: 7.953 kB / 0.7551 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005851/0.4825, allocations: 273.4 kB / 0.7554 GB, free: 7.293 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001006/0.4826, allocations: 34.58 kB / 0.7554 GB, free: 7.25 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.863e-05/0.4827, allocations: 25.59 kB / 0.7555 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.369e-05/0.4828, allocations: 0 / 0.7555 GB, free: 7.223 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001547/0.4829, allocations: 71.33 kB / 0.7555 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.743e-06/0.4829, allocations: 0 / 0.7555 GB, free: 7.141 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003093/0.4833, allocations: 97.59 kB / 0.7556 GB, free: 7.039 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.285e-05/0.4833, allocations: 63.39 kB / 0.7557 GB, free: 6.965 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001004/0.4834, allocations: 104.9 kB / 0.7558 GB, free: 6.855 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.879e-05/0.4835, allocations: 33.69 kB / 0.7558 GB, free: 6.816 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.666e-05/0.4836, allocations: 92.23 kB / 0.7559 GB, free: 6.719 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.355e-05/0.4836, allocations: 7.906 kB / 0.7559 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.893e-06/0.4836, allocations: 0 / 0.7559 GB, free: 6.711 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001248/0.4837, allocations: 318.8 kB / 0.7562 GB, free: 6.391 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.643e-05/0.4838, allocations: 15.94 kB / 0.7562 GB, free: 6.375 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.096e-05/0.4839, allocations: 57.09 kB / 0.7563 GB, free: 6.301 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.72e-05/0.484, allocations: 23.98 kB / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.624e-06/0.484, allocations: 0 / 0.7563 GB, free: 6.277 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002167/0.4842, allocations: 93.45 kB / 0.7564 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.4843, allocations: 4 kB / 0.7564 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.696e-06/0.4843, allocations: 4 kB / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.652e-05/0.4843, allocations: 0 / 0.7564 GB, free: 6.172 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001458/0.4845, allocations: 15.98 kB / 0.7564 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.508e-06/0.4845, allocations: 3.953 kB / 0.7564 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001048/0.4846, allocations: 15.84 kB / 0.7564 GB, free: 6.137 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.761e-05/0.4846, allocations: 4.156 kB / 0.7564 GB, free: 6.133 MB / 0.6355 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,bli.occ,$whenCondition1,bli.sampleTrigger) * Number of discrete 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.0001014/0.4848, allocations: 114.5 kB / 0.7565 GB, free: 6.016 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002284/0.485, allocations: 93.66 kB / 0.7566 GB, free: 5.918 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.281e-05/0.485, allocations: 7.906 kB / 0.7566 GB, free: 5.91 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.713e-05/0.4851, allocations: 4.625 kB / 0.7566 GB, free: 5.902 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.951e-06/0.4851, allocations: 3.953 kB / 0.7566 GB, free: 5.898 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.562e-06/0.4851, allocations: 4 kB / 0.7567 GB, free: 5.895 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.4851, allocations: 4 kB / 0.7567 GB, free: 5.891 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.4856, allocations: 343 kB / 0.757 GB, free: 5.512 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.927e-06/0.4856, allocations: 7.984 kB / 0.757 GB, free: 5.504 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.539e-05/0.4857, allocations: 4 kB / 0.757 GB, free: 5.5 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.266e-06/0.4857, allocations: 3.938 kB / 0.757 GB, free: 5.496 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.562e-05/0.4857, allocations: 3.953 kB / 0.757 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.007e-06/0.4858, allocations: 3.984 kB / 0.757 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.915e-06/0.4858, allocations: 0 / 0.757 GB, free: 5.488 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002807/0.4861, allocations: 185.2 kB / 0.7572 GB, free: 5.293 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.04e-05/0.4861, allocations: 89.02 kB / 0.7573 GB, free: 5.188 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.726e-05/0.4862, allocations: 4 kB / 0.7573 GB, free: 5.184 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000139/0.4863, allocations: 11.94 kB / 0.7573 GB, free: 5.172 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.223e-05/0.4864, allocations: 7.938 kB / 0.7573 GB, free: 5.164 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.55e-05/0.4864, allocations: 3.984 kB / 0.7573 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.56e-05/0.4865, allocations: 87.94 kB / 0.7574 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.4865, allocations: 0 / 0.7574 GB, free: 5.074 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004823/0.487, allocations: 51.92 kB / 0.7574 GB, free: 5.023 MB / 0.6355 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,bli.occ,bli.blindState,bli.pDown,bli.curSeed) * Number of discrete 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.0009621/0.488, allocations: 0.792 MB / 0.7582 GB, free: 4.211 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001951/0.4882, allocations: 51.92 kB / 0.7582 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.365e-06/0.4882, allocations: 0 / 0.7582 GB, free: 4.16 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.771e-05/0.4883, allocations: 27.94 kB / 0.7583 GB, free: 4.133 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002713/0.4886, allocations: 11.94 kB / 0.7583 GB, free: 4.121 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006327/0.4893, allocations: 150.1 kB / 0.7584 GB, free: 3.938 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002998/0.4896, allocations: 0.6927 MB / 0.7591 GB, free: 3.219 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.133e-05/0.4896, allocations: 8.188 kB / 0.7591 GB, free: 3.211 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.313e-05/0.4897, allocations: 23.42 kB / 0.7591 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of SimCode: time 7.81e-07/0.4897, allocations: 0 / 0.7591 GB, free: 3.188 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03753/0.5273, allocations: 2.191 MB / 0.7613 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002842/0.5276, allocations: 185.3 kB / 0.7615 GB, free: 0.8203 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.714/3.242, allocations: 0 / 0.7615 GB, free: 0.8203 MB / 0.6355 GB