Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OpenModelica/../OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf.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.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Rijal2007WindowsTInTOutTComf") Notification: Performance of loadModel(Buildings): time 4.464/4.464, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.293e-05/2.303e-05, allocations: 7.984 kB / 0.5325 GB, free: 1.867 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4933/0.4933, allocations: 98.71 MB / 0.6289 GB, free: 15.7 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1947/0.6881, allocations: 126.2 MB / 0.7521 GB, free: 1.352 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002635/0.6884, allocations: 87.89 kB / 0.7522 GB, free: 1.262 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.01684/0.7052, allocations: 3.708 MB / 0.7558 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.127e-06/0.7053, allocations: 0 / 0.7558 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.902e-06/0.7053, allocations: 8 kB / 0.7558 GB, free: 13.53 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0008227/0.7061, allocations: 0.5204 MB / 0.7564 GB, free: 12.94 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.365e-05/0.7062, allocations: 12.02 kB / 0.7564 GB, free: 12.93 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.737e-05/0.7063, allocations: 15.77 kB / 0.7564 GB, free: 12.91 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001752/0.7064, allocations: 180.5 kB / 0.7566 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.805e-05/0.7065, allocations: 8 kB / 0.7566 GB, free: 12.69 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.368e-05/0.7065, allocations: 8 kB / 0.7566 GB, free: 12.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001696/0.7067, allocations: 43.98 kB / 0.7566 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002285/0.7069, allocations: 89.62 kB / 0.7567 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.396e-06/0.707, allocations: 4 kB / 0.7567 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.939e-05/0.707, allocations: 0 / 0.7567 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.248e-06/0.707, allocations: 3.953 kB / 0.7567 GB, free: 12.54 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001094/0.7081, allocations: 381.2 kB / 0.7571 GB, free: 12.13 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001663/0.7083, allocations: 66.55 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001177/0.7084, allocations: 43 kB / 0.7572 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.545e-05/0.7085, allocations: 4.109 kB / 0.7572 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002536/0.7087, allocations: 111.2 kB / 0.7573 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=9): time 3.383e-06/0.7088, allocations: 0 / 0.7573 GB, free: 11.89 MB / 0.6355 GB Notification: Performance of matching and sorting (n=9): time 0.0005041/0.7093, allocations: 137.5 kB / 0.7574 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.485e-05/0.7094, allocations: 63.39 kB / 0.7575 GB, free: 11.67 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001495/0.7095, allocations: 129 kB / 0.7576 GB, free: 11.54 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.539e-05/0.7096, allocations: 33.7 kB / 0.7576 GB, free: 11.5 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.056e-05/0.7097, allocations: 100.3 kB / 0.7577 GB, free: 11.39 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.038e-05/0.7097, allocations: 23.66 kB / 0.7577 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.306e-06/0.7097, allocations: 0 / 0.7577 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001685/0.7099, allocations: 322.8 kB / 0.7581 GB, free: 11.05 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.579e-05/0.71, allocations: 24.09 kB / 0.7581 GB, free: 11.02 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.7101, allocations: 73.08 kB / 0.7581 GB, free: 10.93 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.141e-05/0.7102, allocations: 23.98 kB / 0.7582 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.933e-06/0.7102, allocations: 0 / 0.7582 GB, free: 10.91 MB / 0.6355 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0003021/0.7106, allocations: 117.3 kB / 0.7583 GB, free: 10.79 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.926e-05/0.7106, allocations: 12.12 kB / 0.7583 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.298e-06/0.7106, allocations: 0 / 0.7583 GB, free: 10.78 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.122e-05/0.7106, allocations: 7.953 kB / 0.7583 GB, free: 10.77 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002197/0.7109, allocations: 19.98 kB / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.303e-05/0.7109, allocations: 3.938 kB / 0.7583 GB, free: 10.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001534/0.7111, allocations: 19.98 kB / 0.7583 GB, free: 10.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.33e-05/0.7111, allocations: 4 kB / 0.7583 GB, free: 10.72 MB / 0.6355 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.p,win.p,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001295/0.7112, allocations: 109 kB / 0.7584 GB, free: 10.61 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.735e-05/0.7113, allocations: 7.906 kB / 0.7585 GB, free: 10.6 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.851e-05/0.7114, allocations: 16.61 kB / 0.7585 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.914e-06/0.7114, allocations: 0 / 0.7585 GB, free: 10.59 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.661e-06/0.7114, allocations: 3.953 kB / 0.7585 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.734e-06/0.7114, allocations: 0 / 0.7585 GB, free: 10.58 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008335/0.7122, allocations: 435 kB / 0.7589 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.7123, allocations: 4 kB / 0.7589 GB, free: 10.11 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000147/0.7124, allocations: 15.98 kB / 0.7589 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.965e-06/0.7124, allocations: 0 / 0.7589 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.566e-05/0.7125, allocations: 4 kB / 0.7589 GB, free: 10.09 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.117e-06/0.7125, allocations: 11.88 kB / 0.7589 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.908e-06/0.7125, allocations: 0 / 0.7589 GB, free: 10.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005076/0.713, allocations: 239.4 kB / 0.7592 GB, free: 9.828 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.991e-05/0.7131, allocations: 92.95 kB / 0.7592 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.063e-05/0.7132, allocations: 0 / 0.7592 GB, free: 9.719 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002934/0.7135, allocations: 27.97 kB / 0.7593 GB, free: 9.691 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.664e-05/0.7136, allocations: 16.06 kB / 0.7593 GB, free: 9.676 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.511e-05/0.7136, allocations: 3.984 kB / 0.7593 GB, free: 9.672 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0001026/0.7137, allocations: 107.2 kB / 0.7594 GB, free: 9.566 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.72e-07/0.7137, allocations: 4 kB / 0.7594 GB, free: 9.562 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004902/0.7142, allocations: 47.98 kB / 0.7594 GB, free: 9.516 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 3 * 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.0004818/0.7147, allocations: 179.2 kB / 0.7596 GB, free: 9.34 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002813/0.715, allocations: 83.92 kB / 0.7597 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.53e-06/0.715, allocations: 0 / 0.7597 GB, free: 9.258 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001378/0.7152, allocations: 47.92 kB / 0.7597 GB, free: 9.211 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002433/0.7154, allocations: 8 kB / 0.7597 GB, free: 9.203 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004937/0.7159, allocations: 136.4 kB / 0.7599 GB, free: 9.051 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003974/0.7164, allocations: 0.7084 MB / 0.7606 GB, free: 8.316 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.156e-05/0.7165, allocations: 8 kB / 0.7606 GB, free: 8.309 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.855e-05/0.7165, allocations: 11.38 kB / 0.7606 GB, free: 8.297 MB / 0.6355 GB Notification: Performance of SimCode: time 1.599e-06/0.7165, allocations: 4 kB / 0.7606 GB, free: 8.293 MB / 0.6355 GB Notification: Performance of Templates: time 0.006417/0.723, allocations: 1.947 MB / 0.7625 GB, free: 6.352 MB / 0.6355 GB