Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen.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.Herkel2008WindowsTiltedOpen,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Herkel2008WindowsTiltedOpen") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.274/2.274, allocations: 253.1 MB / 260.6 MB, free: 7.512 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.001517/0.001517, allocations: 174.3 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.073/2.073, 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.001103/0.001103, allocations: 94.62 kB / 0.6751 GB, free: 4.637 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 2.224e-05/2.237e-05, allocations: 0 / 0.7849 GB, free: 102.2 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2052, allocations: 106.2 MB / 0.8887 GB, free: 11.88 MB / 0.5573 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.904/1.109, allocations: 133.7 MB / 1.019 GB, free: 3.77 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000322/1.11, allocations: 77.39 kB / 1.019 GB, free: 3.727 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.01389/1.124, allocations: 2.965 MB / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.532e-06/1.124, allocations: 0 / 1.022 GB, free: 1.215 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 7.073e-06/1.124, allocations: 0 / 1.022 GB, free: 1.215 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.0006746/1.124, allocations: 414.5 kB / 1.023 GB, free: 0.7656 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/1.124, allocations: 12.02 kB / 1.023 GB, free: 0.7539 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.764e-05/1.124, allocations: 11.86 kB / 1.023 GB, free: 0.7422 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001498/1.125, allocations: 175 kB / 1.023 GB, free: 0.5312 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.247e-05/1.125, allocations: 4 kB / 1.023 GB, free: 0.5273 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.447e-05/1.125, allocations: 7.938 kB / 1.023 GB, free: 0.5195 MB / 0.6355 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001045/1.125, allocations: 23.44 kB / 1.023 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001449/1.125, allocations: 56.17 kB / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.658e-06/1.125, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.479e-05/1.125, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.019e-06/1.125, allocations: 0 / 1.023 GB, free: 464 kB / 0.6355 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008346/1.126, allocations: 297.3 kB / 1.023 GB, free: 148 kB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001084/1.126, allocations: 40.58 kB / 1.023 GB, free: 108 kB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 6.697e-05/1.126, allocations: 27.66 kB / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 2.412e-05/1.126, allocations: 0 / 1.023 GB, free: 84 kB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001527/1.126, allocations: 70.2 kB / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of pre-optimization done (n=7): time 1.894e-06/1.126, allocations: 0 / 1.023 GB, free: 12 kB / 0.6355 GB Notification: Performance of matching and sorting (n=7): time 0.0003622/1.127, allocations: 92.27 kB / 1.023 GB, free: 15.93 MB / 0.6511 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/1.127, allocations: 62.67 kB / 1.023 GB, free: 15.86 MB / 0.6511 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001101/1.127, allocations: 112.4 kB / 1.024 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 2.455e-05/1.127, allocations: 29.7 kB / 1.024 GB, free: 15.71 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 6.824e-05/1.127, allocations: 82.7 kB / 1.024 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 2.818e-05/1.127, allocations: 18.81 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.226e-05/1.127, allocations: 4 kB / 1.024 GB, free: 15.61 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.0001352/1.127, allocations: 321.8 kB / 1.024 GB, free: 15.29 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.364e-05/1.127, allocations: 22.5 kB / 1.024 GB, free: 15.27 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.84e-05/1.127, allocations: 40.56 kB / 1.024 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.293e-05/1.127, allocations: 22.12 kB / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.755e-06/1.127, allocations: 0 / 1.024 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002514/1.128, allocations: 94.64 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 2.253e-05/1.128, allocations: 5.406 kB / 1.024 GB, free: 15.13 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.816e-06/1.128, allocations: 4 kB / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.518e-05/1.128, allocations: 0 / 1.024 GB, free: 15.12 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001712/1.128, allocations: 11.98 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.867e-06/1.128, allocations: 4 kB / 1.024 GB, free: 15.11 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001069/1.128, allocations: 7.953 kB / 1.024 GB, free: 15.1 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.218e-05/1.128, allocations: 11.67 kB / 1.024 GB, free: 15.09 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.0001078/1.128, allocations: 111 kB / 1.024 GB, free: 14.98 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.392e-05/1.128, allocations: 7.906 kB / 1.024 GB, free: 14.97 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.829e-05/1.128, allocations: 12.19 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.54e-06/1.128, allocations: 3.984 kB / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.11e-06/1.128, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.606e-06/1.128, allocations: 0 / 1.024 GB, free: 14.96 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005167/1.129, allocations: 339.3 kB / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/1.129, allocations: 0 / 1.025 GB, free: 14.61 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.909e-05/1.129, allocations: 11.94 kB / 1.025 GB, free: 14.6 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.342e-06/1.129, allocations: 4 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.669e-05/1.129, allocations: 3.984 kB / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.525e-06/1.129, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.146e-06/1.129, allocations: 0 / 1.025 GB, free: 14.59 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002997/1.129, allocations: 191.1 kB / 1.025 GB, free: 14.41 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 7.935e-05/1.129, allocations: 85.02 kB / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.365e-05/1.129, allocations: 0 / 1.025 GB, free: 14.3 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000144/1.13, allocations: 11.98 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.316e-05/1.13, allocations: 4 kB / 1.025 GB, free: 14.29 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/1.13, allocations: 11.17 kB / 1.025 GB, free: 14.28 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 6.821e-05/1.13, allocations: 91.5 kB / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of sort global known variables: time 5.51e-07/1.13, allocations: 0 / 1.025 GB, free: 14.2 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.0004474/1.13, allocations: 51.06 kB / 1.025 GB, free: 14.15 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.0004807/1.131, allocations: 171.8 kB / 1.025 GB, free: 13.98 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.0002018/1.131, allocations: 49.36 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 3.747e-06/1.131, allocations: 2.438 kB / 1.025 GB, free: 13.95 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 8.226e-05/1.131, allocations: 29.98 kB / 1.025 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002367/1.131, allocations: 6.938 kB / 1.025 GB, free: 13.92 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003688/1.132, allocations: 99.03 kB / 1.025 GB, free: 13.81 MB / 0.6511 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003007/1.132, allocations: 0.6885 MB / 1.026 GB, free: 13.1 MB / 0.6511 GB Notification: Performance of simCode: alias equations: time 6.026e-05/1.132, allocations: 4.188 kB / 1.026 GB, free: 13.09 MB / 0.6511 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/1.132, allocations: 15.42 kB / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of SimCode: time 8.42e-07/1.132, allocations: 0 / 1.026 GB, free: 13.08 MB / 0.6511 GB Notification: Performance of Templates: time 0.006446/1.139, allocations: 1.506 MB / 1.028 GB, free: 11.59 MB / 0.6511 GB