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/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.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.379/4.379, allocations: 433.2 MB / 440.7 MB, free: 4.555 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.481e-05/2.481e-05, allocations: 3.047 kB / 0.5325 GB, free: 12.76 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2681/0.2682, allocations: 98.73 MB / 0.6289 GB, free: 9.094 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.3039/0.5722, allocations: 125.7 MB / 0.7517 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004269/0.5727, allocations: 79.95 kB / 0.7518 GB, free: 11.12 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.01853/0.5913, allocations: 2.916 MB / 0.7546 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.449e-06/0.5913, allocations: 0 / 0.7546 GB, free: 8.191 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 8.206e-06/0.5913, allocations: 3.938 kB / 0.7546 GB, free: 8.188 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.0008741/0.5922, allocations: 412 kB / 0.755 GB, free: 7.734 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.772e-05/0.5923, allocations: 8.031 kB / 0.755 GB, free: 7.727 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.631e-05/0.5924, allocations: 11.95 kB / 0.755 GB, free: 7.715 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002009/0.5926, allocations: 178.9 kB / 0.7552 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.581e-05/0.5927, allocations: 4 kB / 0.7552 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.058e-05/0.5927, allocations: 0 / 0.7552 GB, free: 7.496 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001412/0.5929, allocations: 24 kB / 0.7552 GB, free: 7.473 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000191/0.5931, allocations: 57.61 kB / 0.7553 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.088e-05/0.5931, allocations: 0 / 0.7553 GB, free: 7.41 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.363e-05/0.5931, allocations: 3.984 kB / 0.7553 GB, free: 7.406 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.163e-05/0.5932, allocations: 7.938 kB / 0.7553 GB, free: 7.398 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001003/0.5942, allocations: 285.4 kB / 0.7556 GB, free: 7.082 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001386/0.5943, allocations: 38.56 kB / 0.7556 GB, free: 7.035 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.385e-05/0.5944, allocations: 25.59 kB / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.688e-05/0.5945, allocations: 0 / 0.7556 GB, free: 7.008 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002051/0.5947, allocations: 71.33 kB / 0.7557 GB, free: 6.926 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.344e-06/0.5947, allocations: 3.938 kB / 0.7557 GB, free: 6.922 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0004656/0.5952, allocations: 105.6 kB / 0.7558 GB, free: 6.812 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.622e-05/0.5953, allocations: 51.41 kB / 0.7558 GB, free: 6.75 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001314/0.5954, allocations: 105 kB / 0.7559 GB, free: 6.641 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 4.448e-05/0.5955, allocations: 33.7 kB / 0.756 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 9.308e-05/0.5956, allocations: 88.23 kB / 0.7561 GB, free: 6.508 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 3.355e-05/0.5956, allocations: 11.89 kB / 0.7561 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.112e-05/0.5957, allocations: 0 / 0.7561 GB, free: 6.496 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001895/0.5959, allocations: 318.8 kB / 0.7564 GB, free: 6.176 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.876e-05/0.596, allocations: 20 kB / 0.7564 GB, free: 6.156 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001146/0.5961, allocations: 38.56 kB / 0.7564 GB, free: 6.109 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001337/0.5962, allocations: 27.92 kB / 0.7565 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.905e-06/0.5963, allocations: 0 / 0.7565 GB, free: 6.082 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003662/0.5966, allocations: 93.61 kB / 0.7565 GB, free: 5.984 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.278e-05/0.5967, allocations: 7.938 kB / 0.7565 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.906e-06/0.5967, allocations: 7.984 kB / 0.7566 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.654e-05/0.5967, allocations: 0 / 0.7566 GB, free: 5.969 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001859/0.5969, allocations: 11.94 kB / 0.7566 GB, free: 5.957 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.311e-05/0.597, allocations: 7.953 kB / 0.7566 GB, free: 5.949 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000164/0.5971, allocations: 15.83 kB / 0.7566 GB, free: 5.934 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.624e-05/0.5972, allocations: 4 kB / 0.7566 GB, free: 5.93 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.0001737/0.5974, allocations: 109 kB / 0.7567 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0003555/0.5977, allocations: 93.61 kB / 0.7568 GB, free: 5.719 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.3e-05/0.5978, allocations: 7.906 kB / 0.7568 GB, free: 5.711 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.163e-05/0.5979, allocations: 8.625 kB / 0.7568 GB, free: 5.699 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.212e-05/0.5979, allocations: 11.94 kB / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.5979, allocations: 0 / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5979, allocations: 0 / 0.7568 GB, free: 5.688 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007119/0.5986, allocations: 331.1 kB / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.982e-06/0.5987, allocations: 0 / 0.7571 GB, free: 5.32 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.186e-05/0.5988, allocations: 15.92 kB / 0.7571 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.479e-06/0.5988, allocations: 0 / 0.7571 GB, free: 5.305 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.005e-05/0.5988, allocations: 7.953 kB / 0.7572 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.604e-06/0.5989, allocations: 320 / 0.7572 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.096e-06/0.5989, allocations: 0 / 0.7572 GB, free: 5.297 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000448/0.5993, allocations: 191.4 kB / 0.7573 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 8.522e-05/0.5994, allocations: 89 kB / 0.7574 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.492e-05/0.5995, allocations: 0 / 0.7574 GB, free: 4.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002142/0.5997, allocations: 13.64 kB / 0.7574 GB, free: 4.977 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.274e-05/0.5998, allocations: 7.984 kB / 0.7574 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.797e-05/0.5998, allocations: 0 / 0.7574 GB, free: 4.969 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 9.274e-05/0.5999, allocations: 87.94 kB / 0.7575 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of sort global known variables: time 5.51e-07/0.5999, allocations: 0 / 0.7575 GB, free: 4.883 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0007437/0.6007, allocations: 51.92 kB / 0.7576 GB, free: 4.832 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.001389/0.6021, allocations: 0.8118 MB / 0.7584 GB, free: 4 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002728/0.6024, allocations: 51.94 kB / 0.7584 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.927e-06/0.6024, allocations: 128 / 0.7584 GB, free: 3.949 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001211/0.6026, allocations: 31.98 kB / 0.7584 GB, free: 3.918 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003557/0.6029, allocations: 9.453 kB / 0.7585 GB, free: 3.91 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008984/0.6039, allocations: 146 kB / 0.7586 GB, free: 3.73 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003893/0.6043, allocations: 0.6924 MB / 0.7593 GB, free: 3.012 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 7.892e-05/0.6044, allocations: 4.188 kB / 0.7593 GB, free: 3.008 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.234e-05/0.6045, allocations: 19.42 kB / 0.7593 GB, free: 2.988 MB / 0.6355 GB Notification: Performance of SimCode: time 1.012e-06/0.6045, allocations: 8 kB / 0.7593 GB, free: 2.98 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06323/0.6677, allocations: 2.181 MB / 0.7614 GB, free: 0.8086 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002258/0.668, allocations: 199.5 kB / 0.7616 GB, free: 0.6133 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.737/3.405, allocations: 0 / 0.7616 GB, free: 0.6133 MB / 0.6355 GB