Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth.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.Zhang2012WindowsSouth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsSouth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.273/2.273, allocations: 251.1 MB / 266.1 MB, free: 11.61 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.001437/0.001437, allocations: 187.1 kB / 325.6 MB, free: 2.832 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.457/2.457, allocations: 205.4 MB / 0.5766 GB, free: 20.75 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.001159/0.001159, allocations: 92.73 kB / 0.6811 GB, free: 13.62 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004893/0.0004892, allocations: 14.48 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2458/0.2464, allocations: 106.3 MB / 0.8989 GB, free: 65.48 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2206/0.467, allocations: 133.5 MB / 1.029 GB, free: 11.77 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003442/0.4674, allocations: 87.94 kB / 1.029 GB, free: 11.69 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.01452/0.4819, allocations: 2.986 MB / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.674e-06/0.482, allocations: 0 / 1.032 GB, free: 8.695 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.06e-05/0.482, allocations: 4 kB / 1.032 GB, free: 8.691 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.0007154/0.4827, allocations: 424.7 kB / 1.033 GB, free: 8.223 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.234e-05/0.4828, allocations: 12.03 kB / 1.033 GB, free: 8.211 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.311e-05/0.4828, allocations: 11.86 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001342/0.483, allocations: 163.1 kB / 1.033 GB, free: 8 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.14e-05/0.483, allocations: 4 kB / 1.033 GB, free: 7.996 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.728e-05/0.483, allocations: 7.984 kB / 1.033 GB, free: 7.988 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000259/0.4833, allocations: 77.59 kB / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.157e-06/0.4833, allocations: 0 / 1.033 GB, free: 7.906 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.938e-05/0.4834, allocations: 3.984 kB / 1.033 GB, free: 7.902 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.809e-06/0.4834, allocations: 3.938 kB / 1.033 GB, free: 7.898 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002262/0.4836, allocations: 43.98 kB / 1.033 GB, free: 7.855 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008453/0.4845, allocations: 324.6 kB / 1.033 GB, free: 7.488 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001866/0.4847, allocations: 54.5 kB / 1.033 GB, free: 7.426 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.504e-05/0.4847, allocations: 4 kB / 1.033 GB, free: 7.422 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002394/0.485, allocations: 75.5 kB / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.123e-06/0.485, allocations: 0 / 1.033 GB, free: 7.336 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006496/0.4856, allocations: 153.5 kB / 1.034 GB, free: 7.18 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.401e-05/0.4857, allocations: 55.34 kB / 1.034 GB, free: 7.113 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001165/0.4858, allocations: 113 kB / 1.034 GB, free: 6.996 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.308e-05/0.4859, allocations: 25.7 kB / 1.034 GB, free: 6.965 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 8.001e-05/0.486, allocations: 100.3 kB / 1.034 GB, free: 6.859 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 3.027e-05/0.486, allocations: 15.88 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.228e-05/0.486, allocations: 4 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001495/0.4862, allocations: 318.8 kB / 1.034 GB, free: 6.52 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001387/0.4863, allocations: 27.98 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001685/0.4865, allocations: 54.55 kB / 1.034 GB, free: 6.43 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001661/0.4867, allocations: 32 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.4867, allocations: 0 / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004079/0.4871, allocations: 113.8 kB / 1.034 GB, free: 6.281 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.992e-05/0.4872, allocations: 8.062 kB / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.913e-06/0.4872, allocations: 0 / 1.034 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.12e-05/0.4872, allocations: 4 kB / 1.034 GB, free: 6.27 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001546/0.4874, allocations: 15.92 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.213e-05/0.4874, allocations: 8.016 kB / 1.034 GB, free: 6.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001229/0.4875, allocations: 15.98 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.99e-05/0.4876, allocations: 0 / 1.034 GB, free: 6.23 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.0001463/0.4877, allocations: 127.9 kB / 1.035 GB, free: 6.098 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.391e-05/0.4878, allocations: 3.906 kB / 1.035 GB, free: 6.094 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.4878, allocations: 12.38 kB / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.606e-06/0.4878, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.422e-06/0.4878, allocations: 0 / 1.035 GB, free: 6.082 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.826e-06/0.4879, allocations: 7.938 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007187/0.4886, allocations: 386.5 kB / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.665e-06/0.4886, allocations: 0 / 1.035 GB, free: 5.641 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.881e-05/0.4887, allocations: 8 kB / 1.035 GB, free: 5.633 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.262e-06/0.4887, allocations: 4 kB / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.416e-05/0.4887, allocations: 0 / 1.035 GB, free: 5.629 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.909e-06/0.4887, allocations: 3.953 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.084e-06/0.4887, allocations: 4 kB / 1.035 GB, free: 5.621 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004603/0.4892, allocations: 221.1 kB / 1.035 GB, free: 5.391 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.699e-05/0.4893, allocations: 88.95 kB / 1.035 GB, free: 5.285 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.85e-05/0.4893, allocations: 4 kB / 1.035 GB, free: 5.281 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000135/0.4895, allocations: 7.984 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.301e-05/0.4895, allocations: 7.953 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.408e-05/0.4896, allocations: 3.984 kB / 1.035 GB, free: 5.262 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.57e-05/0.4897, allocations: 91.94 kB / 1.035 GB, free: 5.172 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4897, allocations: 4 kB / 1.035 GB, free: 5.168 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004421/0.4901, allocations: 51.92 kB / 1.035 GB, free: 5.117 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.0004878/0.4906, allocations: 173.3 kB / 1.036 GB, free: 4.957 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003722/0.491, allocations: 75.89 kB / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.096e-06/0.491, allocations: 0 / 1.036 GB, free: 4.883 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001714/0.4912, allocations: 39.98 kB / 1.036 GB, free: 4.844 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002169/0.4914, allocations: 4 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000539/0.492, allocations: 209.2 kB / 1.036 GB, free: 4.598 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000282/0.4923, allocations: 0.6939 MB / 1.037 GB, free: 3.879 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.68e-05/0.4924, allocations: 4.188 kB / 1.037 GB, free: 3.875 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.769e-05/0.4924, allocations: 11.44 kB / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of SimCode: time 6.32e-07/0.4924, allocations: 0 / 1.037 GB, free: 3.867 MB / 0.6823 GB Notification: Performance of Templates: time 0.005833/0.4983, allocations: 1.521 MB / 1.038 GB, free: 2.348 MB / 0.6823 GB