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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.381/4.381, allocations: 432.6 MB / 445.2 MB, free: 15.8 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.105e-05/4.139e-05, allocations: 3.234 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2326, allocations: 98.73 MB / 0.6347 GB, free: 1.891 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2827/0.5154, allocations: 126.3 MB / 0.7581 GB, free: 3.398 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004099/0.5158, allocations: 87.94 kB / 0.7582 GB, free: 3.312 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.03382/0.5497, allocations: 2.816 MB / 0.7609 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.014e-06/0.5497, allocations: 0 / 0.7609 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.169e-05/0.5498, allocations: 4 kB / 0.7609 GB, free: 500 kB / 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.0008464/0.5506, allocations: 445.8 kB / 0.7613 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.315e-05/0.5507, allocations: 12.03 kB / 0.7614 GB, free: 15.98 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.037e-05/0.5508, allocations: 34.55 kB / 0.7614 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.594e-05/0.5508, allocations: 11.69 kB / 0.7614 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001738/0.551, allocations: 167 kB / 0.7616 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.714e-05/0.5511, allocations: 8 kB / 0.7616 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.5511, allocations: 0 / 0.7616 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002336/0.5514, allocations: 61.67 kB / 0.7616 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.025e-05/0.5514, allocations: 0 / 0.7616 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.258e-05/0.5514, allocations: 4 kB / 0.7616 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.363e-05/0.5515, allocations: 7.984 kB / 0.7616 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001399/0.5516, allocations: 27.89 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008085/0.5525, allocations: 292.9 kB / 0.7619 GB, free: 15.28 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001599/0.5526, allocations: 42.58 kB / 0.762 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001295/0.5528, allocations: 24.98 kB / 0.762 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.071e-05/0.5528, allocations: 0 / 0.762 GB, free: 15.2 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000238/0.5531, allocations: 83.38 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.605e-06/0.5531, allocations: 0 / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0004496/0.5536, allocations: 101.5 kB / 0.7622 GB, free: 15 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.934e-05/0.5536, allocations: 55.34 kB / 0.7622 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001539/0.5538, allocations: 117 kB / 0.7623 GB, free: 14.81 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.992e-05/0.5539, allocations: 25.7 kB / 0.7624 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.839e-05/0.554, allocations: 92.23 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.123e-05/0.554, allocations: 11.84 kB / 0.7625 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.278e-05/0.5541, allocations: 4 kB / 0.7625 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001765/0.5542, allocations: 322.8 kB / 0.7628 GB, free: 14.34 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.821e-05/0.5543, allocations: 12 kB / 0.7628 GB, free: 14.33 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001363/0.5545, allocations: 65.08 kB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.979e-05/0.5546, allocations: 19.94 kB / 0.7629 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.126e-06/0.5546, allocations: 0 / 0.7629 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003385/0.555, allocations: 101.5 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.441e-05/0.555, allocations: 4 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.554e-06/0.555, allocations: 0 / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.991e-05/0.5551, allocations: 7.953 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001936/0.5553, allocations: 19.98 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.341e-05/0.5553, allocations: 3.938 kB / 0.763 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001509/0.5555, allocations: 15.91 kB / 0.763 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.49e-05/0.5555, allocations: 7.984 kB / 0.763 GB, free: 14.07 MB / 0.6511 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.0001264/0.5557, allocations: 115.2 kB / 0.7631 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.596e-05/0.5557, allocations: 0 / 0.7631 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.37e-05/0.5558, allocations: 12.62 kB / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.548e-06/0.5558, allocations: 0 / 0.7631 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.546e-06/0.5558, allocations: 3.953 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.5558, allocations: 0 / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007437/0.5566, allocations: 366.4 kB / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.072e-06/0.5566, allocations: 0 / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.871e-05/0.5567, allocations: 15.92 kB / 0.7635 GB, free: 13.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.755e-06/0.5568, allocations: 4 kB / 0.7635 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.157e-05/0.5568, allocations: 3.953 kB / 0.7635 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.5568, allocations: 0 / 0.7635 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.5568, allocations: 0 / 0.7635 GB, free: 13.49 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004169/0.5572, allocations: 195.4 kB / 0.7637 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.613e-05/0.5573, allocations: 88.95 kB / 0.7638 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.29e-05/0.5574, allocations: 4 kB / 0.7638 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002058/0.5576, allocations: 7.953 kB / 0.7638 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.915e-05/0.5577, allocations: 7.984 kB / 0.7638 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.038e-05/0.5577, allocations: 4 kB / 0.7638 GB, free: 13.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 9.582e-05/0.5578, allocations: 99.86 kB / 0.7639 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.41e-07/0.5578, allocations: 0 / 0.7639 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0006839/0.5585, allocations: 39.94 kB / 0.764 GB, free: 13.02 MB / 0.6511 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.001267/0.5598, allocations: 0.8006 MB / 0.7647 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002833/0.5601, allocations: 55.92 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.041e-06/0.5601, allocations: 4.312 kB / 0.7648 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001374/0.5603, allocations: 31.98 kB / 0.7648 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003547/0.5607, allocations: 15.88 kB / 0.7648 GB, free: 12.09 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008715/0.5616, allocations: 159 kB / 0.765 GB, free: 11.9 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003996/0.562, allocations: 0.6926 MB / 0.7657 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.765e-05/0.5621, allocations: 4.188 kB / 0.7657 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.611e-05/0.5622, allocations: 27.42 kB / 0.7657 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of SimCode: time 1.102e-06/0.5622, allocations: 0 / 0.7657 GB, free: 11.15 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02981/0.592, allocations: 2.497 MB / 0.7681 GB, free: 8.727 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002762/0.5923, allocations: 203.5 kB / 0.7683 GB, free: 8.508 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.513/3.106, allocations: 4 kB / 0.7683 GB, free: 8.504 MB / 0.6511 GB