Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelica/./OMCompiler/build/lib/omlibrary/ --ompython_omhome=/usr Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU.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.Residential.Windows.Validation.Nicol2001WindowsEU,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsEU",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.352/4.352, allocations: 432.6 MB / 445.2 MB, free: 15.82 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 3.776e-05/3.778e-05, allocations: 3.812 kB / 0.5383 GB, free: 10.27 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2267/0.2267, allocations: 98.73 MB / 0.6347 GB, free: 1.922 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3536/0.5804, allocations: 126.4 MB / 0.7581 GB, free: 3.355 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003237/0.5808, allocations: 79.95 kB / 0.7582 GB, free: 3.277 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.0156/0.5964, allocations: 2.929 MB / 0.7611 GB, free: 352 kB / 0.6355 GB Notification: Performance of FrontEnd: time 1.653e-06/0.5964, allocations: 0 / 0.7611 GB, free: 352 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.825e-06/0.5965, allocations: 0 / 0.7611 GB, free: 352 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.0007147/0.5972, allocations: 419.9 kB / 0.7615 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 5.36e-05/0.5973, allocations: 8.031 kB / 0.7615 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.328e-05/0.5973, allocations: 38.55 kB / 0.7615 GB, free: 15.83 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.194e-05/0.5974, allocations: 7.953 kB / 0.7615 GB, free: 15.82 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001463/0.5975, allocations: 171 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.463e-05/0.5976, allocations: 4 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.274e-05/0.5976, allocations: 4 kB / 0.7617 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001823/0.5978, allocations: 61.67 kB / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.5978, allocations: 4 kB / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.56e-05/0.5979, allocations: 0 / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.5979, allocations: 0 / 0.7618 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001068/0.598, allocations: 31.92 kB / 0.7618 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008806/0.5989, allocations: 312.8 kB / 0.7621 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001217/0.599, allocations: 46.52 kB / 0.7621 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.953e-05/0.5991, allocations: 24.98 kB / 0.7622 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.852e-05/0.5992, allocations: 3.984 kB / 0.7622 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000183/0.5994, allocations: 79.39 kB / 0.7622 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.465e-06/0.5994, allocations: 0 / 0.7622 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003415/0.5997, allocations: 97.53 kB / 0.7623 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.212e-05/0.5998, allocations: 59.41 kB / 0.7624 GB, free: 14.8 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001185/0.5999, allocations: 112.9 kB / 0.7625 GB, free: 14.68 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.6, allocations: 29.7 kB / 0.7625 GB, free: 14.65 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.713e-05/0.6001, allocations: 96.17 kB / 0.7626 GB, free: 14.55 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001544/0.6002, allocations: 11.84 kB / 0.7626 GB, free: 14.54 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.256e-05/0.6002, allocations: 4 kB / 0.7626 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001435/0.6004, allocations: 322.8 kB / 0.7629 GB, free: 14.21 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.006e-05/0.6005, allocations: 16 kB / 0.763 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.444e-05/0.6006, allocations: 46.5 kB / 0.763 GB, free: 14.14 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.573e-05/0.6007, allocations: 23.98 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.332e-06/0.6007, allocations: 4 kB / 0.763 GB, free: 14.11 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002604/0.601, allocations: 97.52 kB / 0.7631 GB, free: 14.01 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.682e-05/0.601, allocations: 4 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.37e-06/0.601, allocations: 0 / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.601, allocations: 4 kB / 0.7631 GB, free: 14 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001596/0.6012, allocations: 20 kB / 0.7631 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.307e-06/0.6012, allocations: 4 kB / 0.7632 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001063/0.6014, allocations: 7.906 kB / 0.7632 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.077e-05/0.6014, allocations: 11.98 kB / 0.7632 GB, free: 13.96 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.0001/0.6015, allocations: 108.9 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.261e-05/0.6015, allocations: 4 kB / 0.7633 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.798e-05/0.6016, allocations: 12.56 kB / 0.7633 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.62e-06/0.6016, allocations: 8 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.556e-06/0.6016, allocations: 3.953 kB / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.6016, allocations: 0 / 0.7633 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005398/0.6022, allocations: 366.5 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6022, allocations: 0 / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.829e-05/0.6023, allocations: 7.984 kB / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.227e-06/0.6023, allocations: 0 / 0.7637 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.94e-05/0.6023, allocations: 7.953 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.104e-06/0.6023, allocations: 0 / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.793e-06/0.6023, allocations: 4.078 kB / 0.7637 GB, free: 13.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003095/0.6027, allocations: 195.5 kB / 0.7639 GB, free: 13.17 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.108e-05/0.6027, allocations: 85 kB / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.386e-05/0.6028, allocations: 0 / 0.7639 GB, free: 13.07 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001408/0.6029, allocations: 7.953 kB / 0.7639 GB, free: 13.06 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.054e-05/0.603, allocations: 7.984 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.548e-05/0.603, allocations: 4 kB / 0.764 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.965e-05/0.6031, allocations: 95.27 kB / 0.764 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.1e-07/0.6031, allocations: 3.938 kB / 0.7641 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.000428/0.6035, allocations: 55.88 kB / 0.7641 GB, free: 12.89 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.0009967/0.6045, allocations: 0.8023 MB / 0.7649 GB, free: 12.08 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002209/0.6048, allocations: 55.94 kB / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.6048, allocations: 0 / 0.7649 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0001092/0.6049, allocations: 31.92 kB / 0.765 GB, free: 11.99 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002183/0.6051, allocations: 9.641 kB / 0.765 GB, free: 11.98 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005991/0.6057, allocations: 155.2 kB / 0.7651 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003196/0.6061, allocations: 0.6965 MB / 0.7658 GB, free: 11.07 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.323e-05/0.6062, allocations: 8.172 kB / 0.7658 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.116e-05/0.6062, allocations: 15.44 kB / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of SimCode: time 1.052e-06/0.6062, allocations: 0 / 0.7658 GB, free: 11.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02559/0.6318, allocations: 2.513 MB / 0.7683 GB, free: 8.613 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003695/0.6323, allocations: 224.1 kB / 0.7685 GB, free: 8.383 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.539/3.171, allocations: 7.938 kB / 0.7685 GB, free: 8.375 MB / 0.6511 GB