Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_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 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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.378/2.378, allocations: 253.2 MB / 260.6 MB, free: 7.508 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.001507/0.001507, allocations: 190.6 kB / 319.9 MB, free: 3.016 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.168/2.168, allocations: 205.6 MB / 0.5709 GB, free: 15.23 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.001083/0.001083, allocations: 90.83 kB / 0.6751 GB, free: 4.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.917e-05/1.914e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1913/0.1913, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8877/1.079, allocations: 133.7 MB / 1.019 GB, free: 3.551 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000288/1.079, allocations: 79.14 kB / 1.019 GB, free: 3.508 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.01378/1.093, allocations: 2.957 MB / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.623e-06/1.093, allocations: 0 / 1.022 GB, free: 1 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.133e-05/1.093, allocations: 4 kB / 1.022 GB, free: 0.9961 MB / 0.6355 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.000622/1.094, allocations: 411.3 kB / 1.023 GB, free: 0.5469 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.424e-05/1.094, allocations: 12.03 kB / 1.023 GB, free: 0.5352 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.185e-05/1.094, allocations: 14.92 kB / 1.023 GB, free: 0.5234 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001509/1.094, allocations: 170.9 kB / 1.023 GB, free: 324 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.198e-05/1.094, allocations: 3.984 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.73e-05/1.094, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001046/1.094, allocations: 18.81 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001501/1.094, allocations: 53.42 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.987e-06/1.095, allocations: 0.9375 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.574e-05/1.095, allocations: 4 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.889e-06/1.095, allocations: 4 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008063/1.095, allocations: 290.3 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001116/1.096, allocations: 45.08 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.753e-05/1.096, allocations: 23.86 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.479e-05/1.096, allocations: 3.984 kB / 1.023 GB, free: 15.87 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001503/1.096, allocations: 69.14 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.274e-06/1.096, allocations: 0 / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003309/1.096, allocations: 86.72 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/1.096, allocations: 67.28 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001048/1.096, allocations: 118.2 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.472e-05/1.096, allocations: 29.69 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.039e-05/1.096, allocations: 89.33 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.828e-05/1.096, allocations: 19.25 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.416e-06/1.096, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001362/1.097, allocations: 322 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.876e-05/1.097, allocations: 19.12 kB / 1.024 GB, free: 15.06 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.773e-05/1.097, allocations: 38.25 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.885e-05/1.097, allocations: 22.44 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.475e-06/1.097, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002511/1.097, allocations: 99.77 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.88e-05/1.097, allocations: 4 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.35e-06/1.097, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/1.097, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001527/1.097, allocations: 15.98 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/1.097, allocations: 0 / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00011/1.098, allocations: 12.02 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.883e-05/1.098, allocations: 4 kB / 1.024 GB, free: 14.88 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 0.0001084/1.098, allocations: 113.5 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.283e-05/1.098, allocations: 8.781 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.632e-05/1.098, allocations: 8.125 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.452e-06/1.098, allocations: 3.984 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/1.098, allocations: 0 / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/1.098, allocations: 4 kB / 1.024 GB, free: 14.74 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000485/1.098, allocations: 341.5 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.335e-06/1.098, allocations: 3.938 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.219e-05/1.098, allocations: 8 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.797e-06/1.098, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.42e-05/1.098, allocations: 0 / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.372e-06/1.098, allocations: 3.984 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.48e-06/1.099, allocations: 4 kB / 1.025 GB, free: 14.38 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002939/1.099, allocations: 196 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.305e-05/1.099, allocations: 81.02 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.436e-05/1.099, allocations: 0 / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001414/1.099, allocations: 7.984 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.252e-05/1.099, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.7e-05/1.099, allocations: 7.984 kB / 1.025 GB, free: 14.07 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.886e-05/1.099, allocations: 99.12 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.099, allocations: 0 / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004511/1.1, allocations: 51.88 kB / 1.025 GB, free: 13.93 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.0004762/1.1, allocations: 163.6 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001867/1.1, allocations: 51.11 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 6.101e-06/1.1, allocations: 4.125 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.443e-05/1.1, allocations: 33.98 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002251/1.101, allocations: 3.938 kB / 1.025 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003575/1.101, allocations: 97.59 kB / 1.025 GB, free: 13.6 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003163/1.101, allocations: 0.6885 MB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.939e-05/1.102, allocations: 4.188 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.024e-05/1.102, allocations: 19.42 kB / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of SimCode: time 6.32e-07/1.102, allocations: 0 / 1.026 GB, free: 12.86 MB / 0.6511 GB Notification: Performance of Templates: time 0.006163/1.108, allocations: 1.5 MB / 1.028 GB, free: 11.38 MB / 0.6511 GB