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.Linear1D.conf.json Using package ModelicaServices with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.BaseClasses.Validation.Linear1D,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.BaseClasses.Validation.Linear1D") Notification: Performance of loadModel(Buildings): time 3.828/3.828, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.586e-05/1.606e-05, allocations: 4 kB / 0.5325 GB, free: 1.863 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5036/0.5037, allocations: 98.7 MB / 0.6289 GB, free: 15.6 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2422/0.7459, allocations: 124 MB / 0.75 GB, free: 3.426 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002384/0.7462, allocations: 75.95 kB / 0.7501 GB, free: 3.352 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.008329/0.7546, allocations: 2.136 MB / 0.7522 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of FrontEnd: time 2.385e-06/0.7546, allocations: 0 / 0.7522 GB, free: 1.211 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.7546, allocations: 0 / 0.7522 GB, free: 1.211 MB / 0.6198 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.0004258/0.7551, allocations: 372.1 kB / 0.7525 GB, free: 0.7969 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.861e-05/0.7551, allocations: 20.02 kB / 0.7525 GB, free: 0.7773 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.381e-05/0.7552, allocations: 3.953 kB / 0.7525 GB, free: 0.7734 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001328/0.7553, allocations: 167.1 kB / 0.7527 GB, free: 0.5703 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.241e-05/0.7553, allocations: 3.938 kB / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.039e-05/0.7554, allocations: 0 / 0.7527 GB, free: 0.5664 MB / 0.6198 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.479e-05/0.7554, allocations: 4 kB / 0.7527 GB, free: 0.5625 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.478e-05/0.7555, allocations: 37.69 kB / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.341e-06/0.7555, allocations: 0 / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.081e-06/0.7555, allocations: 0 / 0.7527 GB, free: 0.5195 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.7555, allocations: 4 kB / 0.7528 GB, free: 0.5156 MB / 0.6198 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000158/0.7557, allocations: 142.1 kB / 0.7529 GB, free: 348 kB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 7.547e-05/0.7558, allocations: 30.61 kB / 0.7529 GB, free: 308 kB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.283e-05/0.7558, allocations: 12.86 kB / 0.7529 GB, free: 292 kB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 1.305e-05/0.7559, allocations: 4 kB / 0.7529 GB, free: 288 kB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001195/0.756, allocations: 55.44 kB / 0.753 GB, free: 220 kB / 0.6198 GB Notification: Performance of pre-optimization done (n=4): time 2.297e-06/0.756, allocations: 0 / 0.753 GB, free: 220 kB / 0.6198 GB Notification: Performance of matching and sorting (n=4): time 0.0001851/0.7562, allocations: 53.69 kB / 0.753 GB, free: 160 kB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.366e-05/0.7563, allocations: 55.39 kB / 0.7531 GB, free: 92 kB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.481e-05/0.7564, allocations: 89 kB / 0.7532 GB, free: 16 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.432e-05/0.7564, allocations: 29.7 kB / 0.7532 GB, free: 15.96 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.7565, allocations: 84.14 kB / 0.7533 GB, free: 15.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.7565, allocations: 7.844 kB / 0.7533 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.456e-06/0.7565, allocations: 0 / 0.7533 GB, free: 15.87 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7567, allocations: 330.8 kB / 0.7536 GB, free: 15.54 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.202e-05/0.7567, allocations: 4 kB / 0.7536 GB, free: 15.53 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.695e-05/0.7568, allocations: 31.61 kB / 0.7536 GB, free: 15.49 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.757e-05/0.7568, allocations: 15.97 kB / 0.7537 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.393e-06/0.7568, allocations: 0 / 0.7537 GB, free: 15.47 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001348/0.757, allocations: 65.53 kB / 0.7537 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.906e-05/0.757, allocations: 4 kB / 0.7537 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.97e-06/0.757, allocations: 0 / 0.7537 GB, free: 15.4 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.296e-05/0.757, allocations: 4 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.489e-05/0.7571, allocations: 4 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.233e-06/0.7571, allocations: 4 kB / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.18e-05/0.7572, allocations: 0 / 0.7537 GB, free: 15.39 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.129e-05/0.7572, allocations: 4 kB / 0.7537 GB, free: 15.38 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.0001003/0.7573, allocations: 123.5 kB / 0.7539 GB, free: 15.26 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.474e-05/0.7573, allocations: 8.094 kB / 0.7539 GB, free: 15.25 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.561e-05/0.7574, allocations: 8.062 kB / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.833e-06/0.7574, allocations: 0 / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.568e-06/0.7574, allocations: 0 / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.591e-06/0.7574, allocations: 0 / 0.7539 GB, free: 15.24 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001326/0.7575, allocations: 130.2 kB / 0.754 GB, free: 15.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.456e-06/0.7576, allocations: 3.953 kB / 0.754 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.878e-05/0.7576, allocations: 4 kB / 0.754 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.717e-06/0.7576, allocations: 0 / 0.754 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.7576, allocations: 4 kB / 0.754 GB, free: 15.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.06e-06/0.7576, allocations: 4 kB / 0.754 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.373e-06/0.7576, allocations: 0 / 0.754 GB, free: 15.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001498/0.7578, allocations: 83.16 kB / 0.7541 GB, free: 14.96 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.474e-05/0.7579, allocations: 89 kB / 0.7542 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.7579, allocations: 0 / 0.7542 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.219e-05/0.7579, allocations: 3.984 kB / 0.7542 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.004e-05/0.758, allocations: 0 / 0.7542 GB, free: 14.86 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.266e-05/0.758, allocations: 8 kB / 0.7542 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 4.819e-05/0.758, allocations: 79.28 kB / 0.7543 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.319e-06/0.7581, allocations: 0 / 0.7543 GB, free: 14.77 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000348/0.7584, allocations: 47.91 kB / 0.7543 GB, free: 14.72 MB / 0.6355 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.0004462/0.7589, allocations: 192.2 kB / 0.7545 GB, free: 14.53 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001051/0.759, allocations: 27.94 kB / 0.7545 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.427e-06/0.759, allocations: 3.938 kB / 0.7545 GB, free: 14.5 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 3.652e-05/0.7591, allocations: 15.98 kB / 0.7545 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001063/0.7592, allocations: 0 / 0.7545 GB, free: 14.48 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002131/0.7594, allocations: 60 kB / 0.7546 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003326/0.7598, allocations: 0.6807 MB / 0.7553 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 2.123e-05/0.7598, allocations: 0 / 0.7553 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.095e-05/0.7598, allocations: 15.62 kB / 0.7553 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of SimCode: time 1.319e-06/0.7598, allocations: 0 / 0.7553 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of Templates: time 0.004314/0.7642, allocations: 1.181 MB / 0.7564 GB, free: 12.5 MB / 0.6355 GB