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.Logit2D.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.Logit2D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Logit2D") Notification: Performance of loadModel(Buildings): time 4.138/4.138, allocations: 432.7 MB / 445.3 MB, free: 15.65 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 4.45e-05/4.473e-05, allocations: 7.578 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2104, allocations: 98.72 MB / 0.6347 GB, free: 1.91 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1943/0.4047, allocations: 124.8 MB / 0.7566 GB, free: 4.926 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000263/0.405, allocations: 75.95 kB / 0.7567 GB, free: 4.852 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.009849/0.4149, allocations: 2.303 MB / 0.7589 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.824e-06/0.4149, allocations: 0 / 0.7589 GB, free: 2.543 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.007e-06/0.4149, allocations: 0 / 0.7589 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.000465/0.4154, allocations: 384 kB / 0.7593 GB, free: 2.117 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.139e-05/0.4154, allocations: 8.031 kB / 0.7593 GB, free: 2.109 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.706e-05/0.4155, allocations: 11.95 kB / 0.7593 GB, free: 2.098 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001379/0.4156, allocations: 163.1 kB / 0.7595 GB, free: 1.898 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.04e-05/0.4157, allocations: 8 kB / 0.7595 GB, free: 1.891 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.174e-05/0.4157, allocations: 3.938 kB / 0.7595 GB, free: 1.887 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001082/0.4158, allocations: 45.67 kB / 0.7595 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.642e-06/0.4158, allocations: 0 / 0.7595 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.402e-06/0.4159, allocations: 0 / 0.7595 GB, free: 1.836 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.64e-06/0.4159, allocations: 3.938 kB / 0.7595 GB, free: 1.832 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.36e-05/0.4159, allocations: 8 kB / 0.7595 GB, free: 1.824 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002011/0.4161, allocations: 169.6 kB / 0.7597 GB, free: 1.609 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 5.881e-05/0.4162, allocations: 22.58 kB / 0.7597 GB, free: 1.578 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.936e-05/0.4163, allocations: 20.8 kB / 0.7597 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 9.481e-06/0.4163, allocations: 0 / 0.7597 GB, free: 1.555 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001354/0.4164, allocations: 55.5 kB / 0.7598 GB, free: 1.488 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=5): time 4.739e-06/0.4164, allocations: 4 kB / 0.7598 GB, free: 1.484 MB / 0.6355 GB Notification: Performance of matching and sorting (n=5): time 0.0002056/0.4167, allocations: 65.67 kB / 0.7599 GB, free: 1.414 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.762e-05/0.4167, allocations: 55.34 kB / 0.7599 GB, free: 1.348 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.404e-05/0.4168, allocations: 101.1 kB / 0.76 GB, free: 1.242 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.382e-05/0.4169, allocations: 25.7 kB / 0.76 GB, free: 1.211 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.64e-05/0.4169, allocations: 84.08 kB / 0.7601 GB, free: 1.125 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.677e-05/0.417, allocations: 23.73 kB / 0.7601 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.071e-06/0.417, allocations: 0 / 0.7601 GB, free: 1.102 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001662/0.4172, allocations: 320.6 kB / 0.7604 GB, free: 0.7812 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.063e-05/0.4172, allocations: 12 kB / 0.7604 GB, free: 0.7695 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.69e-05/0.4173, allocations: 36.3 kB / 0.7605 GB, free: 0.7188 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.409e-05/0.4174, allocations: 15.98 kB / 0.7605 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.769e-06/0.4174, allocations: 0 / 0.7605 GB, free: 0.7031 MB / 0.6355 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001545/0.4175, allocations: 69.56 kB / 0.7606 GB, free: 0.6289 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.274e-05/0.4176, allocations: 8 kB / 0.7606 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.439e-06/0.4176, allocations: 160 / 0.7606 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.794e-05/0.4176, allocations: 7.984 kB / 0.7606 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.17e-05/0.4177, allocations: 12 kB / 0.7606 GB, free: 0.6016 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.976e-06/0.4177, allocations: 3.984 kB / 0.7606 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.203e-05/0.4178, allocations: 3.906 kB / 0.7606 GB, free: 0.5938 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.001e-05/0.4178, allocations: 4 kB / 0.7606 GB, free: 0.5898 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * 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 (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.755e-05/0.4179, allocations: 121 kB / 0.7607 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.375e-05/0.4179, allocations: 0 / 0.7607 GB, free: 476 kB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.184e-05/0.418, allocations: 7.547 kB / 0.7607 GB, free: 468 kB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.206e-06/0.418, allocations: 4 kB / 0.7607 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.835e-06/0.418, allocations: 0 / 0.7607 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.418, allocations: 0 / 0.7607 GB, free: 464 kB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001775/0.4182, allocations: 161.6 kB / 0.7609 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.05e-06/0.4182, allocations: 0 / 0.7609 GB, free: 252 kB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.896e-05/0.4183, allocations: 4 kB / 0.7609 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.344e-06/0.4183, allocations: 0 / 0.7609 GB, free: 248 kB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.658e-06/0.4183, allocations: 4 kB / 0.7609 GB, free: 244 kB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.748e-06/0.4183, allocations: 4 kB / 0.7609 GB, free: 240 kB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.242e-06/0.4183, allocations: 3.984 kB / 0.7609 GB, free: 236 kB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001761/0.4185, allocations: 96.92 kB / 0.761 GB, free: 120 kB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.113e-05/0.4186, allocations: 84.98 kB / 0.7611 GB, free: 16 kB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.142e-05/0.4186, allocations: 4 kB / 0.7611 GB, free: 12 kB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.242e-05/0.4186, allocations: 3.938 kB / 0.7611 GB, free: 8 kB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.676e-05/0.4187, allocations: 3.984 kB / 0.7611 GB, free: 4 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.54e-05/0.4187, allocations: 8.359 kB / 0.7611 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 5.893e-05/0.4188, allocations: 87.28 kB / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.22e-07/0.4188, allocations: 0 / 0.7612 GB, free: 15.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0003846/0.4192, allocations: 39.94 kB / 0.7612 GB, free: 15.87 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 (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.0004447/0.4197, allocations: 177.1 kB / 0.7614 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001267/0.4198, allocations: 31.92 kB / 0.7614 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.63e-06/0.4198, allocations: 0 / 0.7614 GB, free: 15.67 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 5.034e-05/0.4199, allocations: 19.94 kB / 0.7614 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001166/0.42, allocations: 7.953 kB / 0.7614 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002365/0.4203, allocations: 64.98 kB / 0.7615 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003401/0.4206, allocations: 0.6809 MB / 0.7622 GB, free: 14.85 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 3.272e-05/0.4207, allocations: 12.48 kB / 0.7622 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.75e-05/0.4207, allocations: 7.438 kB / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of SimCode: time 1.39e-06/0.4207, allocations: 0 / 0.7622 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of Templates: time 0.004556/0.4253, allocations: 1.236 MB / 0.7634 GB, free: 13.6 MB / 0.6511 GB