Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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@2/OMCompiler/build/lib/omlibrary/ModelicaServices 3.2.2/package.mo) Using package Complex with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Complex 3.2.2.mo) Using package Modelica with version 3.2.2 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Modelica 3.2.2/package.mo) Using package Buildings with version 6.0.0 (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/OMCompiler/build/lib/omlibrary/Buildings 6.0.0/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadModel(Buildings): time 4.133/4.133, allocations: 433.3 MB / 440.9 MB, free: 10.4 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.307e-05/1.316e-05, allocations: 0 / 0.5325 GB, free: 1.891 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5018/0.5019, allocations: 98.72 MB / 0.6289 GB, free: 15.73 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1975/0.6994, allocations: 125.7 MB / 0.7517 GB, free: 1.84 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004115/0.6998, allocations: 83.89 kB / 0.7518 GB, free: 1.758 MB / 0.6198 GB [/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/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.02135/0.7212, allocations: 2.913 MB / 0.7546 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.078e-06/0.7213, allocations: 0 / 0.7546 GB, free: 14.84 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.498e-05/0.7213, allocations: 0 / 0.7546 GB, free: 14.84 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.0008904/0.7222, allocations: 416 kB / 0.755 GB, free: 14.38 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.946e-05/0.7223, allocations: 12.02 kB / 0.755 GB, free: 14.37 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.662e-05/0.7224, allocations: 7.953 kB / 0.755 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002034/0.7226, allocations: 174.9 kB / 0.7552 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.549e-05/0.7227, allocations: 0 / 0.7552 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.284e-05/0.7227, allocations: 4 kB / 0.7552 GB, free: 14.15 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.00016/0.7229, allocations: 24 kB / 0.7552 GB, free: 14.12 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002208/0.7231, allocations: 61.66 kB / 0.7553 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.272e-05/0.7232, allocations: 0 / 0.7553 GB, free: 14.06 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.637e-05/0.7232, allocations: 7.984 kB / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.321e-06/0.7233, allocations: 0 / 0.7553 GB, free: 14.05 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001103/0.7244, allocations: 285.3 kB / 0.7556 GB, free: 13.73 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001678/0.7246, allocations: 42.56 kB / 0.7556 GB, free: 13.68 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001051/0.7247, allocations: 24.98 kB / 0.7556 GB, free: 13.66 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 3.735e-05/0.7248, allocations: 4 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002408/0.725, allocations: 65.53 kB / 0.7557 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 4.457e-06/0.725, allocations: 0 / 0.7557 GB, free: 13.58 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0005318/0.7256, allocations: 105.5 kB / 0.7558 GB, free: 13.47 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.5e-05/0.7257, allocations: 55.39 kB / 0.7559 GB, free: 13.4 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.7259, allocations: 109.3 kB / 0.756 GB, free: 13.29 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.784e-05/0.7259, allocations: 33.64 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001055/0.7261, allocations: 92.23 kB / 0.7561 GB, free: 13.15 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 4.149e-05/0.7261, allocations: 19.83 kB / 0.7561 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.33e-05/0.7262, allocations: 0 / 0.7561 GB, free: 13.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001919/0.7264, allocations: 310.8 kB / 0.7564 GB, free: 12.82 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001007/0.7265, allocations: 20 kB / 0.7564 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.7267, allocations: 42.61 kB / 0.7565 GB, free: 12.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001634/0.7268, allocations: 27.98 kB / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.949e-06/0.7269, allocations: 0 / 0.7565 GB, free: 12.72 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004437/0.7273, allocations: 85.53 kB / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.704e-05/0.7274, allocations: 4 kB / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.808e-06/0.7274, allocations: 0 / 0.7566 GB, free: 12.63 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.741e-05/0.7275, allocations: 7.984 kB / 0.7566 GB, free: 12.62 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002339/0.7277, allocations: 8 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.306e-05/0.7277, allocations: 3.938 kB / 0.7566 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000187/0.7279, allocations: 27.84 kB / 0.7566 GB, free: 12.58 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.798e-05/0.728, allocations: 0 / 0.7566 GB, free: 12.58 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.0001515/0.7282, allocations: 109 kB / 0.7567 GB, free: 12.47 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.966e-05/0.7282, allocations: 4 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.183e-05/0.7283, allocations: 4.625 kB / 0.7567 GB, free: 12.46 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.086e-05/0.7283, allocations: 4 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.935e-06/0.7284, allocations: 0 / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.279e-05/0.7284, allocations: 7.969 kB / 0.7567 GB, free: 12.45 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008381/0.7292, allocations: 347.1 kB / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.936e-06/0.7293, allocations: 0 / 0.7571 GB, free: 12.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001047/0.7294, allocations: 7.984 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.191e-06/0.7294, allocations: 0 / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.718e-05/0.7295, allocations: 4 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.317e-06/0.7295, allocations: 80 / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.399e-06/0.7295, allocations: 3.984 kB / 0.7571 GB, free: 12.05 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005025/0.73, allocations: 191.5 kB / 0.7573 GB, free: 11.84 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 7.73e-05/0.7301, allocations: 84.95 kB / 0.7573 GB, free: 11.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.077e-05/0.7302, allocations: 7.984 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002221/0.7304, allocations: 4 kB / 0.7574 GB, free: 11.73 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.679e-05/0.7305, allocations: 7.969 kB / 0.7574 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.1e-05/0.7306, allocations: 4 kB / 0.7574 GB, free: 11.72 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.000111/0.7307, allocations: 91.23 kB / 0.7575 GB, free: 11.63 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.358e-06/0.7307, allocations: 3.938 kB / 0.7575 GB, free: 11.62 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.000804/0.7316, allocations: 51.98 kB / 0.7575 GB, free: 11.57 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.0006584/0.7322, allocations: 167.8 kB / 0.7577 GB, free: 11.41 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0003207/0.7326, allocations: 59.92 kB / 0.7577 GB, free: 11.35 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 7.819e-06/0.7326, allocations: 4.125 kB / 0.7577 GB, free: 11.34 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001376/0.7328, allocations: 24 kB / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003772/0.7332, allocations: 0 / 0.7578 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005437/0.7338, allocations: 96.53 kB / 0.7578 GB, free: 11.2 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004647/0.7343, allocations: 0.6942 MB / 0.7585 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 8.936e-05/0.7344, allocations: 8.172 kB / 0.7585 GB, free: 10.48 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.781e-05/0.7345, allocations: 15.44 kB / 0.7585 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of SimCode: time 2.479e-06/0.7345, allocations: 0 / 0.7585 GB, free: 10.46 MB / 0.6355 GB Notification: Performance of Templates: time 0.008708/0.7432, allocations: 1.511 MB / 0.76 GB, free: 8.953 MB / 0.6355 GB