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.Herkel2008WindowsSmall.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.Office.Windows.Validation.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadModel(Buildings): time 4.071/4.071, allocations: 432.7 MB / 445.3 MB, free: 15.75 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.048e-05, allocations: 9.531 kB / 0.5383 GB, free: 10.32 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1902/0.1903, allocations: 98.72 MB / 0.6347 GB, free: 1.926 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2489/0.4392, allocations: 126.4 MB / 0.7582 GB, free: 3.344 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002818/0.4396, allocations: 83.95 kB / 0.7582 GB, free: 3.262 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.01329/0.4529, allocations: 2.925 MB / 0.7611 GB, free: 340 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.118e-06/0.4529, allocations: 0 / 0.7611 GB, free: 340 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.523e-06/0.4529, allocations: 0 / 0.7611 GB, free: 340 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000627/0.4536, allocations: 412 kB / 0.7615 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.4536, allocations: 12.03 kB / 0.7615 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.577e-05/0.4537, allocations: 11.86 kB / 0.7615 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001562/0.4539, allocations: 174.9 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.989e-05/0.4539, allocations: 4 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.349e-05/0.4539, allocations: 4 kB / 0.7617 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001635/0.4541, allocations: 57.67 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.9e-06/0.4541, allocations: 0 / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.793e-05/0.4542, allocations: 7.984 kB / 0.7618 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.947e-06/0.4542, allocations: 0 / 0.7618 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.884e-05/0.4543, allocations: 20 kB / 0.7618 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007163/0.455, allocations: 320.7 kB / 0.7621 GB, free: 15.18 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001103/0.4551, allocations: 38.58 kB / 0.7621 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.207e-05/0.4552, allocations: 28.97 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.002e-05/0.4553, allocations: 4 kB / 0.7621 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001591/0.4554, allocations: 75.38 kB / 0.7622 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.549e-06/0.4555, allocations: 3.938 kB / 0.7622 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000301/0.4558, allocations: 109.5 kB / 0.7623 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.328e-05/0.4558, allocations: 51.41 kB / 0.7624 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001176/0.456, allocations: 113 kB / 0.7625 GB, free: 14.72 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.461e-05/0.456, allocations: 25.7 kB / 0.7625 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.71e-05/0.4561, allocations: 96.33 kB / 0.7626 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.82e-05/0.4561, allocations: 15.75 kB / 0.7626 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.131e-05/0.4562, allocations: 4 kB / 0.7626 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001647/0.4563, allocations: 318.8 kB / 0.7629 GB, free: 14.25 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.274e-05/0.4564, allocations: 16 kB / 0.7629 GB, free: 14.23 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.095e-05/0.4565, allocations: 42.56 kB / 0.763 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.302e-05/0.4566, allocations: 24 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.4566, allocations: 7.922 kB / 0.763 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002542/0.4569, allocations: 97.52 kB / 0.7631 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.129e-05/0.4569, allocations: 10.34 kB / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.995e-06/0.457, allocations: 0 / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.283e-05/0.457, allocations: 0 / 0.7631 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001315/0.4571, allocations: 11.98 kB / 0.7631 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4571, allocations: 7.953 kB / 0.7631 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.464e-05/0.4573, allocations: 11.98 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.986e-05/0.4573, allocations: 8.062 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 9 (occ.y,$PRE.win.on,win.on,$PRE.win.p,win.p,$PRE.win.curSeed,win.curSeed,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001035/0.4574, allocations: 105 kB / 0.7632 GB, free: 13.89 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.727e-05/0.4574, allocations: 7.906 kB / 0.7633 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.563e-05/0.4575, allocations: 12.56 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.364e-06/0.4575, allocations: 0 / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.397e-06/0.4575, allocations: 0 / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.218e-05/0.4575, allocations: 7.938 kB / 0.7633 GB, free: 13.86 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005482/0.4581, allocations: 370.4 kB / 0.7636 GB, free: 13.44 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.334e-06/0.4581, allocations: 3.984 kB / 0.7636 GB, free: 13.43 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.689e-05/0.4582, allocations: 11.98 kB / 0.7636 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.719e-06/0.4582, allocations: 0 / 0.7636 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.897e-05/0.4582, allocations: 4 kB / 0.7636 GB, free: 13.42 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.905e-06/0.4583, allocations: 3.953 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.728e-06/0.4583, allocations: 3.938 kB / 0.7637 GB, free: 13.41 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000298/0.4586, allocations: 191.5 kB / 0.7638 GB, free: 13.21 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 6.12e-05/0.4587, allocations: 89.02 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.364e-05/0.4587, allocations: 0 / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001264/0.4588, allocations: 4 kB / 0.7639 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.674e-05/0.4589, allocations: 11.94 kB / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.4589, allocations: 0 / 0.7639 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 8.183e-05/0.459, allocations: 99.27 kB / 0.764 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 6.81e-07/0.459, allocations: 0 / 0.764 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004347/0.4595, allocations: 47.88 kB / 0.7641 GB, free: 12.94 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: 6 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.p,win.curSeed) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (7): * Single equations (assignments): 4 * 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.0004332/0.4599, allocations: 178.4 kB / 0.7642 GB, free: 12.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002011/0.4601, allocations: 55.98 kB / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.645e-06/0.4602, allocations: 0 / 0.7643 GB, free: 12.71 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.169e-05/0.4603, allocations: 27.94 kB / 0.7643 GB, free: 12.69 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002326/0.4605, allocations: 16.11 kB / 0.7643 GB, free: 12.67 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003592/0.4609, allocations: 105.4 kB / 0.7644 GB, free: 12.54 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003704/0.4613, allocations: 0.6887 MB / 0.7651 GB, free: 11.83 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.128e-05/0.4613, allocations: 4.188 kB / 0.7651 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.885e-05/0.4614, allocations: 11.44 kB / 0.7651 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of SimCode: time 1.352e-06/0.4614, allocations: 0 / 0.7651 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of Templates: time 0.005439/0.4668, allocations: 1.541 MB / 0.7666 GB, free: 10.27 MB / 0.6511 GB