Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall.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.Herkel2008WindowsSmall,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsSmall") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.308/2.308, allocations: 253.2 MB / 260.6 MB, free: 7.43 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.001525/0.001524, allocations: 175 kB / 319.9 MB, free: 3.043 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.041/2.041, allocations: 205.6 MB / 0.5708 GB, free: 15.25 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.001121/0.001121, allocations: 90.97 kB / 0.6751 GB, free: 4.617 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.824e-05/2.835e-05, allocations: 4 kB / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1944/0.1945, allocations: 106.3 MB / 0.8887 GB, free: 11.85 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.877/1.071, allocations: 133.7 MB / 1.019 GB, free: 3.559 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002988/1.072, allocations: 77.39 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.01384/1.086, allocations: 2.966 MB / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.282e-06/1.086, allocations: 0 / 1.022 GB, free: 1.004 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 9.808e-06/1.086, allocations: 4 kB / 1.022 GB, free: 1 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.0006557/1.086, allocations: 410.8 kB / 1.023 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.598e-05/1.086, allocations: 12.03 kB / 1.023 GB, free: 0.5391 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.507e-05/1.087, allocations: 7.859 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001525/1.087, allocations: 174.3 kB / 1.023 GB, free: 332 kB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.178e-05/1.087, allocations: 4 kB / 1.023 GB, free: 328 kB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.781e-05/1.087, allocations: 7.938 kB / 1.023 GB, free: 320 kB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001073/1.087, allocations: 22.86 kB / 1.023 GB, free: 304 kB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001418/1.087, allocations: 55.67 kB / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.178e-06/1.087, allocations: 0 / 1.023 GB, free: 252 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.485e-05/1.087, allocations: 4 kB / 1.023 GB, free: 248 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.845e-06/1.087, allocations: 4 kB / 1.023 GB, free: 244 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008076/1.088, allocations: 285.4 kB / 1.023 GB, free: 15.94 MB / 0.6511 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001092/1.088, allocations: 44.2 kB / 1.023 GB, free: 15.9 MB / 0.6511 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.115e-05/1.088, allocations: 27.09 kB / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt evalFunc (simulation): time 2.082e-05/1.088, allocations: 0 / 1.023 GB, free: 15.88 MB / 0.6511 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001545/1.088, allocations: 64.83 kB / 1.023 GB, free: 15.81 MB / 0.6511 GB Notification: Performance of pre-optimization done (n=7): time 1.864e-06/1.088, allocations: 4 kB / 1.023 GB, free: 15.8 MB / 0.6511 GB Notification: Performance of matching and sorting (n=7): time 0.0003445/1.089, allocations: 94.02 kB / 1.023 GB, free: 15.72 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/1.089, allocations: 59.36 kB / 1.023 GB, free: 15.65 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001131/1.089, allocations: 119 kB / 1.024 GB, free: 15.54 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.572e-05/1.089, allocations: 25.7 kB / 1.024 GB, free: 15.51 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.935e-05/1.089, allocations: 87.58 kB / 1.024 GB, free: 15.42 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 3.05e-05/1.089, allocations: 18.5 kB / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.068e-05/1.089, allocations: 0 / 1.024 GB, free: 15.4 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001458/1.089, allocations: 325.7 kB / 1.024 GB, free: 15.08 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.975e-05/1.089, allocations: 17.81 kB / 1.024 GB, free: 15.07 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.117e-05/1.089, allocations: 41.06 kB / 1.024 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.017e-05/1.09, allocations: 21.94 kB / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.304e-06/1.09, allocations: 0 / 1.024 GB, free: 15.01 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002541/1.09, allocations: 91.39 kB / 1.024 GB, free: 14.93 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.994e-05/1.09, allocations: 8 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.813e-06/1.09, allocations: 2.125 kB / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/1.09, allocations: 0 / 1.024 GB, free: 14.92 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001494/1.09, allocations: 15.98 kB / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.021e-06/1.09, allocations: 0 / 1.024 GB, free: 14.91 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001079/1.09, allocations: 12.02 kB / 1.024 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.48e-05/1.09, allocations: 7.984 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.0001016/1.09, allocations: 114.8 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.451e-05/1.09, allocations: 3.906 kB / 1.024 GB, free: 14.77 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.892e-05/1.09, allocations: 8.625 kB / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.457e-06/1.09, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.709e-06/1.09, allocations: 0 / 1.024 GB, free: 14.76 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/1.09, allocations: 4 kB / 1.024 GB, free: 14.75 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005037/1.091, allocations: 337.3 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/1.091, allocations: 4 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.639e-05/1.091, allocations: 7.938 kB / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.246e-06/1.091, allocations: 0 / 1.025 GB, free: 14.4 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.587e-05/1.091, allocations: 3.984 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.864e-06/1.091, allocations: 0 / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.362e-06/1.091, allocations: 4.609 kB / 1.025 GB, free: 14.39 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003026/1.091, allocations: 200 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 5.406e-05/1.091, allocations: 85.02 kB / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.427e-05/1.092, allocations: 0 / 1.025 GB, free: 14.1 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001442/1.092, allocations: 7.984 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.989e-05/1.092, allocations: 4.562 kB / 1.025 GB, free: 14.09 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.484e-05/1.092, allocations: 3.984 kB / 1.025 GB, free: 14.08 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 7.443e-05/1.092, allocations: 94.56 kB / 1.025 GB, free: 14 MB / 0.6511 GB Notification: Performance of sort global known variables: time 4.21e-07/1.092, allocations: 4 kB / 1.025 GB, free: 13.99 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004769/1.092, allocations: 54.88 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.000519/1.093, allocations: 176.8 kB / 1.025 GB, free: 13.77 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0001954/1.093, allocations: 51.17 kB / 1.025 GB, free: 13.74 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.479e-06/1.093, allocations: 4.125 kB / 1.025 GB, free: 13.73 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 9.088e-05/1.093, allocations: 29.5 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.0002266/1.093, allocations: 1.125 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.000362/1.094, allocations: 100.2 kB / 1.025 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003248/1.094, allocations: 0.6885 MB / 1.026 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 5.756e-05/1.094, allocations: 8.172 kB / 1.026 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.262e-05/1.094, allocations: 15.44 kB / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of SimCode: time 6.81e-07/1.094, allocations: 0 / 1.026 GB, free: 12.87 MB / 0.6511 GB Notification: Performance of Templates: time 0.005946/1.1, allocations: 1.499 MB / 1.028 GB, free: 11.38 MB / 0.6511 GB