Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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 9.0.0 (/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.993/4.993, allocations: 0.5623 GB / 0.5776 GB, free: 3.367 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002694/0.002693, allocations: 356.2 kB / 0.6446 GB, free: 185.6 MB / 474.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.406/4.406, allocations: 410.7 MB / 1.113 GB, free: 147.9 MB / 0.5886 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001814/0.001813, allocations: 174.1 kB / 1.226 GB, free: 35.98 MB / 0.5886 GB Notification: Performance of FrontEnd - loaded program: time 0.0004905/0.0004907, allocations: 12 kB / 1.349 GB, free: 121.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2195/0.22, allocations: 115.3 MB / 1.461 GB, free: 6.594 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.9895/1.21, allocations: 139.8 MB / 1.598 GB, free: 1.879 MB / 0.6667 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002838/1.21, allocations: 85.64 kB / 1.598 GB, free: 1.832 MB / 0.6667 GB [/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/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.01387/1.224, allocations: 2.988 MB / 1.601 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.174e-06/1.224, allocations: 0 / 1.601 GB, free: 15.27 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.207e-05/1.224, allocations: 4 kB / 1.601 GB, free: 15.27 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.0007893/1.225, allocations: 435.9 kB / 1.601 GB, free: 14.8 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.359e-05/1.225, allocations: 8.031 kB / 1.601 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.171e-05/1.225, allocations: 4 kB / 1.601 GB, free: 14.79 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001612/1.225, allocations: 178.9 kB / 1.601 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.502e-05/1.225, allocations: 7.938 kB / 1.602 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.258e-05/1.225, allocations: 0 / 1.602 GB, free: 14.57 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002618/1.225, allocations: 71.28 kB / 1.602 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.183e-05/1.225, allocations: 4 kB / 1.602 GB, free: 14.5 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.831e-05/1.225, allocations: 11.55 kB / 1.602 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.25e-06/1.225, allocations: 0 / 1.602 GB, free: 14.49 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002337/1.226, allocations: 42.84 kB / 1.602 GB, free: 14.45 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008567/1.226, allocations: 321.6 kB / 1.602 GB, free: 14.11 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/1.227, allocations: 53.25 kB / 1.602 GB, free: 14.06 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001438/1.227, allocations: 35.03 kB / 1.602 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.649e-05/1.227, allocations: 0 / 1.602 GB, free: 14.03 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002598/1.227, allocations: 78.56 kB / 1.602 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.943e-06/1.227, allocations: 0 / 1.602 GB, free: 13.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000633/1.228, allocations: 153.1 kB / 1.602 GB, free: 13.82 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.213e-05/1.228, allocations: 62.73 kB / 1.602 GB, free: 13.75 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001303/1.228, allocations: 116.2 kB / 1.602 GB, free: 13.63 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.578e-05/1.228, allocations: 28.83 kB / 1.602 GB, free: 13.6 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.08e-05/1.228, allocations: 95.59 kB / 1.603 GB, free: 13.5 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/1.228, allocations: 18.56 kB / 1.603 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.468e-06/1.228, allocations: 3.188 kB / 1.603 GB, free: 13.49 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.000137/1.228, allocations: 318.3 kB / 1.603 GB, free: 13.17 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001458/1.229, allocations: 34.42 kB / 1.603 GB, free: 13.14 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001541/1.229, allocations: 45.12 kB / 1.603 GB, free: 13.1 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001616/1.229, allocations: 37.53 kB / 1.603 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.635e-06/1.229, allocations: 3.938 kB / 1.603 GB, free: 13.07 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003981/1.229, allocations: 118.7 kB / 1.603 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/1.229, allocations: 4 kB / 1.603 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.221e-06/1.229, allocations: 0 / 1.603 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.796e-05/1.229, allocations: 4 kB / 1.603 GB, free: 12.96 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001563/1.23, allocations: 15.92 kB / 1.603 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.009e-05/1.23, allocations: 3.953 kB / 1.603 GB, free: 12.94 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001149/1.23, allocations: 15.97 kB / 1.603 GB, free: 12.92 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.046e-05/1.23, allocations: 3.984 kB / 1.603 GB, free: 12.92 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.0001287/1.23, allocations: 123 kB / 1.603 GB, free: 12.8 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.213e-05/1.23, allocations: 4 kB / 1.603 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.65e-05/1.23, allocations: 8.188 kB / 1.603 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/1.23, allocations: 0 / 1.603 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.689e-06/1.23, allocations: 0 / 1.603 GB, free: 12.79 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/1.23, allocations: 7.891 kB / 1.603 GB, free: 12.78 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007025/1.231, allocations: 391.2 kB / 1.604 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.225e-06/1.231, allocations: 0 / 1.604 GB, free: 12.38 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.896e-05/1.231, allocations: 7.984 kB / 1.604 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.697e-06/1.231, allocations: 0 / 1.604 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.435e-05/1.231, allocations: 0 / 1.604 GB, free: 12.37 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.486e-06/1.231, allocations: 7.953 kB / 1.604 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.904e-06/1.231, allocations: 4 kB / 1.604 GB, free: 12.36 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004553/1.231, allocations: 210 kB / 1.604 GB, free: 12.16 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.749e-05/1.231, allocations: 88.95 kB / 1.604 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.753e-05/1.231, allocations: 3.5 kB / 1.604 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000137/1.232, allocations: 11.98 kB / 1.604 GB, free: 12.04 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.595e-05/1.232, allocations: 7.953 kB / 1.604 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.322e-05/1.232, allocations: 0 / 1.604 GB, free: 12.03 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.792e-05/1.232, allocations: 96.44 kB / 1.604 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.71e-07/1.232, allocations: 0 / 1.604 GB, free: 11.94 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004749/1.232, allocations: 55.34 kB / 1.604 GB, free: 11.89 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.0004756/1.233, allocations: 177.4 kB / 1.604 GB, free: 11.73 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003903/1.233, allocations: 81.48 kB / 1.604 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 4.418e-06/1.233, allocations: 7.562 kB / 1.604 GB, free: 11.66 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001627/1.233, allocations: 30.67 kB / 1.604 GB, free: 11.64 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003329/1.234, allocations: 15.12 kB / 1.604 GB, free: 11.62 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005507/1.234, allocations: 198.7 kB / 1.605 GB, free: 11.41 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003354/1.235, allocations: 0.6965 MB / 1.605 GB, free: 10.69 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.783e-05/1.235, allocations: 4.188 kB / 1.605 GB, free: 10.68 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.518e-05/1.235, allocations: 11.44 kB / 1.605 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of SimCode: time 7.61e-07/1.235, allocations: 3.938 kB / 1.605 GB, free: 10.67 MB / 0.6823 GB Notification: Performance of Templates: time 0.006101/1.241, allocations: 1.513 MB / 1.607 GB, free: 9.164 MB / 0.6823 GB