Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit1DQuadratic") Notification: Performance of loadModel(Buildings): time 4.066/4.066, allocations: 432.7 MB / 445.3 MB, free: 15.77 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.069e-05/4.097e-05, allocations: 3.75 kB / 0.5383 GB, free: 10.26 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2466/0.2467, allocations: 98.72 MB / 0.6347 GB, free: 1.965 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1908/0.4376, allocations: 124.9 MB / 0.7566 GB, free: 4.934 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000238/0.4378, allocations: 67.95 kB / 0.7567 GB, free: 4.867 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.009751/0.4476, allocations: 2.316 MB / 0.759 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.938e-06/0.4476, allocations: 0 / 0.759 GB, free: 2.547 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.844e-06/0.4477, allocations: 4 kB / 0.759 GB, free: 2.543 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.0004658/0.4481, allocations: 388 kB / 0.7593 GB, free: 2.113 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.4482, allocations: 12.03 kB / 0.7594 GB, free: 2.102 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.44e-05/0.4482, allocations: 3.953 kB / 0.7594 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001394/0.4484, allocations: 167.1 kB / 0.7595 GB, free: 1.895 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.463e-05/0.4484, allocations: 3.984 kB / 0.7595 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.631e-05/0.4484, allocations: 4 kB / 0.7595 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.83e-05/0.4486, allocations: 37.67 kB / 0.7596 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.799e-06/0.4486, allocations: 0 / 0.7596 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.571e-06/0.4486, allocations: 0 / 0.7596 GB, free: 1.844 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.053e-06/0.4486, allocations: 4 kB / 0.7596 GB, free: 1.84 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.277e-05/0.4487, allocations: 8 kB / 0.7596 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001939/0.4489, allocations: 169.5 kB / 0.7597 GB, free: 1.617 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 8.148e-05/0.449, allocations: 34.55 kB / 0.7598 GB, free: 1.574 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.925e-05/0.449, allocations: 8.859 kB / 0.7598 GB, free: 1.562 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.193e-05/0.449, allocations: 4 kB / 0.7598 GB, free: 1.559 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001274/0.4492, allocations: 55.5 kB / 0.7598 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=4): time 2.368e-06/0.4492, allocations: 0 / 0.7598 GB, free: 1.492 MB / 0.6355 GB Notification: Performance of matching and sorting (n=4): time 0.0001947/0.4494, allocations: 61.61 kB / 0.7599 GB, free: 1.426 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.417e-05/0.4494, allocations: 55.34 kB / 0.7599 GB, free: 1.359 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.497e-05/0.4495, allocations: 101 kB / 0.76 GB, free: 1.254 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.4496, allocations: 29.7 kB / 0.7601 GB, free: 1.219 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.613e-05/0.4496, allocations: 88.12 kB / 0.7602 GB, free: 1.129 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.367e-05/0.4497, allocations: 7.906 kB / 0.7602 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-06/0.4497, allocations: 0 / 0.7602 GB, free: 1.121 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001555/0.4499, allocations: 318.8 kB / 0.7605 GB, free: 0.8008 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.655e-05/0.4499, allocations: 12 kB / 0.7605 GB, free: 0.7891 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.36e-05/0.45, allocations: 37.27 kB / 0.7605 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.288e-05/0.45, allocations: 4 kB / 0.7605 GB, free: 0.7383 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.633e-06/0.45, allocations: 3.938 kB / 0.7605 GB, free: 0.7344 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001448/0.4502, allocations: 77.47 kB / 0.7606 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.688e-05/0.4502, allocations: 8 kB / 0.7606 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.578e-06/0.4502, allocations: 0 / 0.7606 GB, free: 0.6445 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.616e-05/0.4502, allocations: 3.984 kB / 0.7606 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.826e-05/0.4503, allocations: 8 kB / 0.7606 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.156e-06/0.4503, allocations: 0 / 0.7606 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.133e-05/0.4504, allocations: 4 kB / 0.7606 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.87e-06/0.4504, allocations: 0 / 0.7606 GB, free: 0.6289 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.y,y,$PRE.curSeed,curSeed,$whenCondition1) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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.0001083/0.4505, allocations: 121 kB / 0.7607 GB, free: 0.5039 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.576e-05/0.4506, allocations: 3.906 kB / 0.7607 GB, free: 0.5 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.4506, allocations: 8.031 kB / 0.7607 GB, free: 0.4922 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.027e-06/0.4506, allocations: 3.984 kB / 0.7607 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.198e-06/0.4506, allocations: 0 / 0.7607 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.76e-06/0.4506, allocations: 0 / 0.7607 GB, free: 500 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001585/0.4508, allocations: 161.6 kB / 0.7609 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.067e-06/0.4508, allocations: 0 / 0.7609 GB, free: 288 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.591e-05/0.4509, allocations: 4 kB / 0.7609 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.4509, allocations: 96 / 0.7609 GB, free: 284 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.161e-05/0.4509, allocations: 3.984 kB / 0.7609 GB, free: 280 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.126e-06/0.4509, allocations: 4 kB / 0.7609 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.631e-06/0.4509, allocations: 0 / 0.7609 GB, free: 276 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001645/0.4511, allocations: 89.06 kB / 0.761 GB, free: 168 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.393e-05/0.4512, allocations: 84.95 kB / 0.7611 GB, free: 64 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.4512, allocations: 4 kB / 0.7611 GB, free: 60 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.459e-05/0.4512, allocations: 7.922 kB / 0.7611 GB, free: 52 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.696e-05/0.4513, allocations: 3.938 kB / 0.7611 GB, free: 48 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.45e-06/0.4513, allocations: 4 kB / 0.7611 GB, free: 44 kB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.378e-05/0.4514, allocations: 87.53 kB / 0.7612 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.43e-07/0.4514, allocations: 0 / 0.7612 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003708/0.4518, allocations: 43.98 kB / 0.7612 GB, free: 15.91 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,y,curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 2 * 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.000435/0.4522, allocations: 172 kB / 0.7614 GB, free: 15.74 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001125/0.4523, allocations: 31.92 kB / 0.7614 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/0.4524, allocations: 4 kB / 0.7614 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 4.24e-05/0.4524, allocations: 12 kB / 0.7614 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001145/0.4525, allocations: 13.23 kB / 0.7614 GB, free: 15.68 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002256/0.4528, allocations: 64.98 kB / 0.7615 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003577/0.4532, allocations: 0.6848 MB / 0.7622 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 2.729e-05/0.4532, allocations: 4.188 kB / 0.7622 GB, free: 14.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.309e-05/0.4532, allocations: 11.44 kB / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of SimCode: time 1.406e-06/0.4532, allocations: 0 / 0.7622 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of Templates: time 0.004457/0.4577, allocations: 1.222 MB / 0.7634 GB, free: 13.65 MB / 0.6511 GB