Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Weibull1DON.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.BaseClasses.Validation.Weibull1DON,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Weibull1DON",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.252/4.252, allocations: 432.6 MB / 445.2 MB, free: 15.84 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.376e-05/3.392e-05, allocations: 3.375 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2353/0.2353, allocations: 98.74 MB / 0.6347 GB, free: 1.918 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.4843, allocations: 124.8 MB / 0.7566 GB, free: 4.965 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003178/0.4847, allocations: 79.95 kB / 0.7566 GB, free: 4.887 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.01058/0.4953, allocations: 2.283 MB / 0.7589 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.593e-06/0.4954, allocations: 0 / 0.7589 GB, free: 2.598 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.204e-06/0.4954, allocations: 0 / 0.7589 GB, free: 2.598 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005119/0.4959, allocations: 388.1 kB / 0.7592 GB, free: 2.168 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.602e-05/0.496, allocations: 12.03 kB / 0.7592 GB, free: 2.156 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.947e-05/0.4961, allocations: 34.5 kB / 0.7593 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.612e-05/0.4961, allocations: 7.859 kB / 0.7593 GB, free: 2.105 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001392/0.4963, allocations: 167.1 kB / 0.7594 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.489e-05/0.4963, allocations: 0 / 0.7594 GB, free: 1.902 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.878e-05/0.4963, allocations: 8 kB / 0.7594 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001609/0.4965, allocations: 41.69 kB / 0.7595 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.977e-06/0.4965, allocations: 0 / 0.7595 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.078e-05/0.4965, allocations: 0 / 0.7595 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4966, allocations: 0 / 0.7595 GB, free: 1.848 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.999e-05/0.4966, allocations: 7.953 kB / 0.7595 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004028/0.497, allocations: 248.9 kB / 0.7597 GB, free: 1.547 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001102/0.4971, allocations: 38.56 kB / 0.7598 GB, free: 1.5 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.418e-05/0.4972, allocations: 20.84 kB / 0.7598 GB, free: 1.477 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.242e-05/0.4972, allocations: 4 kB / 0.7598 GB, free: 1.473 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001586/0.4974, allocations: 55.5 kB / 0.7598 GB, free: 1.406 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 2.004e-06/0.4974, allocations: 3.938 kB / 0.7599 GB, free: 1.402 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002425/0.4977, allocations: 81.47 kB / 0.7599 GB, free: 1.316 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.972e-05/0.4977, allocations: 51.41 kB / 0.76 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.304e-05/0.4978, allocations: 97 kB / 0.7601 GB, free: 1.152 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.246e-05/0.4979, allocations: 25.7 kB / 0.7601 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.4979, allocations: 92.12 kB / 0.7602 GB, free: 1.027 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.317e-05/0.498, allocations: 7.844 kB / 0.7602 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.509e-06/0.498, allocations: 0 / 0.7602 GB, free: 1.02 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4981, allocations: 320.8 kB / 0.7605 GB, free: 0.6992 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.939e-05/0.4982, allocations: 4 kB / 0.7605 GB, free: 0.6953 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.19e-05/0.4983, allocations: 39.42 kB / 0.7605 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.571e-05/0.4983, allocations: 15.94 kB / 0.7606 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.585e-06/0.4983, allocations: 0 / 0.7606 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001601/0.4985, allocations: 81.45 kB / 0.7606 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.063e-05/0.4985, allocations: 4 kB / 0.7606 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.49e-06/0.4985, allocations: 4.062 kB / 0.7606 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.841e-05/0.4986, allocations: 4 kB / 0.7606 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.999e-05/0.4987, allocations: 8 kB / 0.7606 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.075e-05/0.4987, allocations: 3.953 kB / 0.7607 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.527e-05/0.4987, allocations: 0 / 0.7607 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.239e-05/0.4988, allocations: 4 kB / 0.7607 GB, free: 0.5156 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($PRE.curSeed,curSeed,$whenCondition1,$PRE.$outputAlias_y,$outputAlias_y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 8 * 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 9.69e-05/0.4989, allocations: 116.9 kB / 0.7608 GB, free: 404 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.602e-05/0.4989, allocations: 3.906 kB / 0.7608 GB, free: 400 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.193e-05/0.4989, allocations: 4.094 kB / 0.7608 GB, free: 396 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.921e-06/0.4989, allocations: 8 kB / 0.7608 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.638e-06/0.499, allocations: 0 / 0.7608 GB, free: 388 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.282e-06/0.499, allocations: 3.953 kB / 0.7608 GB, free: 384 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003642/0.4993, allocations: 298.6 kB / 0.7611 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.024e-06/0.4994, allocations: 0 / 0.7611 GB, free: 28 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.164e-05/0.4994, allocations: 7.938 kB / 0.7611 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.856e-06/0.4994, allocations: 0 / 0.7611 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.081e-05/0.4994, allocations: 0 / 0.7611 GB, free: 20 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.079e-06/0.4995, allocations: 4.328 kB / 0.7611 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.482e-06/0.4995, allocations: 0 / 0.7611 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000234/0.4997, allocations: 171.5 kB / 0.7612 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.515e-05/0.4998, allocations: 84.95 kB / 0.7613 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.831e-05/0.4998, allocations: 3.938 kB / 0.7613 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.985e-05/0.4999, allocations: 0 / 0.7613 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.222e-05/0.4999, allocations: 11.94 kB / 0.7613 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.246e-06/0.5, allocations: 0 / 0.7613 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.647e-05/0.5, allocations: 87.28 kB / 0.7614 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/0.5, allocations: 4 kB / 0.7614 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004913/0.5005, allocations: 43.98 kB / 0.7615 GB, free: 15.58 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: 3 ($whenCondition1,$outputAlias_y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 3 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001001/0.5015, allocations: 0.7745 MB / 0.7622 GB, free: 14.79 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001457/0.5017, allocations: 32.25 kB / 0.7623 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.053e-06/0.5017, allocations: 0 / 0.7623 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.92e-05/0.5018, allocations: 16 kB / 0.7623 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001627/0.502, allocations: 14.53 kB / 0.7623 GB, free: 14.73 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005354/0.5025, allocations: 134.6 kB / 0.7624 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003055/0.5028, allocations: 0.6848 MB / 0.7631 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.5029, allocations: 12.36 kB / 0.7631 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.524e-05/0.5029, allocations: 11.44 kB / 0.7631 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of SimCode: time 7.72e-07/0.5029, allocations: 0 / 0.7631 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02065/0.5236, allocations: 2.058 MB / 0.7651 GB, free: 11.84 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002405/0.5239, allocations: 193.9 kB / 0.7653 GB, free: 11.62 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.469/2.993, allocations: 0 / 0.7653 GB, free: 11.62 MB / 0.6511 GB