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.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadModel(Buildings): time 3.927/3.927, allocations: 433.4 MB / 440.9 MB, free: 10.49 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.388e-05/1.394e-05, allocations: 0 / 0.5325 GB, free: 1.973 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5111/0.5111, allocations: 98.71 MB / 0.6289 GB, free: 15.75 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1912/0.7023, allocations: 125.7 MB / 0.7517 GB, free: 1.852 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002664/0.7027, allocations: 79.95 kB / 0.7518 GB, free: 1.773 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.0125/0.7152, allocations: 2.917 MB / 0.7546 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.367e-06/0.7152, allocations: 0 / 0.7546 GB, free: 14.85 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.151e-06/0.7152, allocations: 0 / 0.7546 GB, free: 14.85 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0005776/0.7158, allocations: 408.1 kB / 0.755 GB, free: 14.4 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.026e-05/0.7159, allocations: 15.95 kB / 0.755 GB, free: 14.39 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.599e-05/0.7159, allocations: 11.86 kB / 0.755 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001485/0.7161, allocations: 174.9 kB / 0.7552 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.715e-05/0.7161, allocations: 8 kB / 0.7552 GB, free: 14.16 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.072e-05/0.7162, allocations: 4 kB / 0.7552 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.437e-05/0.7163, allocations: 20 kB / 0.7552 GB, free: 14.13 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.7164, allocations: 53.67 kB / 0.7553 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.807e-06/0.7164, allocations: 0 / 0.7553 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.268e-05/0.7165, allocations: 0 / 0.7553 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.206e-06/0.7165, allocations: 0 / 0.7553 GB, free: 14.07 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006718/0.7172, allocations: 305.3 kB / 0.7556 GB, free: 13.74 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.7173, allocations: 38.58 kB / 0.7556 GB, free: 13.69 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.142e-05/0.7174, allocations: 24.97 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.913e-05/0.7174, allocations: 0 / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001486/0.7176, allocations: 69.53 kB / 0.7557 GB, free: 13.59 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.486e-06/0.7176, allocations: 4 kB / 0.7557 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.000313/0.7179, allocations: 101.5 kB / 0.7558 GB, free: 13.48 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.147e-05/0.7179, allocations: 51.41 kB / 0.7559 GB, free: 13.41 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001054/0.7181, allocations: 120.8 kB / 0.756 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.56e-05/0.7181, allocations: 29.7 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.657e-05/0.7182, allocations: 84.41 kB / 0.7561 GB, free: 13.16 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.203e-05/0.7182, allocations: 19.8 kB / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.367e-06/0.7182, allocations: 0 / 0.7561 GB, free: 13.14 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001573/0.7184, allocations: 326.8 kB / 0.7564 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.246e-05/0.7185, allocations: 12 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.698e-05/0.7186, allocations: 38.56 kB / 0.7565 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.803e-05/0.7187, allocations: 20 kB / 0.7565 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.753e-06/0.7187, allocations: 0 / 0.7565 GB, free: 12.74 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002388/0.7189, allocations: 93.5 kB / 0.7566 GB, free: 12.64 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.881e-05/0.719, allocations: 8.062 kB / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.176e-06/0.719, allocations: 4 kB / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.719, allocations: 0 / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001291/0.7191, allocations: 23.92 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.683e-06/0.7192, allocations: 0 / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001065/0.7193, allocations: 11.89 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.353e-05/0.7193, allocations: 7.984 kB / 0.7566 GB, free: 12.59 MB / 0.6355 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 9.855e-05/0.7194, allocations: 105 kB / 0.7567 GB, free: 12.48 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.024e-05/0.7194, allocations: 7.906 kB / 0.7567 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.464e-05/0.7195, allocations: 12.62 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.874e-06/0.7195, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.615e-06/0.7195, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.597e-06/0.7195, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004858/0.72, allocations: 342.9 kB / 0.7571 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.349e-06/0.72, allocations: 4 kB / 0.7571 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.066e-05/0.7201, allocations: 4 kB / 0.7571 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.55e-06/0.7201, allocations: 0 / 0.7571 GB, free: 12.07 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.506e-05/0.7202, allocations: 7.984 kB / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.091e-06/0.7202, allocations: 0 / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.663e-06/0.7202, allocations: 0 / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002882/0.7205, allocations: 191.7 kB / 0.7573 GB, free: 11.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.779e-05/0.7206, allocations: 85.02 kB / 0.7573 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.153e-05/0.7206, allocations: 0 / 0.7573 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001295/0.7207, allocations: 7.984 kB / 0.7574 GB, free: 11.75 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.914e-05/0.7208, allocations: 11.94 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.018e-05/0.7208, allocations: 7.984 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.959e-05/0.7209, allocations: 91.23 kB / 0.7575 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.23e-07/0.7209, allocations: 0 / 0.7575 GB, free: 11.64 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0003986/0.7213, allocations: 47.98 kB / 0.7575 GB, free: 11.59 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: 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.0004363/0.7218, allocations: 188.2 kB / 0.7577 GB, free: 11.4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001736/0.722, allocations: 55.91 kB / 0.7577 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.293e-06/0.722, allocations: 0 / 0.7577 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 7.296e-05/0.7221, allocations: 24 kB / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002082/0.7223, allocations: 8 kB / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003264/0.7226, allocations: 96.47 kB / 0.7579 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003631/0.723, allocations: 0.7003 MB / 0.7585 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.443e-05/0.7231, allocations: 8.172 kB / 0.7586 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.409e-05/0.7231, allocations: 7.438 kB / 0.7586 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of SimCode: time 3.285e-06/0.7231, allocations: 0 / 0.7586 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.005062/0.7282, allocations: 1.509 MB / 0.76 GB, free: 8.953 MB / 0.6355 GB