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/OpenModelica/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/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.166/4.166, allocations: 432.6 MB / 445.2 MB, free: 15.81 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 6.169e-05/6.105e-05, allocations: 9.188 kB / 0.5383 GB, free: 10.3 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2713/0.2714, allocations: 98.72 MB / 0.6347 GB, free: 1.902 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2748/0.5463, allocations: 126.4 MB / 0.7582 GB, free: 3.309 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003423/0.5467, allocations: 83.94 kB / 0.7582 GB, free: 3.227 MB / 0.6355 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/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.01465/0.5614, allocations: 2.914 MB / 0.7611 GB, free: 316 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5614, allocations: 0 / 0.7611 GB, free: 316 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.684e-06/0.5614, allocations: 0 / 0.7611 GB, free: 316 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.0007866/0.5622, allocations: 423.9 kB / 0.7615 GB, free: 15.84 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 6.085e-05/0.5623, allocations: 12.03 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.399e-05/0.5624, allocations: 30.56 kB / 0.7615 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.376e-05/0.5624, allocations: 7.953 kB / 0.7615 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001644/0.5626, allocations: 171 kB / 0.7617 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.249e-05/0.5626, allocations: 4 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.849e-05/0.5627, allocations: 4 kB / 0.7617 GB, free: 15.57 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000201/0.5629, allocations: 65.64 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.867e-06/0.5629, allocations: 0 / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.565e-05/0.5629, allocations: 0 / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.308e-06/0.563, allocations: 4 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001047/0.5631, allocations: 27.94 kB / 0.7618 GB, free: 15.47 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008838/0.564, allocations: 312.8 kB / 0.7621 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001298/0.5641, allocations: 46.56 kB / 0.7621 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.66e-05/0.5642, allocations: 24.98 kB / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.678e-05/0.5643, allocations: 0 / 0.7622 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001764/0.5645, allocations: 75.31 kB / 0.7622 GB, free: 14.95 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.084e-06/0.5645, allocations: 7.938 kB / 0.7622 GB, free: 14.94 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003483/0.5648, allocations: 105.6 kB / 0.7623 GB, free: 14.83 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.501e-05/0.5649, allocations: 51.41 kB / 0.7624 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001308/0.5651, allocations: 109 kB / 0.7625 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.615e-05/0.5651, allocations: 33.64 kB / 0.7625 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 8.27e-05/0.5652, allocations: 96.17 kB / 0.7626 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.855e-05/0.5652, allocations: 11.89 kB / 0.7626 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.776e-06/0.5652, allocations: 4 kB / 0.7626 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001537/0.5654, allocations: 318.8 kB / 0.7629 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.413e-05/0.5655, allocations: 20 kB / 0.763 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000107/0.5656, allocations: 46.5 kB / 0.763 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.22e-05/0.5658, allocations: 19.98 kB / 0.763 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.5658, allocations: 0 / 0.763 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002824/0.5661, allocations: 101.5 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.5661, allocations: 5.25 kB / 0.7631 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.5662, allocations: 8 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.216e-05/0.5662, allocations: 3.984 kB / 0.7631 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001791/0.5664, allocations: 15.95 kB / 0.7632 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.148e-05/0.5664, allocations: 4 kB / 0.7632 GB, free: 13.94 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001157/0.5665, allocations: 11.89 kB / 0.7632 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.974e-05/0.5666, allocations: 4 kB / 0.7632 GB, free: 13.93 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.0001172/0.5667, allocations: 113 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.125e-05/0.5667, allocations: 4 kB / 0.7633 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.631e-05/0.5668, allocations: 12.62 kB / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.757e-06/0.5668, allocations: 0 / 0.7633 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.585e-05/0.5668, allocations: 7.938 kB / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.965e-06/0.5668, allocations: 0 / 0.7633 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005926/0.5674, allocations: 358.4 kB / 0.7636 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.041e-06/0.5675, allocations: 0 / 0.7636 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.398e-05/0.5675, allocations: 19.92 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.298e-06/0.5676, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.732e-05/0.5676, allocations: 3.953 kB / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.294e-06/0.5676, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.5676, allocations: 0 / 0.7637 GB, free: 13.35 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003332/0.568, allocations: 195.5 kB / 0.7639 GB, free: 13.14 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.309e-05/0.5681, allocations: 85.02 kB / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.091e-05/0.5681, allocations: 0 / 0.7639 GB, free: 13.04 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002298/0.5684, allocations: 23.92 kB / 0.764 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.112e-05/0.5685, allocations: 4 kB / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.077e-05/0.5685, allocations: 0 / 0.764 GB, free: 13.01 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001401/0.5687, allocations: 99.86 kB / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of sort global known variables: time 7.51e-07/0.5687, allocations: 0 / 0.7641 GB, free: 12.91 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0008542/0.5696, allocations: 51.88 kB / 0.7641 GB, free: 12.86 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.001799/0.5714, allocations: 0.8026 MB / 0.7649 GB, free: 12.05 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004025/0.5719, allocations: 59.91 kB / 0.765 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.689e-06/0.5719, allocations: 0 / 0.765 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001727/0.5721, allocations: 32.12 kB / 0.765 GB, free: 11.96 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003838/0.5725, allocations: 11.89 kB / 0.765 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001001/0.5735, allocations: 155 kB / 0.7651 GB, free: 11.75 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004726/0.574, allocations: 0.6887 MB / 0.7658 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 9.82e-05/0.5741, allocations: 8.172 kB / 0.7658 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.135e-05/0.5743, allocations: 19.44 kB / 0.7658 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of SimCode: time 1.463e-06/0.5743, allocations: 4 kB / 0.7658 GB, free: 11.01 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03061/0.6049, allocations: 2.509 MB / 0.7683 GB, free: 8.582 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002389/0.6052, allocations: 231.8 kB / 0.7685 GB, free: 8.348 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.679/3.285, allocations: 0 / 0.7685 GB, free: 8.348 MB / 0.6511 GB