Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK.conf.json Using package ModelicaServices with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.1 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo) Running command: translateModel(Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Residential.Windows.Validation.Nicol2001WindowsUK") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.502/2.502, allocations: 252.6 MB / 265.2 MB, free: 5.703 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001428/0.001427, allocations: 178.1 kB / 324.5 MB, free: 14.35 MB / 266.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.012/2.012, allocations: 205.4 MB / 0.5753 GB, free: 10.46 MB / 426.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001087/0.001087, allocations: 97.69 kB / 0.6797 GB, free: 15.69 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.437e-05/3.448e-05, allocations: 4 kB / 0.7911 GB, free: 96.58 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2011/0.2012, allocations: 106.2 MB / 0.8949 GB, free: 6.254 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8542/1.055, allocations: 133.5 MB / 1.025 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002963/1.056, allocations: 78.95 kB / 1.025 GB, free: 0.9883 MB / 0.6355 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/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.01385/1.07, allocations: 2.978 MB / 1.028 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.513e-06/1.07, allocations: 0 / 1.028 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.384e-06/1.07, allocations: 0 / 1.028 GB, free: 14.43 MB / 0.6511 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.0006287/1.07, allocations: 418.5 kB / 1.029 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/1.07, allocations: 12.02 kB / 1.029 GB, free: 13.97 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.583e-05/1.07, allocations: 11.86 kB / 1.029 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001305/1.071, allocations: 170.9 kB / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.219e-05/1.071, allocations: 4 kB / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.575e-05/1.071, allocations: 7.5 kB / 1.029 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001739/1.071, allocations: 59.23 kB / 1.029 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.071, allocations: 4 kB / 1.029 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.668e-05/1.071, allocations: 3.984 kB / 1.029 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.35e-06/1.071, allocations: 0 / 1.029 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.84e-05/1.071, allocations: 29.34 kB / 1.029 GB, free: 13.66 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008135/1.072, allocations: 314.7 kB / 1.029 GB, free: 13.32 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001185/1.072, allocations: 45.02 kB / 1.029 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.567e-05/1.072, allocations: 25.11 kB / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.475e-05/1.072, allocations: 0 / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001636/1.072, allocations: 69.83 kB / 1.029 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.094e-06/1.072, allocations: 0 / 1.029 GB, free: 13.19 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003379/1.073, allocations: 107.7 kB / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.854e-05/1.073, allocations: 63.39 kB / 1.029 GB, free: 13.02 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001053/1.073, allocations: 103.6 kB / 1.03 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.311e-05/1.073, allocations: 25.7 kB / 1.03 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.595e-05/1.073, allocations: 95.31 kB / 1.03 GB, free: 12.8 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.852e-05/1.073, allocations: 19.19 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.686e-06/1.073, allocations: 3.938 kB / 1.03 GB, free: 12.78 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001162/1.073, allocations: 318.5 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.107e-05/1.073, allocations: 22.56 kB / 1.03 GB, free: 12.45 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.736e-05/1.073, allocations: 41.95 kB / 1.03 GB, free: 12.4 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.486e-05/1.073, allocations: 27.8 kB / 1.03 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.073, allocations: 3.938 kB / 1.03 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002482/1.074, allocations: 97.77 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.989e-05/1.074, allocations: 8 kB / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/1.074, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.364e-05/1.074, allocations: 0 / 1.03 GB, free: 12.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001604/1.074, allocations: 20.61 kB / 1.03 GB, free: 12.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.768e-06/1.074, allocations: 3.953 kB / 1.03 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001073/1.074, allocations: 7.812 kB / 1.03 GB, free: 12.26 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.921e-05/1.074, allocations: 4 kB / 1.03 GB, free: 12.25 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 9.276e-05/1.074, allocations: 114.3 kB / 1.03 GB, free: 12.14 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.559e-05/1.074, allocations: 7.906 kB / 1.03 GB, free: 12.13 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.36e-05/1.074, allocations: 8.562 kB / 1.03 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/1.074, allocations: 8 kB / 1.03 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.541e-06/1.074, allocations: 0 / 1.03 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.263e-06/1.074, allocations: 3.953 kB / 1.03 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005034/1.075, allocations: 364.9 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.184e-06/1.075, allocations: 0 / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.492e-05/1.075, allocations: 4 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.791e-06/1.075, allocations: 3.984 kB / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.405e-05/1.075, allocations: 0 / 1.031 GB, free: 11.73 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.095e-06/1.075, allocations: 7.953 kB / 1.031 GB, free: 11.72 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/1.075, allocations: 7.938 kB / 1.031 GB, free: 11.71 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003138/1.075, allocations: 190.9 kB / 1.031 GB, free: 11.53 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/1.075, allocations: 85.02 kB / 1.031 GB, free: 11.43 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.774e-05/1.075, allocations: 7.672 kB / 1.031 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001344/1.076, allocations: 4 kB / 1.031 GB, free: 11.42 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.232e-05/1.076, allocations: 11.94 kB / 1.031 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.258e-05/1.076, allocations: 0 / 1.031 GB, free: 11.41 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.827e-05/1.076, allocations: 101.3 kB / 1.031 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.51e-07/1.076, allocations: 0 / 1.031 GB, free: 11.31 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004246/1.076, allocations: 51.48 kB / 1.031 GB, free: 11.27 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.0004525/1.077, allocations: 169.1 kB / 1.031 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002147/1.077, allocations: 58.55 kB / 1.031 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.364e-06/1.077, allocations: 0 / 1.031 GB, free: 11.06 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.428e-05/1.077, allocations: 30.56 kB / 1.031 GB, free: 11.04 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002174/1.077, allocations: 11.94 kB / 1.031 GB, free: 11.03 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003662/1.078, allocations: 100.4 kB / 1.032 GB, free: 10.92 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002628/1.078, allocations: 0.6926 MB / 1.032 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.009e-05/1.078, allocations: 8.312 kB / 1.032 GB, free: 10.2 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.058e-05/1.078, allocations: 11.44 kB / 1.032 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/1.078, allocations: 0 / 1.032 GB, free: 10.18 MB / 0.6511 GB Notification: Performance of Templates: time 0.005769/1.084, allocations: 1.537 MB / 1.034 GB, free: 8.66 MB / 0.6511 GB