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.Nicol2001WindowsUK.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.Nicol2001WindowsUK,fileNamePrefix="Buildings_6_0_0_Buildings_Occupants_Residential_Windows_Validation_Nicol2001WindowsUK",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadModel(Buildings): time 4.293/4.293, allocations: 433.2 MB / 440.7 MB, free: 4.566 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.823e-05/2.841e-05, allocations: 1.859 kB / 0.5325 GB, free: 12.78 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2786/0.2787, allocations: 98.73 MB / 0.6289 GB, free: 9.129 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2833/0.5621, allocations: 125.7 MB / 0.7517 GB, free: 11.23 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003904/0.5626, allocations: 79.95 kB / 0.7518 GB, free: 11.15 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.01415/0.5767, allocations: 2.912 MB / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of FrontEnd: time 4.248e-06/0.5768, allocations: 0 / 0.7546 GB, free: 8.227 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.334e-06/0.5768, allocations: 3.938 kB / 0.7546 GB, free: 8.223 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.0006723/0.5775, allocations: 416 kB / 0.755 GB, free: 7.766 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.64e-05/0.5775, allocations: 8.031 kB / 0.755 GB, free: 7.758 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.945e-05/0.5776, allocations: 11.89 kB / 0.755 GB, free: 7.746 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001458/0.5777, allocations: 178.9 kB / 0.7552 GB, free: 7.531 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.044e-05/0.5778, allocations: 4 kB / 0.7552 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.893e-05/0.5778, allocations: 7.984 kB / 0.7552 GB, free: 7.52 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001108/0.5779, allocations: 20 kB / 0.7552 GB, free: 7.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001461/0.5781, allocations: 57.61 kB / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.957e-06/0.5781, allocations: 0 / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.455e-05/0.5782, allocations: 0 / 0.7553 GB, free: 7.438 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.015e-06/0.5782, allocations: 3.953 kB / 0.7553 GB, free: 7.434 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007733/0.5789, allocations: 289.4 kB / 0.7556 GB, free: 7.113 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001114/0.5791, allocations: 34.58 kB / 0.7556 GB, free: 7.07 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.035e-05/0.5792, allocations: 25.59 kB / 0.7556 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.447e-05/0.5792, allocations: 0 / 0.7556 GB, free: 7.043 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001694/0.5794, allocations: 75.39 kB / 0.7557 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.348e-06/0.5794, allocations: 0 / 0.7557 GB, free: 6.957 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003463/0.5797, allocations: 105.5 kB / 0.7558 GB, free: 6.848 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.298e-05/0.5798, allocations: 55.39 kB / 0.7558 GB, free: 6.781 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000109/0.5799, allocations: 105 kB / 0.7559 GB, free: 6.672 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.594e-05/0.58, allocations: 29.7 kB / 0.756 GB, free: 6.637 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 7.377e-05/0.58, allocations: 92.22 kB / 0.7561 GB, free: 6.539 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.547e-05/0.5801, allocations: 11.91 kB / 0.7561 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.506e-06/0.5801, allocations: 0 / 0.7561 GB, free: 6.527 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001437/0.5803, allocations: 318.8 kB / 0.7564 GB, free: 6.207 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.271e-05/0.5803, allocations: 20 kB / 0.7564 GB, free: 6.188 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.449e-05/0.5804, allocations: 35.02 kB / 0.7564 GB, free: 6.145 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.808e-05/0.5805, allocations: 27.92 kB / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.5806, allocations: 0 / 0.7564 GB, free: 6.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000253/0.5808, allocations: 93.56 kB / 0.7565 GB, free: 6.02 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.719e-05/0.5808, allocations: 7.938 kB / 0.7565 GB, free: 6.012 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.5809, allocations: 4 kB / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.366e-05/0.5809, allocations: 0 / 0.7566 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001855/0.5811, allocations: 11.98 kB / 0.7566 GB, free: 5.996 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.605e-05/0.5811, allocations: 7.953 kB / 0.7566 GB, free: 5.988 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001114/0.5812, allocations: 11.84 kB / 0.7566 GB, free: 5.977 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.857e-05/0.5813, allocations: 4 kB / 0.7566 GB, free: 5.973 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.0001004/0.5814, allocations: 113 kB / 0.7567 GB, free: 5.855 MB / 0.6355 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0002511/0.5816, allocations: 93.61 kB / 0.7568 GB, free: 5.758 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.033e-05/0.5817, allocations: 7.906 kB / 0.7568 GB, free: 5.75 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.814e-05/0.5817, allocations: 12.61 kB / 0.7568 GB, free: 5.734 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.047e-05/0.5818, allocations: 7.953 kB / 0.7568 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.46e-06/0.5818, allocations: 0 / 0.7568 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.769e-06/0.5818, allocations: 0 / 0.7568 GB, free: 5.727 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005486/0.5824, allocations: 335 kB / 0.7571 GB, free: 5.355 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.789e-06/0.5824, allocations: 3.938 kB / 0.7571 GB, free: 5.352 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.614e-05/0.5825, allocations: 11.94 kB / 0.7571 GB, free: 5.34 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.5825, allocations: 4 kB / 0.7571 GB, free: 5.336 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.606e-05/0.5825, allocations: 3.953 kB / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.5825, allocations: 0 / 0.7572 GB, free: 5.332 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.679e-06/0.5825, allocations: 3.984 kB / 0.7572 GB, free: 5.328 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003076/0.5828, allocations: 191.7 kB / 0.7573 GB, free: 5.125 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 5.467e-05/0.5829, allocations: 85.02 kB / 0.7574 GB, free: 5.023 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.735e-05/0.5829, allocations: 8 kB / 0.7574 GB, free: 5.016 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001413/0.5831, allocations: 13.62 kB / 0.7574 GB, free: 5.004 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.657e-05/0.5832, allocations: 4 kB / 0.7574 GB, free: 5 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.285e-05/0.5832, allocations: 0 / 0.7574 GB, free: 5 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.03e-05/0.5833, allocations: 99.42 kB / 0.7575 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.51e-07/0.5833, allocations: 0 / 0.7575 GB, free: 4.902 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004499/0.5837, allocations: 43.94 kB / 0.7576 GB, free: 4.859 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.0009902/0.5847, allocations: 0.7972 MB / 0.7584 GB, free: 4.043 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0002042/0.5849, allocations: 55.92 kB / 0.7584 GB, free: 3.988 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.113e-06/0.585, allocations: 8.062 kB / 0.7584 GB, free: 3.98 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001059/0.5851, allocations: 24 kB / 0.7584 GB, free: 3.957 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.5853, allocations: 11.95 kB / 0.7585 GB, free: 3.945 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000597/0.5859, allocations: 146 kB / 0.7586 GB, free: 3.766 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003309/0.5863, allocations: 0.6924 MB / 0.7593 GB, free: 3.047 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 6.474e-05/0.5864, allocations: 12.16 kB / 0.7593 GB, free: 3.035 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.416e-05/0.5865, allocations: 19.44 kB / 0.7593 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of SimCode: time 8.52e-07/0.5865, allocations: 0 / 0.7593 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04047/0.6269, allocations: 2.18 MB / 0.7614 GB, free: 0.8438 MB / 0.6355 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002765/0.6273, allocations: 192.5 kB / 0.7616 GB, free: 0.6523 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.607/3.235, allocations: 0 / 0.7616 GB, free: 0.6523 MB / 0.6355 GB