Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Office.Windows.Validation.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.402/2.402, allocations: 251.1 MB / 266.1 MB, free: 11.63 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002258/0.002258, allocations: 181.2 kB / 325.6 MB, free: 2.844 MB / 250.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.552/2.552, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.00113/0.00113, allocations: 98.55 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004875/0.0004875, allocations: 15.38 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2113/0.2118, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2394/0.4513, allocations: 133.5 MB / 1.029 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003191/0.4516, allocations: 79.95 kB / 1.029 GB, free: 11.66 MB / 0.6823 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.01426/0.4659, allocations: 2.986 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.884e-06/0.466, allocations: 0 / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.374e-06/0.466, allocations: 4 kB / 1.032 GB, free: 8.66 MB / 0.6823 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.0007222/0.4667, allocations: 424.7 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.296e-05/0.4668, allocations: 8.031 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.592e-05/0.4668, allocations: 15.86 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001416/0.467, allocations: 163.1 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.527e-05/0.467, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.572e-05/0.4671, allocations: 11.92 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002621/0.4673, allocations: 85.58 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.769e-06/0.4674, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.614e-05/0.4674, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.541e-06/0.4674, allocations: 0 / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002335/0.4677, allocations: 43.97 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008444/0.4685, allocations: 320.6 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001979/0.4687, allocations: 54.5 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4688, allocations: 0 / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002413/0.469, allocations: 83.48 kB / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.764e-06/0.469, allocations: 0 / 1.033 GB, free: 7.301 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006535/0.4697, allocations: 153.6 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.293e-05/0.4698, allocations: 59.34 kB / 1.034 GB, free: 7.074 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001088/0.4699, allocations: 113 kB / 1.034 GB, free: 6.957 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.106e-05/0.4699, allocations: 33.7 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.47, allocations: 88.27 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.647e-05/0.47, allocations: 11.81 kB / 1.034 GB, free: 6.812 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.163e-05/0.4701, allocations: 4 kB / 1.034 GB, free: 6.809 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001287/0.4702, allocations: 322.8 kB / 1.034 GB, free: 6.484 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.4703, allocations: 27.98 kB / 1.034 GB, free: 6.457 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001897/0.4705, allocations: 50.98 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00016/0.4707, allocations: 35.98 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.4707, allocations: 0 / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004098/0.4712, allocations: 117.5 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.04e-05/0.4712, allocations: 7.984 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.502e-06/0.4712, allocations: 0 / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.754e-05/0.4712, allocations: 4 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001534/0.4714, allocations: 19.88 kB / 1.034 GB, free: 6.211 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.063e-05/0.4714, allocations: 3.953 kB / 1.034 GB, free: 6.207 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001111/0.4715, allocations: 16.05 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.926e-05/0.4716, allocations: 4 kB / 1.034 GB, free: 6.188 MB / 0.6823 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 () * Number of clocked 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.000115/0.4717, allocations: 115.8 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.354e-05/0.4717, allocations: 7.906 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.4718, allocations: 12.36 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.657e-06/0.4718, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.4718, allocations: 0 / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.532e-06/0.4718, allocations: 3.953 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006848/0.4725, allocations: 386.5 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.038e-06/0.4725, allocations: 3.984 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.318e-05/0.4726, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.116e-06/0.4726, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.782e-05/0.4726, allocations: 3.984 kB / 1.035 GB, free: 5.598 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.131e-06/0.4727, allocations: 7.953 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.4727, allocations: 4 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004435/0.4731, allocations: 213.1 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.101e-05/0.4732, allocations: 88.95 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.76e-05/0.4732, allocations: 4 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001359/0.4734, allocations: 7.984 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.97e-05/0.4734, allocations: 11.95 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.473e-05/0.4735, allocations: 3.984 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.514e-05/0.4735, allocations: 99.42 kB / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.71e-07/0.4736, allocations: 0 / 1.035 GB, free: 5.133 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004336/0.474, allocations: 47.94 kB / 1.035 GB, free: 5.086 MB / 0.6823 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 () * Number of clocked 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.0005034/0.4745, allocations: 174.2 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003776/0.4749, allocations: 75.89 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.811e-06/0.4749, allocations: 4 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.4751, allocations: 31.98 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002302/0.4753, allocations: 16.11 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.4759, allocations: 201.1 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002937/0.4762, allocations: 0.6926 MB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.576e-05/0.4763, allocations: 8.188 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.238e-05/0.4763, allocations: 15.42 kB / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of SimCode: time 6.31e-07/0.4763, allocations: 0 / 1.037 GB, free: 3.824 MB / 0.6823 GB Notification: Performance of Templates: time 0.005987/0.4823, allocations: 1.518 MB / 1.038 GB, free: 2.316 MB / 0.6823 GB