Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen.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.Herkel2008WindowsCompletelyOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsCompletelyOpen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.359/2.359, allocations: 253.2 MB / 260.6 MB, free: 7.496 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.001664/0.001664, allocations: 181.6 kB / 319.9 MB, free: 3.047 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.124/2.124, allocations: 205.5 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.001114/0.001113, allocations: 89.39 kB / 0.6751 GB, free: 4.602 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 1.942e-05/1.939e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.1985, allocations: 106.2 MB / 0.8887 GB, free: 11.86 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.836/1.035, allocations: 133.7 MB / 1.019 GB, free: 3.629 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004434/1.035, allocations: 80.44 kB / 1.019 GB, free: 3.582 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.01802/1.053, allocations: 2.968 MB / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.714e-06/1.053, allocations: 0 / 1.022 GB, free: 1.074 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.17e-05/1.053, allocations: 4 kB / 1.022 GB, free: 1.07 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.0006677/1.054, allocations: 414.5 kB / 1.023 GB, free: 0.6211 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.87e-05/1.054, allocations: 16.02 kB / 1.023 GB, free: 0.6055 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.802e-05/1.054, allocations: 7.859 kB / 1.023 GB, free: 0.5977 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001461/1.054, allocations: 167 kB / 1.023 GB, free: 404 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.316e-05/1.054, allocations: 4 kB / 1.023 GB, free: 400 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.789e-05/1.054, allocations: 8 kB / 1.023 GB, free: 392 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001135/1.054, allocations: 29.36 kB / 1.023 GB, free: 372 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/1.055, allocations: 52.48 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/1.055, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.553e-05/1.055, allocations: 0 / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/1.055, allocations: 4 kB / 1.023 GB, free: 316 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007849/1.055, allocations: 291.5 kB / 1.023 GB, free: 8 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001349/1.056, allocations: 40.19 kB / 1.023 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.962e-05/1.056, allocations: 23.55 kB / 1.023 GB, free: 15.95 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.713e-05/1.056, allocations: 4.062 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001513/1.056, allocations: 66.22 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 2.204e-06/1.056, allocations: 4 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003416/1.056, allocations: 94.27 kB / 1.023 GB, free: 15.79 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.627e-05/1.056, allocations: 59.36 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001046/1.056, allocations: 111.9 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.243e-05/1.056, allocations: 25.7 kB / 1.024 GB, free: 15.58 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.886e-05/1.056, allocations: 87.5 kB / 1.024 GB, free: 15.49 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.843e-05/1.057, allocations: 18.88 kB / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.245e-06/1.057, allocations: 0 / 1.024 GB, free: 15.48 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001366/1.057, allocations: 326 kB / 1.024 GB, free: 15.15 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.433e-05/1.057, allocations: 22.75 kB / 1.024 GB, free: 15.14 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.968e-05/1.057, allocations: 35.45 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.394e-05/1.057, allocations: 22.67 kB / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.465e-06/1.057, allocations: 0 / 1.024 GB, free: 15.09 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002712/1.057, allocations: 96.06 kB / 1.024 GB, free: 15 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.039e-05/1.057, allocations: 8 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.102e-06/1.057, allocations: 4.062 kB / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.834e-05/1.057, allocations: 0 / 1.024 GB, free: 14.99 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001665/1.058, allocations: 12 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.905e-06/1.058, allocations: 3.984 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001077/1.058, allocations: 7.953 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.182e-05/1.058, allocations: 7.984 kB / 1.024 GB, free: 14.96 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.0001032/1.058, allocations: 112.2 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.334e-05/1.058, allocations: 7.906 kB / 1.024 GB, free: 14.84 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.187e-05/1.058, allocations: 17.98 kB / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.266e-06/1.058, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/1.058, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/1.058, allocations: 0 / 1.024 GB, free: 14.82 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005099/1.058, allocations: 333.9 kB / 1.025 GB, free: 14.48 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.058, allocations: 4 kB / 1.025 GB, free: 14.47 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.782e-05/1.059, allocations: 7.984 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.052e-05/1.059, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.388e-05/1.059, allocations: 7.938 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.913e-06/1.059, allocations: 0 / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.369e-06/1.059, allocations: 0.75 kB / 1.025 GB, free: 14.46 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002931/1.059, allocations: 196.4 kB / 1.025 GB, free: 14.27 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.17e-05/1.059, allocations: 85.02 kB / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.451e-05/1.059, allocations: 0 / 1.025 GB, free: 14.17 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000141/1.059, allocations: 4 kB / 1.025 GB, free: 14.16 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.272e-05/1.059, allocations: 11.98 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/1.059, allocations: 4 kB / 1.025 GB, free: 14.15 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.413e-05/1.059, allocations: 98.28 kB / 1.025 GB, free: 14.06 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.31e-07/1.059, allocations: 4 kB / 1.025 GB, free: 14.05 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004557/1.06, allocations: 43.89 kB / 1.025 GB, free: 14.01 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.0004885/1.06, allocations: 180.8 kB / 1.025 GB, free: 13.84 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001967/1.061, allocations: 50.36 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 2.946e-06/1.061, allocations: 0 / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.663e-05/1.061, allocations: 28.38 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002384/1.061, allocations: 3.984 kB / 1.025 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003999/1.061, allocations: 97.66 kB / 1.025 GB, free: 13.68 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003012/1.062, allocations: 0.6964 MB / 1.026 GB, free: 12.96 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.461e-05/1.062, allocations: 8.172 kB / 1.026 GB, free: 12.95 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.93e-05/1.062, allocations: 11.44 kB / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of SimCode: time 6.31e-07/1.062, allocations: 0 / 1.026 GB, free: 12.94 MB / 0.6511 GB Notification: Performance of Templates: time 0.00597/1.068, allocations: 1.496 MB / 1.028 GB, free: 11.46 MB / 0.6511 GB