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.Logit1DQuadratic.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.Logit1DQuadratic,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_BaseClasses_Validation_Logit1DQuadratic",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.464/4.464, allocations: 432.6 MB / 445.2 MB, free: 15.73 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.442e-05/3.459e-05, allocations: 7.328 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.2261, allocations: 98.73 MB / 0.6347 GB, free: 1.906 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2381/0.4643, allocations: 124.9 MB / 0.7566 GB, free: 4.887 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002763/0.4646, allocations: 71.97 kB / 0.7567 GB, free: 4.816 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.01131/0.4759, allocations: 2.318 MB / 0.759 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.573e-06/0.476, allocations: 0 / 0.759 GB, free: 2.492 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.356e-06/0.476, allocations: 0 / 0.759 GB, free: 2.492 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.0004655/0.4765, allocations: 392.1 kB / 0.7593 GB, free: 2.059 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.264e-05/0.4765, allocations: 12.03 kB / 0.7593 GB, free: 2.047 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.127e-05/0.4766, allocations: 34.56 kB / 0.7594 GB, free: 2.004 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.571e-05/0.4766, allocations: 15.8 kB / 0.7594 GB, free: 1.988 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.4768, allocations: 167 kB / 0.7596 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.363e-05/0.4768, allocations: 0 / 0.7596 GB, free: 1.785 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.311e-05/0.4768, allocations: 4 kB / 0.7596 GB, free: 1.781 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001474/0.477, allocations: 41.69 kB / 0.7596 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.417e-06/0.477, allocations: 0 / 0.7596 GB, free: 1.734 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.24e-05/0.477, allocations: 4 kB / 0.7596 GB, free: 1.73 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.829e-06/0.4771, allocations: 3.938 kB / 0.7596 GB, free: 1.727 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.232e-05/0.4771, allocations: 7.953 kB / 0.7596 GB, free: 1.719 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003792/0.4775, allocations: 249 kB / 0.7599 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001124/0.4776, allocations: 42.55 kB / 0.7599 GB, free: 1.375 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.311e-05/0.4777, allocations: 16.86 kB / 0.7599 GB, free: 1.355 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.178e-05/0.4777, allocations: 4 kB / 0.7599 GB, free: 1.352 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001442/0.4779, allocations: 55.44 kB / 0.76 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 4.649e-06/0.4779, allocations: 0 / 0.76 GB, free: 1.285 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002232/0.4781, allocations: 77.47 kB / 0.76 GB, free: 1.203 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.563e-05/0.4782, allocations: 55.41 kB / 0.7601 GB, free: 1.137 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.671e-05/0.4783, allocations: 93 kB / 0.7602 GB, free: 1.039 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.159e-05/0.4783, allocations: 33.7 kB / 0.7602 GB, free: 1 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 4.768e-05/0.4784, allocations: 84.12 kB / 0.7603 GB, free: 0.9141 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.219e-05/0.4784, allocations: 7.906 kB / 0.7603 GB, free: 0.9062 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.224e-06/0.4784, allocations: 4 kB / 0.7603 GB, free: 0.9023 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001251/0.4786, allocations: 316.8 kB / 0.7606 GB, free: 0.5859 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.04e-05/0.4786, allocations: 4 kB / 0.7606 GB, free: 0.582 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 6.046e-05/0.4787, allocations: 39.36 kB / 0.7606 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.37e-05/0.4787, allocations: 16 kB / 0.7607 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.4787, allocations: 0 / 0.7607 GB, free: 0.5156 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001545/0.4789, allocations: 77.52 kB / 0.7607 GB, free: 444 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.946e-05/0.4789, allocations: 4 kB / 0.7607 GB, free: 440 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.894e-06/0.479, allocations: 4 kB / 0.7607 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.507e-05/0.479, allocations: 0 / 0.7607 GB, free: 436 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.402e-05/0.4791, allocations: 12.25 kB / 0.7608 GB, free: 424 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.711e-05/0.4791, allocations: 4.016 kB / 0.7608 GB, free: 420 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.4792, allocations: 12 kB / 0.7608 GB, free: 408 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.26e-05/0.4793, allocations: 0 / 0.7608 GB, free: 408 kB / 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 0.0001194/0.4794, allocations: 116.9 kB / 0.7609 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.696e-05/0.4794, allocations: 3.906 kB / 0.7609 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.838e-05/0.4795, allocations: 8.094 kB / 0.7609 GB, free: 272 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.941e-06/0.4795, allocations: 3.938 kB / 0.7609 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.534e-06/0.4796, allocations: 0 / 0.7609 GB, free: 268 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.709e-06/0.4796, allocations: 3.953 kB / 0.7609 GB, free: 264 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005288/0.4801, allocations: 302.6 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.466e-06/0.4801, allocations: 0 / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.622e-05/0.4802, allocations: 4 kB / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.627e-06/0.4802, allocations: 0 / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.039e-05/0.4802, allocations: 0 / 0.7612 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.635e-06/0.4802, allocations: 7.953 kB / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.034e-06/0.4802, allocations: 0 / 0.7612 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.4805, allocations: 159.5 kB / 0.7614 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.486e-05/0.4805, allocations: 85.02 kB / 0.7614 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.458e-05/0.4806, allocations: 3.938 kB / 0.7614 GB, free: 15.62 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001038/0.4807, allocations: 7.938 kB / 0.7614 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.114e-05/0.4807, allocations: 8.031 kB / 0.7615 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.292e-05/0.4807, allocations: 7.984 kB / 0.7615 GB, free: 15.59 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.145e-05/0.4808, allocations: 83.41 kB / 0.7615 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.71e-07/0.4808, allocations: 0 / 0.7615 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005371/0.4814, allocations: 43.98 kB / 0.7616 GB, free: 15.47 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.001474/0.4828, allocations: 0.7931 MB / 0.7624 GB, free: 14.66 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002114/0.4831, allocations: 32 kB / 0.7624 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.008e-06/0.4831, allocations: 128 / 0.7624 GB, free: 14.63 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.785e-05/0.4832, allocations: 19.92 kB / 0.7624 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000301/0.4836, allocations: 11.95 kB / 0.7624 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008876/0.4845, allocations: 130.4 kB / 0.7625 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004426/0.4849, allocations: 0.6809 MB / 0.7632 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.492e-05/0.485, allocations: 4.234 kB / 0.7632 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.462e-05/0.4851, allocations: 11.44 kB / 0.7632 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of SimCode: time 1.183e-06/0.4851, allocations: 0 / 0.7632 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02679/0.5119, allocations: 2.025 MB / 0.7652 GB, free: 11.76 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003077/0.5123, allocations: 211.2 kB / 0.7654 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.355/2.867, allocations: 0 / 0.7654 GB, free: 11.53 MB / 0.6511 GB