Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut.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.Haldi2008WindowsTOut,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2008WindowsTOut") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.389/2.389, allocations: 253.1 MB / 260.6 MB, free: 7.57 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.001922/0.001922, allocations: 181.8 kB / 319.9 MB, free: 3.082 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.019/2.019, allocations: 205.6 MB / 0.5708 GB, free: 15.28 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.001111/0.001111, allocations: 102.2 kB / 0.6751 GB, free: 4.621 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.163e-05/2.159e-05, allocations: 7.984 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.193/0.193, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8663/1.059, allocations: 133.7 MB / 1.019 GB, free: 3.645 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003219/1.06, allocations: 78.64 kB / 1.019 GB, free: 3.602 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.0137/1.073, allocations: 2.969 MB / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.343e-06/1.074, allocations: 0 / 1.022 GB, free: 1.09 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 6.692e-06/1.074, allocations: 0 / 1.022 GB, free: 1.09 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.0006419/1.074, allocations: 410.8 kB / 1.023 GB, free: 0.6406 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/1.074, allocations: 8.031 kB / 1.023 GB, free: 0.6328 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.735e-05/1.074, allocations: 15.86 kB / 1.023 GB, free: 0.6172 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001426/1.074, allocations: 174.7 kB / 1.023 GB, free: 420 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.364e-05/1.075, allocations: 4 kB / 1.023 GB, free: 416 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.468e-05/1.075, allocations: 3.938 kB / 1.023 GB, free: 412 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/1.075, allocations: 22.19 kB / 1.023 GB, free: 396 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001403/1.075, allocations: 53.11 kB / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.297e-06/1.075, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.459e-05/1.075, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.919e-06/1.075, allocations: 0 / 1.023 GB, free: 344 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007691/1.076, allocations: 297.3 kB / 1.023 GB, free: 28 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001333/1.076, allocations: 40.02 kB / 1.023 GB, free: 15.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.882e-05/1.076, allocations: 28.22 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.404e-05/1.076, allocations: 0 / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001596/1.076, allocations: 69.77 kB / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.733e-06/1.076, allocations: 0 / 1.023 GB, free: 15.89 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003268/1.076, allocations: 96.7 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/1.077, allocations: 55.36 kB / 1.023 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001069/1.077, allocations: 111.7 kB / 1.024 GB, free: 15.64 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.52e-05/1.077, allocations: 29.7 kB / 1.024 GB, free: 15.6 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.201e-05/1.077, allocations: 86.64 kB / 1.024 GB, free: 15.52 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.349e-05/1.077, allocations: 19.81 kB / 1.024 GB, free: 15.5 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.596e-06/1.077, allocations: 7.938 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001266/1.077, allocations: 318.3 kB / 1.024 GB, free: 15.17 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/1.077, allocations: 23.12 kB / 1.024 GB, free: 15.16 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.924e-05/1.077, allocations: 41.5 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.142e-05/1.077, allocations: 19.12 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/1.077, allocations: 0 / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002403/1.077, allocations: 96.45 kB / 1.024 GB, free: 15.02 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.697e-05/1.077, allocations: 4 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/1.078, allocations: 4 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/1.078, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001454/1.078, allocations: 11.98 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.095e-06/1.078, allocations: 4 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001076/1.078, allocations: 7.953 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.057e-05/1.078, allocations: 7.984 kB / 1.024 GB, free: 14.98 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 9.734e-05/1.078, allocations: 113.1 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.343e-05/1.078, allocations: 7.906 kB / 1.024 GB, free: 14.86 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.791e-05/1.078, allocations: 11.5 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.937e-06/1.078, allocations: 2.062 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/1.078, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.537e-06/1.078, allocations: 0 / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004939/1.079, allocations: 338.5 kB / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.526e-06/1.079, allocations: 0 / 1.025 GB, free: 14.5 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.198e-05/1.079, allocations: 11.94 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.759e-06/1.079, allocations: 4 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.758e-05/1.079, allocations: 3.984 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.006e-06/1.079, allocations: 240 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/1.079, allocations: 0 / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00031/1.079, allocations: 197.5 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.373e-05/1.079, allocations: 85.02 kB / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.488e-05/1.079, allocations: 0 / 1.025 GB, free: 14.19 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001466/1.079, allocations: 11.98 kB / 1.025 GB, free: 14.18 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.88e-05/1.079, allocations: 4 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.96e-05/1.079, allocations: 4.484 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.232e-05/1.08, allocations: 94.72 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sort global known variables: time 3.71e-07/1.08, allocations: 0 / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004677/1.08, allocations: 47.88 kB / 1.025 GB, free: 14.04 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.0004787/1.08, allocations: 176.8 kB / 1.025 GB, free: 13.87 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001961/1.081, allocations: 50.67 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.324e-06/1.081, allocations: 0 / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.662e-05/1.081, allocations: 31.36 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002442/1.081, allocations: 5.5 kB / 1.025 GB, free: 13.8 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003595/1.081, allocations: 103.7 kB / 1.025 GB, free: 13.7 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002804/1.082, allocations: 0.6885 MB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.555e-05/1.082, allocations: 4.188 kB / 1.026 GB, free: 12.98 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.957e-05/1.082, allocations: 11.42 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of SimCode: time 6.91e-07/1.082, allocations: 4 kB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of Templates: time 0.005674/1.088, allocations: 1.506 MB / 1.028 GB, free: 11.47 MB / 0.6511 GB