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.Haldi2008BlindsTOut.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.Haldi2008BlindsTOut,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Blinds_Validation_Haldi2008BlindsTOut",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.343/4.343, allocations: 432.6 MB / 445.2 MB, free: 15.76 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.015e-05/4.035e-05, allocations: 3.062 kB / 0.5383 GB, free: 10.29 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2403/0.2403, allocations: 98.73 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2392/0.4796, allocations: 126.3 MB / 0.7581 GB, free: 3.418 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003519/0.48, allocations: 79.95 kB / 0.7582 GB, free: 3.34 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.01414/0.4942, allocations: 2.82 MB / 0.7609 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.224e-06/0.4942, allocations: 0 / 0.7609 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.528e-06/0.4942, allocations: 0 / 0.7609 GB, free: 0.5156 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.0007817/0.495, allocations: 455.6 kB / 0.7613 GB, free: 16 kB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 6.147e-05/0.4951, allocations: 8.031 kB / 0.7614 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.833e-05/0.4952, allocations: 34.56 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.68e-05/0.4953, allocations: 7.953 kB / 0.7614 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.4954, allocations: 167 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.654e-05/0.4955, allocations: 4 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.767e-05/0.4955, allocations: 4 kB / 0.7616 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002113/0.4958, allocations: 65.64 kB / 0.7616 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.184e-05/0.4958, allocations: 0 / 0.7616 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.986e-05/0.4958, allocations: 8 kB / 0.7616 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.566e-06/0.4958, allocations: 4 kB / 0.7616 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.4959, allocations: 23.94 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007263/0.4967, allocations: 296.8 kB / 0.7619 GB, free: 15.3 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001434/0.4969, allocations: 46.56 kB / 0.762 GB, free: 15.25 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.371e-05/0.497, allocations: 24.97 kB / 0.762 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.434e-05/0.497, allocations: 4 kB / 0.762 GB, free: 15.21 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002224/0.4972, allocations: 75.31 kB / 0.7621 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 5.33e-06/0.4973, allocations: 0 / 0.7621 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003796/0.4976, allocations: 105.5 kB / 0.7622 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.343e-05/0.4977, allocations: 55.41 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001392/0.4979, allocations: 113 kB / 0.7623 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.4979, allocations: 29.7 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.054e-05/0.498, allocations: 92.23 kB / 0.7625 GB, free: 14.7 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.498, allocations: 15.83 kB / 0.7625 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.094e-05/0.4981, allocations: 4 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001362/0.4982, allocations: 318.8 kB / 0.7628 GB, free: 14.36 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.454e-05/0.4983, allocations: 15.94 kB / 0.7628 GB, free: 14.35 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001209/0.4984, allocations: 61.08 kB / 0.7629 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.596e-05/0.4985, allocations: 19.98 kB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.597e-06/0.4985, allocations: 0 / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002679/0.4988, allocations: 97.53 kB / 0.763 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.618e-05/0.4989, allocations: 11.98 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.227e-06/0.4989, allocations: 0 / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.448e-05/0.4989, allocations: 4 kB / 0.763 GB, free: 14.13 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001953/0.4991, allocations: 15.95 kB / 0.763 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.238e-05/0.4992, allocations: 7.938 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.4993, allocations: 11.89 kB / 0.763 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.003e-05/0.4993, allocations: 4 kB / 0.763 GB, free: 14.09 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.0001276/0.4995, allocations: 113.1 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.988e-05/0.4995, allocations: 4 kB / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.235e-05/0.4996, allocations: 8.625 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.669e-06/0.4996, allocations: 4 kB / 0.7631 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.103e-05/0.4996, allocations: 7.938 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.4996, allocations: 0 / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006485/0.5003, allocations: 366.4 kB / 0.7635 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.5003, allocations: 3.938 kB / 0.7635 GB, free: 13.53 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.913e-05/0.5004, allocations: 8 kB / 0.7635 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.042e-05/0.5004, allocations: 4 kB / 0.7635 GB, free: 13.52 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.399e-05/0.5005, allocations: 7.953 kB / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.556e-06/0.5005, allocations: 0 / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.836e-06/0.5005, allocations: 0 / 0.7635 GB, free: 13.51 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003359/0.5008, allocations: 195.4 kB / 0.7637 GB, free: 13.3 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.74e-05/0.5009, allocations: 85.05 kB / 0.7638 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.836e-05/0.5009, allocations: 0 / 0.7638 GB, free: 13.2 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001915/0.5011, allocations: 15.94 kB / 0.7638 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.165e-05/0.5012, allocations: 4 kB / 0.7638 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.761e-05/0.5012, allocations: 3.984 kB / 0.7638 GB, free: 13.18 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.901e-05/0.5013, allocations: 99.88 kB / 0.7639 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5014, allocations: 0 / 0.7639 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004847/0.5019, allocations: 47.92 kB / 0.764 GB, free: 13.03 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.00121/0.5031, allocations: 0.7935 MB / 0.7647 GB, free: 12.22 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002634/0.5034, allocations: 59.91 kB / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.5034, allocations: 320 / 0.7648 GB, free: 12.16 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.5035, allocations: 35.94 kB / 0.7648 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002919/0.5038, allocations: 11.94 kB / 0.7648 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007228/0.5046, allocations: 163 kB / 0.765 GB, free: 11.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003102/0.5049, allocations: 0.6887 MB / 0.7657 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.609e-05/0.505, allocations: 4.188 kB / 0.7657 GB, free: 11.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.613e-05/0.505, allocations: 23.42 kB / 0.7657 GB, free: 11.18 MB / 0.6511 GB Notification: Performance of SimCode: time 1.483e-06/0.5051, allocations: 4 kB / 0.7657 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0246/0.5297, allocations: 2.489 MB / 0.7681 GB, free: 8.758 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003528/0.5301, allocations: 220.5 kB / 0.7683 GB, free: 8.523 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.486/3.016, allocations: 0 / 0.7683 GB, free: 8.523 MB / 0.6511 GB