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.538/2.538, allocations: 252.6 MB / 265.2 MB, free: 5.652 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.001931/0.00193, allocations: 187.8 kB / 324.5 MB, free: 14.41 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.205/2.205, allocations: 205.4 MB / 0.5754 GB, free: 10.49 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.001397/0.001397, allocations: 94.06 kB / 0.6797 GB, free: 15.73 MB / 0.5261 GB Notification: Performance of FrontEnd - loaded program: time 3.357e-05/3.361e-05, allocations: 4 kB / 0.7911 GB, free: 96.62 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1965/0.1965, allocations: 106.3 MB / 0.8949 GB, free: 6.27 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8638/1.06, allocations: 133.4 MB / 1.025 GB, free: 1.105 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003149/1.061, allocations: 81.56 kB / 1.025 GB, free: 1.059 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.01409/1.075, allocations: 2.976 MB / 1.028 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.463e-06/1.075, allocations: 0 / 1.028 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 7.434e-06/1.075, allocations: 4 kB / 1.028 GB, free: 14.5 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.0006926/1.076, allocations: 415.9 kB / 1.029 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.984e-05/1.076, allocations: 8.031 kB / 1.029 GB, free: 14.04 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.481e-05/1.076, allocations: 15.17 kB / 1.029 GB, free: 14.03 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000162/1.076, allocations: 173.1 kB / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.53e-05/1.076, allocations: 7.938 kB / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.162e-05/1.076, allocations: 0 / 1.029 GB, free: 13.82 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001786/1.076, allocations: 63.92 kB / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.022e-05/1.076, allocations: 0 / 1.029 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.906e-05/1.076, allocations: 4 kB / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/1.076, allocations: 0 / 1.029 GB, free: 13.75 MB / 0.6511 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001053/1.076, allocations: 27.41 kB / 1.029 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/1.077, allocations: 322.2 kB / 1.029 GB, free: 13.39 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001439/1.077, allocations: 37.52 kB / 1.029 GB, free: 13.36 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.954e-05/1.077, allocations: 27.48 kB / 1.029 GB, free: 13.34 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.78e-05/1.078, allocations: 3.984 kB / 1.029 GB, free: 13.33 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001788/1.078, allocations: 70.56 kB / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.415e-06/1.078, allocations: 0 / 1.029 GB, free: 13.26 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.000339/1.078, allocations: 110.8 kB / 1.029 GB, free: 13.16 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.288e-05/1.078, allocations: 55.09 kB / 1.029 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001121/1.078, allocations: 112 kB / 1.03 GB, free: 12.99 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.13e-05/1.078, allocations: 25.7 kB / 1.03 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.817e-05/1.078, allocations: 92.02 kB / 1.03 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.723e-05/1.078, allocations: 11.75 kB / 1.03 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.161e-05/1.078, allocations: 7.562 kB / 1.03 GB, free: 12.85 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000132/1.079, allocations: 321.9 kB / 1.03 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.139e-05/1.079, allocations: 19.5 kB / 1.03 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.245e-05/1.079, allocations: 49.23 kB / 1.03 GB, free: 12.47 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.459e-05/1.079, allocations: 19.12 kB / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/1.079, allocations: 0 / 1.03 GB, free: 12.46 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002509/1.079, allocations: 100.2 kB / 1.03 GB, free: 12.37 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.38e-05/1.079, allocations: 4 kB / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.737e-06/1.079, allocations: 7.938 kB / 1.03 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.517e-05/1.079, allocations: 4.062 kB / 1.03 GB, free: 12.35 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001551/1.079, allocations: 11.98 kB / 1.03 GB, free: 12.34 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.393e-05/1.079, allocations: 7.953 kB / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001084/1.08, allocations: 7.375 kB / 1.03 GB, free: 12.33 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.213e-05/1.08, allocations: 7.984 kB / 1.03 GB, free: 12.32 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.424e-05/1.08, allocations: 109.6 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.992e-05/1.08, allocations: 3.906 kB / 1.03 GB, free: 12.21 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.915e-05/1.08, allocations: 16.06 kB / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/1.08, allocations: 0 / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.275e-06/1.08, allocations: 0 / 1.03 GB, free: 12.2 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.382e-06/1.08, allocations: 7.891 kB / 1.03 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005189/1.08, allocations: 354.1 kB / 1.031 GB, free: 11.82 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.174e-06/1.08, allocations: 4 kB / 1.031 GB, free: 11.81 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.766e-05/1.08, allocations: 7.984 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.407e-06/1.08, allocations: 0 / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.509e-05/1.08, allocations: 0.875 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.238e-06/1.08, allocations: 7.953 kB / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.493e-06/1.08, allocations: 0 / 1.031 GB, free: 11.8 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000304/1.081, allocations: 201.8 kB / 1.031 GB, free: 11.61 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.316e-05/1.081, allocations: 89 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.34e-05/1.081, allocations: 0 / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001345/1.081, allocations: 4 kB / 1.031 GB, free: 11.5 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.55e-05/1.081, allocations: 19.56 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.261e-05/1.081, allocations: 4 kB / 1.031 GB, free: 11.48 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.663e-05/1.081, allocations: 103 kB / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.11e-07/1.081, allocations: 0 / 1.031 GB, free: 11.38 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004723/1.082, allocations: 47.75 kB / 1.031 GB, free: 11.34 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.0004836/1.082, allocations: 173.4 kB / 1.031 GB, free: 11.17 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002228/1.082, allocations: 58.48 kB / 1.031 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.304e-06/1.082, allocations: 0 / 1.031 GB, free: 11.13 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.413e-05/1.083, allocations: 26.5 kB / 1.031 GB, free: 11.11 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002216/1.083, allocations: 15.55 kB / 1.031 GB, free: 11.1 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003744/1.083, allocations: 92.72 kB / 1.032 GB, free: 10.99 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002996/1.083, allocations: 0.6926 MB / 1.032 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.964e-05/1.084, allocations: 8.312 kB / 1.032 GB, free: 10.27 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.362e-05/1.084, allocations: 15.19 kB / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/1.084, allocations: 0 / 1.032 GB, free: 10.25 MB / 0.6511 GB Notification: Performance of Templates: time 0.006064/1.09, allocations: 1.529 MB / 1.034 GB, free: 8.742 MB / 0.6511 GB