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.Nicol2001WindowsEU.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.Nicol2001WindowsEU,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_6.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsEU") Notification: Performance of loadModel(Buildings): time 3.854/3.854, allocations: 433.4 MB / 440.9 MB, free: 10.38 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 3.027e-05/3.074e-05, allocations: 4 kB / 0.5325 GB, free: 1.859 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5376/0.5377, allocations: 98.71 MB / 0.6289 GB, free: 15.71 MB / 0.5105 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1955/0.7332, allocations: 125.7 MB / 0.7517 GB, free: 1.797 MB / 0.6198 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002649/0.7335, allocations: 79.95 kB / 0.7518 GB, free: 1.719 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.01255/0.7461, allocations: 2.913 MB / 0.7546 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.071e-06/0.7461, allocations: 0 / 0.7546 GB, free: 14.8 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.218e-05/0.7461, allocations: 4 kB / 0.7546 GB, free: 14.8 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.0005912/0.7467, allocations: 405 kB / 0.755 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7468, allocations: 12.03 kB / 0.755 GB, free: 14.34 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.344e-05/0.7468, allocations: 7.953 kB / 0.755 GB, free: 14.33 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001666/0.747, allocations: 182.8 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.189e-05/0.7471, allocations: 4 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.522e-05/0.7471, allocations: 4 kB / 0.7552 GB, free: 14.11 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.942e-05/0.7472, allocations: 20 kB / 0.7552 GB, free: 14.09 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00013/0.7473, allocations: 53.67 kB / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.162e-06/0.7474, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.248e-05/0.7474, allocations: 0 / 0.7553 GB, free: 14.03 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.327e-06/0.7474, allocations: 4 kB / 0.7553 GB, free: 14.02 MB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000678/0.7481, allocations: 293.3 kB / 0.7556 GB, free: 13.7 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001081/0.7482, allocations: 42.52 kB / 0.7556 GB, free: 13.65 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.317e-05/0.7483, allocations: 28.97 kB / 0.7556 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 1.621e-05/0.7483, allocations: 0 / 0.7556 GB, free: 13.62 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000162/0.7485, allocations: 69.53 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 2.445e-06/0.7485, allocations: 4 kB / 0.7557 GB, free: 13.54 MB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003165/0.7489, allocations: 93.53 kB / 0.7558 GB, free: 13.44 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.841e-05/0.7489, allocations: 55.41 kB / 0.7558 GB, free: 13.37 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001187/0.749, allocations: 120.8 kB / 0.756 GB, free: 13.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 2.492e-05/0.7491, allocations: 25.7 kB / 0.756 GB, free: 13.21 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 8.105e-05/0.7492, allocations: 92.23 kB / 0.7561 GB, free: 13.12 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 2.511e-05/0.7492, allocations: 11.97 kB / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.773e-06/0.7492, allocations: 0 / 0.7561 GB, free: 13.11 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001737/0.7494, allocations: 326.8 kB / 0.7564 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.601e-05/0.7495, allocations: 16 kB / 0.7564 GB, free: 12.76 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.645e-05/0.7496, allocations: 42.5 kB / 0.7565 GB, free: 12.71 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.419e-05/0.7497, allocations: 16 kB / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.621e-06/0.7497, allocations: 0 / 0.7565 GB, free: 12.7 MB / 0.6355 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002478/0.7499, allocations: 97.52 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.676e-05/0.75, allocations: 8.062 kB / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.647e-06/0.75, allocations: 0 / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.309e-05/0.75, allocations: 0 / 0.7566 GB, free: 12.59 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001287/0.7501, allocations: 15.98 kB / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.443e-06/0.7502, allocations: 0 / 0.7566 GB, free: 12.57 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.827e-05/0.7503, allocations: 15.8 kB / 0.7566 GB, free: 12.55 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.181e-05/0.7503, allocations: 7.984 kB / 0.7566 GB, free: 12.55 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.0001034/0.7504, allocations: 108.9 kB / 0.7567 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.276e-05/0.7505, allocations: 8 kB / 0.7567 GB, free: 12.43 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.624e-05/0.7505, allocations: 8.625 kB / 0.7567 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.287e-06/0.7505, allocations: 0 / 0.7567 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.869e-06/0.7505, allocations: 0 / 0.7567 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.852e-06/0.7505, allocations: 0 / 0.7567 GB, free: 12.41 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005044/0.7511, allocations: 343 kB / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.594e-06/0.7511, allocations: 0 / 0.7571 GB, free: 12.04 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.172e-05/0.7512, allocations: 11.94 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.381e-06/0.7512, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.564e-05/0.7512, allocations: 7.984 kB / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.122e-06/0.7512, allocations: 0 / 0.7571 GB, free: 12.02 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.601e-06/0.7512, allocations: 4 kB / 0.7571 GB, free: 12.01 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003018/0.7515, allocations: 195.6 kB / 0.7573 GB, free: 11.8 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 6.114e-05/0.7516, allocations: 81.02 kB / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.228e-05/0.7516, allocations: 0 / 0.7573 GB, free: 11.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001284/0.7518, allocations: 7.984 kB / 0.7574 GB, free: 11.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.328e-05/0.7518, allocations: 12 kB / 0.7574 GB, free: 11.69 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.893e-05/0.7519, allocations: 7.984 kB / 0.7574 GB, free: 11.68 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 7.23e-05/0.752, allocations: 91.23 kB / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7.51e-07/0.752, allocations: 0 / 0.7575 GB, free: 11.59 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0004399/0.7524, allocations: 43.98 kB / 0.7575 GB, free: 11.55 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.0004429/0.7529, allocations: 185.2 kB / 0.7577 GB, free: 11.37 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0001829/0.7531, allocations: 51.97 kB / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/0.7531, allocations: 0 / 0.7577 GB, free: 11.32 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 8.538e-05/0.7532, allocations: 31.94 kB / 0.7578 GB, free: 11.29 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002097/0.7534, allocations: 4 kB / 0.7578 GB, free: 11.28 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003295/0.7537, allocations: 92.53 kB / 0.7578 GB, free: 11.17 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003777/0.7542, allocations: 0.7003 MB / 0.7585 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 5.39e-05/0.7542, allocations: 8.172 kB / 0.7585 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.436e-05/0.7543, allocations: 7.438 kB / 0.7585 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of SimCode: time 3.751e-06/0.7543, allocations: 0 / 0.7585 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of Templates: time 0.005153/0.7594, allocations: 1.505 MB / 0.76 GB, free: 8.922 MB / 0.6355 GB