Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.476/2.476, allocations: 253.2 MB / 260.6 MB, free: 7.402 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.00144/0.001439, allocations: 188.8 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.069/2.069, allocations: 205.6 MB / 0.5708 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.001124/0.001124, allocations: 94.62 kB / 0.6751 GB, free: 4.598 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.64e-05/2.64e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.198/0.1981, allocations: 106.3 MB / 0.8887 GB, free: 11.82 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8679/1.066, allocations: 133.7 MB / 1.019 GB, free: 3.562 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002907/1.066, allocations: 83.44 kB / 1.019 GB, free: 3.516 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.01344/1.08, allocations: 2.958 MB / 1.022 GB, free: 1.012 MB / 0.6355 GB Notification: Performance of FrontEnd: time 3.547e-06/1.08, allocations: 4 kB / 1.022 GB, free: 1.008 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.144e-06/1.08, allocations: 0 / 1.022 GB, free: 1.008 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.000616/1.081, allocations: 418.8 kB / 1.023 GB, free: 0.5547 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/1.081, allocations: 12.03 kB / 1.023 GB, free: 0.543 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.826e-05/1.081, allocations: 11.86 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001343/1.081, allocations: 167 kB / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.968e-05/1.081, allocations: 0 / 1.023 GB, free: 336 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.543e-05/1.081, allocations: 7.938 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.000107/1.081, allocations: 21.56 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001419/1.081, allocations: 65.58 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.968e-06/1.081, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.141e-05/1.081, allocations: 4 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5e-06/1.081, allocations: 0 / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007946/1.082, allocations: 287.5 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001058/1.082, allocations: 41.39 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.765e-05/1.082, allocations: 25.86 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.273e-05/1.082, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001511/1.082, allocations: 68.83 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.814e-06/1.082, allocations: 0 / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003201/1.083, allocations: 90.97 kB / 1.023 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.944e-05/1.083, allocations: 63.34 kB / 1.023 GB, free: 15.66 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001062/1.083, allocations: 118.2 kB / 1.024 GB, free: 15.55 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.361e-05/1.083, allocations: 25.7 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 7.439e-05/1.083, allocations: 88.27 kB / 1.024 GB, free: 15.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.881e-05/1.083, allocations: 23.48 kB / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.257e-05/1.083, allocations: 0 / 1.024 GB, free: 15.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001241/1.083, allocations: 321.6 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.161e-05/1.083, allocations: 23.55 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.303e-05/1.083, allocations: 41.83 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.74e-05/1.084, allocations: 18.98 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.484e-06/1.084, allocations: 0 / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000249/1.084, allocations: 91.53 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.028e-05/1.084, allocations: 8.766 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/1.084, allocations: 0 / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.788e-05/1.084, allocations: 4 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001489/1.084, allocations: 12.06 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.26e-06/1.084, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/1.084, allocations: 11.94 kB / 1.024 GB, free: 14.9 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.938e-05/1.084, allocations: 4.156 kB / 1.024 GB, free: 14.89 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.0001006/1.084, allocations: 113.4 kB / 1.024 GB, free: 14.78 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.463e-05/1.084, allocations: 8.781 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.75e-05/1.084, allocations: 8.609 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.835e-06/1.084, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.608e-06/1.084, allocations: 4 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.412e-06/1.084, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004949/1.085, allocations: 335.7 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.144e-06/1.085, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.122e-05/1.085, allocations: 18.92 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.327e-06/1.085, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.468e-05/1.085, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.97e-06/1.085, allocations: 4 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/1.085, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002964/1.085, allocations: 193.7 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 4.767e-05/1.085, allocations: 85 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.499e-05/1.086, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/1.086, allocations: 7.984 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.248e-05/1.086, allocations: 15.09 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.552e-05/1.086, allocations: 4 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.692e-05/1.086, allocations: 95.3 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.81e-07/1.086, allocations: 4 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0005228/1.086, allocations: 47.39 kB / 1.025 GB, free: 13.94 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.000504/1.087, allocations: 167.4 kB / 1.025 GB, free: 13.78 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002157/1.087, allocations: 54.48 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/1.087, allocations: 0 / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.981e-05/1.087, allocations: 30.19 kB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002524/1.088, allocations: 3.984 kB / 1.025 GB, free: 13.72 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004356/1.088, allocations: 90.8 kB / 1.025 GB, free: 13.62 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003075/1.088, allocations: 0.6975 MB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.817e-05/1.088, allocations: 8.25 kB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.258e-05/1.088, allocations: 11.44 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of SimCode: time 9.22e-07/1.088, allocations: 0 / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of Templates: time 0.006407/1.095, allocations: 1.499 MB / 1.028 GB, free: 11.39 MB / 0.6511 GB