Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout.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.Haldi2009WindowsTInTout,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Haldi2009WindowsTInTout") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.45/2.45, allocations: 253.2 MB / 260.6 MB, free: 7.457 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.00143/0.00143, allocations: 172.9 kB / 319.9 MB, free: 3.09 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.047/2.047, allocations: 205.6 MB / 0.5708 GB, free: 15.29 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.001145/0.001145, allocations: 92.89 kB / 0.6751 GB, free: 4.629 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.831e-05/1.842e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.226/0.226, allocations: 106.3 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.8479/1.074, allocations: 134 MB / 1.02 GB, free: 3.324 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003126/1.074, allocations: 79.02 kB / 1.02 GB, free: 3.281 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.02213/1.096, allocations: 3.581 MB / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of FrontEnd: time 2.094e-06/1.097, allocations: 0 / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.428e-06/1.097, allocations: 0 / 1.023 GB, free: 240 kB / 0.6355 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001388/1.098, allocations: 467.8 kB / 1.024 GB, free: 15.73 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 7.372e-05/1.098, allocations: 12.03 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001249/1.098, allocations: 15.86 kB / 1.024 GB, free: 15.7 MB / 0.6511 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002319/1.098, allocations: 175.5 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.665e-05/1.099, allocations: 7.625 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.363e-05/1.099, allocations: 4 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0002328/1.099, allocations: 34.06 kB / 1.024 GB, free: 15.46 MB / 0.6511 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000333/1.099, allocations: 81.39 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.246e-05/1.099, allocations: 0.9375 kB / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.194e-05/1.099, allocations: 0 / 1.024 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.668e-06/1.099, allocations: 3.938 kB / 1.024 GB, free: 15.38 MB / 0.6511 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001937/1.101, allocations: 355 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002308/1.102, allocations: 48.2 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001814/1.102, allocations: 45.8 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 3.503e-05/1.102, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003434/1.102, allocations: 94.3 kB / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=9): time 4.248e-06/1.102, allocations: 0 / 1.024 GB, free: 14.87 MB / 0.6511 GB Notification: Performance of matching and sorting (n=9): time 0.0007886/1.103, allocations: 145.2 kB / 1.025 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.11e-05/1.103, allocations: 55.34 kB / 1.025 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002085/1.103, allocations: 134.9 kB / 1.025 GB, free: 14.56 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 4.713e-05/1.103, allocations: 28.88 kB / 1.025 GB, free: 14.53 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001124/1.104, allocations: 106.5 kB / 1.025 GB, free: 14.43 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 5.521e-05/1.104, allocations: 19.3 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.793e-05/1.104, allocations: 0 / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000166/1.104, allocations: 318.3 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/1.104, allocations: 26.11 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002228/1.104, allocations: 67.17 kB / 1.025 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001929/1.104, allocations: 29.67 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.43e-06/1.105, allocations: 0 / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0005281/1.105, allocations: 131.8 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.844e-05/1.105, allocations: 5.406 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.035e-05/1.105, allocations: 0 / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.645e-05/1.105, allocations: 4 kB / 1.025 GB, free: 13.88 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003988/1.106, allocations: 24.08 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.765e-05/1.106, allocations: 3.953 kB / 1.025 GB, free: 13.85 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002795/1.106, allocations: 15.92 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.754e-05/1.106, allocations: 7.125 kB / 1.025 GB, free: 13.83 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.win.curSeed,win.curSeed,$PRE.win.on,win.on,occ.y,$PRE.win.pOpen,win.pOpen,$PRE.win.pClose,win.pClose,$whenCondition1,win.sampleTrigger) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001751/1.106, allocations: 108.9 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.73e-05/1.106, allocations: 7.906 kB / 1.026 GB, free: 13.71 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.828e-05/1.106, allocations: 19.92 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.621e-06/1.106, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.213e-06/1.106, allocations: 0 / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.408e-06/1.106, allocations: 3.953 kB / 1.026 GB, free: 13.69 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001152/1.108, allocations: 413.7 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/1.108, allocations: 192 / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001908/1.108, allocations: 8 kB / 1.026 GB, free: 13.29 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.188e-05/1.108, allocations: 7.922 kB / 1.026 GB, free: 13.28 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.016e-05/1.108, allocations: 7.25 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.849e-06/1.108, allocations: 0 / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.033e-05/1.108, allocations: 3.953 kB / 1.026 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007514/1.109, allocations: 238.8 kB / 1.026 GB, free: 13.05 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 8.349e-05/1.109, allocations: 85.02 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.123e-05/1.109, allocations: 0 / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003451/1.109, allocations: 11.98 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.12e-05/1.109, allocations: 11 kB / 1.026 GB, free: 12.93 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.142e-05/1.11, allocations: 11.94 kB / 1.026 GB, free: 12.92 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.0001335/1.11, allocations: 98.02 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.022e-06/1.11, allocations: 3.938 kB / 1.026 GB, free: 12.83 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0007948/1.11, allocations: 55.62 kB / 1.027 GB, free: 12.78 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: 7 (win.sampleTrigger,$whenCondition1,occ.y,win.on,win.pOpen,win.pClose,win.curSeed) * Number of discrete states: 1 (win.on) * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0007132/1.111, allocations: 173 kB / 1.027 GB, free: 12.61 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0004646/1.112, allocations: 82.86 kB / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.358e-06/1.112, allocations: 0 / 1.027 GB, free: 12.56 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0002037/1.112, allocations: 47.61 kB / 1.027 GB, free: 12.53 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004868/1.112, allocations: 15.59 kB / 1.027 GB, free: 12.52 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007394/1.113, allocations: 126.9 kB / 1.027 GB, free: 12.38 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/1.114, allocations: 0.7041 MB / 1.028 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 0.0001605/1.114, allocations: 7.984 kB / 1.028 GB, free: 11.64 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.334e-05/1.114, allocations: 11.44 kB / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of SimCode: time 1.744e-06/1.114, allocations: 0 / 1.028 GB, free: 11.63 MB / 0.6511 GB Notification: Performance of Templates: time 0.01097/1.125, allocations: 1.932 MB / 1.03 GB, free: 9.723 MB / 0.6511 GB