Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_master_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.0.0-master/package.mo): time 4.858/4.858, allocations: 0.5623 GB / 0.5775 GB, free: 66.93 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002665/0.002665, allocations: 356.9 kB / 0.6446 GB, free: 21.43 MB / 330.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 4.565/4.565, allocations: 410.7 MB / 1.113 GB, free: 15.73 MB / 0.6198 GB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001931/0.00193, allocations: 182.9 kB / 1.226 GB, free: 11.67 MB / 0.7292 GB Notification: Performance of FrontEnd - loaded program: time 0.0007556/0.0007559, allocations: 12.09 kB / 1.349 GB, free: 320.7 MB / 0.8073 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2708/0.2716, allocations: 115.3 MB / 1.461 GB, free: 220.7 MB / 0.8073 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2015/0.4731, allocations: 139.9 MB / 1.598 GB, free: 80.7 MB / 0.8073 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003298/0.4735, allocations: 84.48 kB / 1.598 GB, free: 80.62 MB / 0.8073 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.01286/0.4864, allocations: 2.987 MB / 1.601 GB, free: 77.64 MB / 0.8073 GB Notification: Performance of FrontEnd: time 2.234e-06/0.4864, allocations: 0.5 kB / 1.601 GB, free: 77.64 MB / 0.8073 GB Notification: Performance of Transformations before backend: time 7.394e-06/0.4864, allocations: 4 kB / 1.601 GB, free: 77.64 MB / 0.8073 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.0005978/0.487, allocations: 426.6 kB / 1.601 GB, free: 77.17 MB / 0.8073 GB Notification: Performance of prepare preOptimizeDAE: time 3.701e-05/0.4871, allocations: 13.81 kB / 1.601 GB, free: 77.16 MB / 0.8073 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.285e-05/0.4871, allocations: 7.906 kB / 1.601 GB, free: 77.15 MB / 0.8073 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.609e-05/0.4872, allocations: 175 kB / 1.601 GB, free: 76.94 MB / 0.8073 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.839e-05/0.4873, allocations: 4.531 kB / 1.601 GB, free: 76.93 MB / 0.8073 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.533e-05/0.4873, allocations: 0 / 1.601 GB, free: 76.93 MB / 0.8073 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002334/0.4876, allocations: 76.06 kB / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.4876, allocations: 0 / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.629e-05/0.4876, allocations: 0 / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.979e-06/0.4876, allocations: 0 / 1.602 GB, free: 76.86 MB / 0.8073 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002117/0.4879, allocations: 51.34 kB / 1.602 GB, free: 76.81 MB / 0.8073 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007414/0.4886, allocations: 309.4 kB / 1.602 GB, free: 76.46 MB / 0.8073 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001696/0.4888, allocations: 53.34 kB / 1.602 GB, free: 76.4 MB / 0.8073 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001348/0.489, allocations: 32.97 kB / 1.602 GB, free: 76.36 MB / 0.8073 GB Notification: Performance of preOpt evalFunc (simulation): time 2.992e-05/0.489, allocations: 4.062 kB / 1.602 GB, free: 76.36 MB / 0.8073 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002142/0.4892, allocations: 85.62 kB / 1.602 GB, free: 76.27 MB / 0.8073 GB Notification: Performance of pre-optimization done (n=7): time 2.044e-06/0.4892, allocations: 0 / 1.602 GB, free: 76.27 MB / 0.8073 GB Notification: Performance of matching and sorting (n=7): time 0.0005937/0.4898, allocations: 147.9 kB / 1.602 GB, free: 76.12 MB / 0.8073 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.198e-05/0.4899, allocations: 59.36 kB / 1.602 GB, free: 76.05 MB / 0.8073 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.216e-05/0.49, allocations: 126.8 kB / 1.602 GB, free: 75.91 MB / 0.8073 GB Notification: Performance of collectPreVariables (initialization): time 1.771e-05/0.49, allocations: 25.7 kB / 1.602 GB, free: 75.88 MB / 0.8073 GB Notification: Performance of collectInitialEqns (initialization): time 4.671e-05/0.4901, allocations: 92.81 kB / 1.603 GB, free: 75.79 MB / 0.8073 GB Notification: Performance of collectInitialBindings (initialization): time 2.635e-05/0.4901, allocations: 20.55 kB / 1.603 GB, free: 75.77 MB / 0.8073 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.656e-06/0.4902, allocations: 0 / 1.603 GB, free: 75.77 MB / 0.8073 GB Notification: Performance of setup shared object (initialization): time 6.185e-05/0.4902, allocations: 319.6 kB / 1.603 GB, free: 75.45 MB / 0.8073 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000129/0.4904, allocations: 37.45 kB / 1.603 GB, free: 75.41 MB / 0.8073 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001386/0.4905, allocations: 55.95 kB / 1.603 GB, free: 75.35 MB / 0.8073 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.4907, allocations: 29.28 kB / 1.603 GB, free: 75.32 MB / 0.8073 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.305e-06/0.4907, allocations: 0 / 1.603 GB, free: 75.32 MB / 0.8073 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000354/0.4911, allocations: 122.6 kB / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.4911, allocations: 4 kB / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.4911, allocations: 0 / 1.603 GB, free: 75.2 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.509e-05/0.4911, allocations: 4 kB / 1.603 GB, free: 75.19 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001465/0.4913, allocations: 11.98 kB / 1.603 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.596e-06/0.4913, allocations: 3.953 kB / 1.603 GB, free: 75.18 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001059/0.4914, allocations: 11.94 kB / 1.603 GB, free: 75.16 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.1e-05/0.4915, allocations: 15.92 kB / 1.603 GB, free: 75.15 MB / 0.8073 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 9.18e-05/0.4916, allocations: 120.8 kB / 1.603 GB, free: 75.03 MB / 0.8073 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.094e-05/0.4916, allocations: 8.688 kB / 1.603 GB, free: 75.02 MB / 0.8073 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.424e-05/0.4916, allocations: 9 kB / 1.603 GB, free: 75.01 MB / 0.8073 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.4916, allocations: 0 / 1.603 GB, free: 75.01 MB / 0.8073 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.04e-06/0.4917, allocations: 0.5938 kB / 1.603 GB, free: 75.01 MB / 0.8073 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.169e-06/0.4917, allocations: 3.953 kB / 1.603 GB, free: 75.01 MB / 0.8073 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005713/0.4923, allocations: 387 kB / 1.604 GB, free: 74.58 MB / 0.8073 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.4923, allocations: 4 kB / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.18e-05/0.4923, allocations: 7.984 kB / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.4924, allocations: 0 / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.381e-05/0.4924, allocations: 0 / 1.604 GB, free: 74.57 MB / 0.8073 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.688e-06/0.4924, allocations: 7.953 kB / 1.604 GB, free: 74.56 MB / 0.8073 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.285e-06/0.4924, allocations: 7.328 kB / 1.604 GB, free: 74.55 MB / 0.8073 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003787/0.4928, allocations: 215.5 kB / 1.604 GB, free: 74.33 MB / 0.8073 GB Notification: Performance of postOpt removeConstants (simulation): time 2.448e-05/0.4928, allocations: 81.11 kB / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.439e-05/0.4929, allocations: 0 / 1.604 GB, free: 74.23 MB / 0.8073 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001308/0.493, allocations: 11.23 kB / 1.604 GB, free: 74.22 MB / 0.8073 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.599e-05/0.4931, allocations: 15.89 kB / 1.604 GB, free: 74.21 MB / 0.8073 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.421e-05/0.4931, allocations: 4 kB / 1.604 GB, free: 74.2 MB / 0.8073 GB Notification: Performance of sorting global known variables: time 4.998e-05/0.4932, allocations: 92.58 kB / 1.604 GB, free: 74.11 MB / 0.8073 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4932, allocations: 3.938 kB / 1.604 GB, free: 74.11 MB / 0.8073 GB Notification: Performance of remove unused functions: time 0.000453/0.4936, allocations: 47.98 kB / 1.604 GB, free: 74.06 MB / 0.8073 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.0004312/0.4941, allocations: 168.5 kB / 1.604 GB, free: 73.91 MB / 0.8073 GB Notification: Performance of simCode: created initialization part: time 0.0003611/0.4945, allocations: 85.5 kB / 1.604 GB, free: 73.82 MB / 0.8073 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.4945, allocations: 1.188 kB / 1.604 GB, free: 73.82 MB / 0.8073 GB Notification: Performance of simCode: created simulation system equations: time 0.0001508/0.4946, allocations: 31.98 kB / 1.604 GB, free: 73.79 MB / 0.8073 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003229/0.495, allocations: 11.25 kB / 1.604 GB, free: 73.79 MB / 0.8073 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004801/0.4955, allocations: 204.3 kB / 1.605 GB, free: 73.55 MB / 0.8073 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001408/0.4956, allocations: 0.6975 MB / 1.605 GB, free: 72.83 MB / 0.8073 GB Notification: Performance of simCode: alias equations: time 5.683e-05/0.4957, allocations: 0.6875 kB / 1.605 GB, free: 72.83 MB / 0.8073 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.815e-05/0.4957, allocations: 11.44 kB / 1.605 GB, free: 72.82 MB / 0.8073 GB Notification: Performance of SimCode: time 8.41e-07/0.4958, allocations: 1.156 kB / 1.605 GB, free: 72.82 MB / 0.8073 GB Notification: Performance of Templates: time 0.005402/0.5012, allocations: 1.522 MB / 1.607 GB, free: 71.41 MB / 0.8073 GB