Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Office_Windows_Validation_Herkel2008WindowsTiltedOpen",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.493/4.493, allocations: 433.2 MB / 440.7 MB, free: 4.582 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.733e-05/2.732e-05, allocations: 4.781 kB / 0.5325 GB, free: 12.72 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2435/0.2435, allocations: 98.72 MB / 0.6289 GB, free: 9.168 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2941/0.5377, allocations: 125.8 MB / 0.7517 GB, free: 11.25 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003112/0.5381, allocations: 79.95 kB / 0.7518 GB, free: 11.17 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01427/0.5524, allocations: 2.912 MB / 0.7546 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.893e-06/0.5524, allocations: 0 / 0.7546 GB, free: 8.254 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.765e-06/0.5524, allocations: 0 / 0.7546 GB, free: 8.254 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.0007126/0.5532, allocations: 412 kB / 0.755 GB, free: 7.801 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.894e-05/0.5532, allocations: 8.031 kB / 0.755 GB, free: 7.793 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.508e-05/0.5533, allocations: 11.95 kB / 0.755 GB, free: 7.781 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.5534, allocations: 174.9 kB / 0.7552 GB, free: 7.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.302e-05/0.5535, allocations: 4 kB / 0.7552 GB, free: 7.566 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.457e-05/0.5535, allocations: 4 kB / 0.7552 GB, free: 7.562 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001105/0.5536, allocations: 23.98 kB / 0.7552 GB, free: 7.539 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000148/0.5538, allocations: 61.59 kB / 0.7553 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.408e-06/0.5538, allocations: 0 / 0.7553 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.493e-05/0.5538, allocations: 0 / 0.7553 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.554e-06/0.5539, allocations: 3.953 kB / 0.7553 GB, free: 7.469 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008399/0.5547, allocations: 289.4 kB / 0.7556 GB, free: 7.148 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001104/0.5548, allocations: 34.58 kB / 0.7556 GB, free: 7.105 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.99e-05/0.5549, allocations: 25.59 kB / 0.7556 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.456e-05/0.555, allocations: 0 / 0.7556 GB, free: 7.078 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000168/0.5551, allocations: 75.33 kB / 0.7557 GB, free: 6.992 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.188e-06/0.5552, allocations: 3.984 kB / 0.7557 GB, free: 6.988 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003544/0.5555, allocations: 101.6 kB / 0.7558 GB, free: 6.883 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.287e-05/0.5556, allocations: 51.41 kB / 0.7558 GB, free: 6.82 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001084/0.5557, allocations: 109 kB / 0.7559 GB, free: 6.707 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.998e-05/0.5557, allocations: 29.7 kB / 0.756 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 6.98e-05/0.5558, allocations: 92.22 kB / 0.7561 GB, free: 6.574 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.154e-05/0.5559, allocations: 11.91 kB / 0.7561 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.047e-06/0.5559, allocations: 4 kB / 0.7561 GB, free: 6.559 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001348/0.556, allocations: 322.8 kB / 0.7564 GB, free: 6.234 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.792e-05/0.5561, allocations: 12 kB / 0.7564 GB, free: 6.223 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.496e-05/0.5562, allocations: 34.58 kB / 0.7564 GB, free: 6.18 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001033/0.5563, allocations: 27.92 kB / 0.7565 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.16e-06/0.5563, allocations: 0 / 0.7565 GB, free: 6.152 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002526/0.5566, allocations: 97.45 kB / 0.7565 GB, free: 6.051 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.17e-05/0.5566, allocations: 8 kB / 0.7566 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.997e-06/0.5566, allocations: 0 / 0.7566 GB, free: 6.043 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.917e-05/0.5567, allocations: 7.938 kB / 0.7566 GB, free: 6.035 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001699/0.5569, allocations: 15.98 kB / 0.7566 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.878e-06/0.5569, allocations: 7.953 kB / 0.7566 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001121/0.557, allocations: 11.84 kB / 0.7566 GB, free: 6 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.98e-05/0.557, allocations: 4 kB / 0.7566 GB, free: 5.996 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 0.0001044/0.5571, allocations: 105 kB / 0.7567 GB, free: 5.887 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002548/0.5574, allocations: 97.83 kB / 0.7568 GB, free: 5.785 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.365e-05/0.5575, allocations: 11.89 kB / 0.7568 GB, free: 5.773 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.185e-05/0.5575, allocations: 8.625 kB / 0.7568 GB, free: 5.762 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.412e-06/0.5575, allocations: 7.953 kB / 0.7568 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.789e-06/0.5575, allocations: 0 / 0.7568 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.419e-06/0.5576, allocations: 0 / 0.7568 GB, free: 5.754 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005128/0.5581, allocations: 327.1 kB / 0.7571 GB, free: 5.391 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.049e-06/0.5581, allocations: 7.984 kB / 0.7571 GB, free: 5.383 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.741e-05/0.5582, allocations: 7.938 kB / 0.7571 GB, free: 5.375 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.125e-06/0.5582, allocations: 4 kB / 0.7572 GB, free: 5.371 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.722e-05/0.5582, allocations: 3.953 kB / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5583, allocations: 0 / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.296e-06/0.5583, allocations: 0 / 0.7572 GB, free: 5.367 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003519/0.5586, allocations: 195.4 kB / 0.7573 GB, free: 5.16 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.77e-05/0.5587, allocations: 89.02 kB / 0.7574 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.634e-05/0.5587, allocations: 0 / 0.7574 GB, free: 5.055 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001532/0.5589, allocations: 9.641 kB / 0.7574 GB, free: 5.047 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.715e-05/0.559, allocations: 11.98 kB / 0.7574 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.559, allocations: 0 / 0.7574 GB, free: 5.035 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 6.926e-05/0.5591, allocations: 91.27 kB / 0.7575 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5591, allocations: 0 / 0.7575 GB, free: 4.945 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004634/0.5596, allocations: 43.94 kB / 0.7576 GB, free: 4.902 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.001056/0.5606, allocations: 0.8146 MB / 0.7584 GB, free: 4.066 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002266/0.5609, allocations: 59.97 kB / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.715e-06/0.5609, allocations: 0 / 0.7584 GB, free: 4.008 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 9.429e-05/0.561, allocations: 28 kB / 0.7585 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002557/0.5613, allocations: 7.953 kB / 0.7585 GB, free: 3.973 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000661/0.5619, allocations: 142.1 kB / 0.7586 GB, free: 3.797 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003037/0.5623, allocations: 0.6962 MB / 0.7593 GB, free: 3.074 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0001132/0.5624, allocations: 12.78 kB / 0.7593 GB, free: 3.062 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.095e-05/0.5625, allocations: 19.44 kB / 0.7593 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of SimCode: time 1.262e-06/0.5625, allocations: 0 / 0.7593 GB, free: 3.043 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04756/0.6101, allocations: 2.178 MB / 0.7614 GB, free: 0.875 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000283/0.6104, allocations: 205 kB / 0.7616 GB, free: 0.6094 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.598/3.209, allocations: 0 / 0.7616 GB, free: 0.6094 MB / 0.6355 GB