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.127/2.127, allocations: 251.1 MB / 266.1 MB, free: 11.57 MB / 218.7 MB Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001468/0.001468, allocations: 176.7 kB / 325.6 MB, free: 2.816 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.484/2.484, allocations: 205.4 MB / 0.5766 GB, free: 20.74 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.001379/0.001379, allocations: 98.34 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004441/0.000444, allocations: 11.88 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1941/0.1945, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2338/0.4284, allocations: 133.5 MB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003366/0.4288, allocations: 87.94 kB / 1.029 GB, free: 11.68 MB / 0.6823 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.01445/0.4433, allocations: 2.986 MB / 1.032 GB, free: 8.684 MB / 0.6823 GB Notification: Performance of FrontEnd: time 5.009e-06/0.4433, allocations: 7.922 kB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.006e-05/0.4433, allocations: 4 kB / 1.032 GB, free: 8.672 MB / 0.6823 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.0007568/0.4441, allocations: 428.7 kB / 1.033 GB, free: 8.199 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.652e-05/0.4442, allocations: 8.031 kB / 1.033 GB, free: 8.191 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.041e-05/0.4442, allocations: 11.86 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001336/0.4444, allocations: 167 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.304e-05/0.4444, allocations: 4 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.746e-05/0.4444, allocations: 4 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002556/0.4447, allocations: 69.59 kB / 1.033 GB, free: 7.895 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.907e-06/0.4447, allocations: 8 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.151e-05/0.4448, allocations: 7.984 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.855e-06/0.4448, allocations: 0 / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002309/0.445, allocations: 39.92 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008757/0.4459, allocations: 328.6 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002018/0.4461, allocations: 54.5 kB / 1.033 GB, free: 7.406 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.843e-05/0.4462, allocations: 4 kB / 1.033 GB, free: 7.402 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002799/0.4465, allocations: 79.5 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 2.825e-06/0.4465, allocations: 0 / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006448/0.4471, allocations: 149.4 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.639e-05/0.4472, allocations: 55.41 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001116/0.4473, allocations: 109 kB / 1.034 GB, free: 6.98 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.63e-05/0.4474, allocations: 33.69 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.207e-05/0.4474, allocations: 92.39 kB / 1.034 GB, free: 6.844 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.86e-05/0.4475, allocations: 15.81 kB / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.618e-06/0.4475, allocations: 0 / 1.034 GB, free: 6.828 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.4477, allocations: 318.8 kB / 1.034 GB, free: 6.508 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001435/0.4478, allocations: 31.98 kB / 1.034 GB, free: 6.477 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.448, allocations: 54.55 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001546/0.4482, allocations: 28 kB / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.455e-06/0.4482, allocations: 0 / 1.034 GB, free: 6.387 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0004042/0.4486, allocations: 121.8 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.918e-05/0.4486, allocations: 4 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.182e-06/0.4486, allocations: 0 / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.856e-05/0.4487, allocations: 4 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001526/0.4488, allocations: 15.92 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.243e-05/0.4488, allocations: 4.031 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001158/0.449, allocations: 15.98 kB / 1.034 GB, free: 6.219 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.824e-05/0.449, allocations: 3.984 kB / 1.034 GB, free: 6.215 MB / 0.6823 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 () * Number of clocked 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.0001219/0.4491, allocations: 123.8 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.12e-05/0.4492, allocations: 7.844 kB / 1.035 GB, free: 6.078 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.804e-05/0.4492, allocations: 12.38 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.747e-06/0.4492, allocations: 0 / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.06e-06/0.4492, allocations: 3.938 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.524e-06/0.4493, allocations: 7.938 kB / 1.035 GB, free: 6.055 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006966/0.45, allocations: 382.5 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.183e-06/0.45, allocations: 7.984 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.332e-05/0.4501, allocations: 4 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.717e-06/0.4501, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.402e-05/0.4501, allocations: 0 / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.35e-06/0.4501, allocations: 3.953 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.064e-06/0.4501, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004924/0.4506, allocations: 229.1 kB / 1.035 GB, free: 5.371 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.805e-05/0.4507, allocations: 88.95 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.418e-05/0.4507, allocations: 0 / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001363/0.4509, allocations: 7.984 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.798e-05/0.451, allocations: 15.94 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.528e-05/0.451, allocations: 7.984 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 9.193e-05/0.4511, allocations: 91.28 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.81e-07/0.4511, allocations: 0 / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004338/0.4515, allocations: 51.92 kB / 1.035 GB, free: 5.094 MB / 0.6823 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 () * Number of clocked 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.0004538/0.452, allocations: 158.9 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003678/0.4524, allocations: 79.89 kB / 1.036 GB, free: 4.867 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.4524, allocations: 7.938 kB / 1.036 GB, free: 4.859 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001637/0.4526, allocations: 31.98 kB / 1.036 GB, free: 4.828 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002149/0.4528, allocations: 8 kB / 1.036 GB, free: 4.82 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005316/0.4534, allocations: 209.2 kB / 1.036 GB, free: 4.578 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002773/0.4537, allocations: 0.6926 MB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.522e-05/0.4537, allocations: 4.188 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.72e-05/0.4538, allocations: 15.44 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of SimCode: time 8.11e-07/0.4538, allocations: 0 / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of Templates: time 0.005932/0.4597, allocations: 1.519 MB / 1.038 GB, free: 2.336 MB / 0.6823 GB