Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.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.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.429/2.429, allocations: 251.1 MB / 266.1 MB, free: 11.62 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.001614/0.001614, allocations: 182.2 kB / 325.6 MB, free: 2.836 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.309/2.309, allocations: 205.4 MB / 0.5766 GB, free: 20.8 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.001091/0.001091, allocations: 88.48 kB / 0.6811 GB, free: 13.59 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0004445/0.0004445, allocations: 16.05 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2025/0.203, allocations: 106.2 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2231/0.4261, allocations: 133.5 MB / 1.029 GB, free: 11.76 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003361/0.4265, allocations: 91.88 kB / 1.029 GB, free: 11.67 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.01405/0.4406, allocations: 2.991 MB / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.984e-06/0.4406, allocations: 0 / 1.032 GB, free: 8.672 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.354e-06/0.4406, allocations: 4 kB / 1.032 GB, free: 8.668 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.0006684/0.4413, allocations: 428.7 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.27e-05/0.4413, allocations: 12.03 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.144e-05/0.4414, allocations: 11.86 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001348/0.4415, allocations: 167.1 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.254e-05/0.4416, allocations: 4 kB / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.159e-05/0.4416, allocations: 0 / 1.033 GB, free: 7.965 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002451/0.4419, allocations: 77.59 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.4419, allocations: 0 / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.725e-05/0.4419, allocations: 0 / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.799e-06/0.4419, allocations: 3.938 kB / 1.033 GB, free: 7.879 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002257/0.4422, allocations: 47.97 kB / 1.033 GB, free: 7.832 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007987/0.443, allocations: 320.6 kB / 1.033 GB, free: 7.469 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001882/0.4432, allocations: 62.48 kB / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.551e-05/0.4432, allocations: 0 / 1.033 GB, free: 7.398 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002386/0.4435, allocations: 75.5 kB / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.853e-06/0.4435, allocations: 0 / 1.033 GB, free: 7.312 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0006291/0.4441, allocations: 153.5 kB / 1.034 GB, free: 7.156 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.687e-05/0.4442, allocations: 51.41 kB / 1.034 GB, free: 7.094 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.4443, allocations: 116.9 kB / 1.034 GB, free: 6.973 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 2.45e-05/0.4444, allocations: 29.7 kB / 1.034 GB, free: 6.938 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 6.519e-05/0.4444, allocations: 92.31 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.959e-05/0.4445, allocations: 19.88 kB / 1.034 GB, free: 6.82 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.498e-05/0.4445, allocations: 4 kB / 1.034 GB, free: 6.816 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001131/0.4446, allocations: 322.8 kB / 1.034 GB, free: 6.492 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001502/0.4448, allocations: 23.98 kB / 1.034 GB, free: 6.469 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001534/0.4449, allocations: 46.56 kB / 1.034 GB, free: 6.414 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001575/0.4451, allocations: 39.98 kB / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.695e-06/0.4451, allocations: 0 / 1.034 GB, free: 6.375 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003962/0.4455, allocations: 113.8 kB / 1.034 GB, free: 6.258 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.839e-05/0.4456, allocations: 8.062 kB / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.4456, allocations: 0 / 1.034 GB, free: 6.25 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.045e-05/0.4456, allocations: 7.984 kB / 1.034 GB, free: 6.242 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001506/0.4458, allocations: 15.92 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.134e-05/0.4458, allocations: 11.95 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001097/0.4459, allocations: 12 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.207e-05/0.446, allocations: 7.984 kB / 1.034 GB, free: 6.195 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.0001106/0.4461, allocations: 121.8 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.398e-05/0.4461, allocations: 7.906 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.81e-05/0.4462, allocations: 8.375 kB / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.246e-06/0.4462, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.4462, allocations: 0 / 1.035 GB, free: 6.051 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.4462, allocations: 3.953 kB / 1.035 GB, free: 6.047 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006817/0.4469, allocations: 386.5 kB / 1.035 GB, free: 5.613 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.715e-06/0.4469, allocations: 4 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.334e-05/0.447, allocations: 7.984 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.447, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.442e-05/0.447, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.083e-06/0.447, allocations: 7.953 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/0.447, allocations: 4 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004566/0.4475, allocations: 217.1 kB / 1.035 GB, free: 5.363 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 4.704e-05/0.4476, allocations: 88.95 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.607e-05/0.4476, allocations: 4 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001325/0.4478, allocations: 7.984 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.527e-05/0.4478, allocations: 7.953 kB / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.159e-05/0.4478, allocations: 0 / 1.035 GB, free: 5.238 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 6.775e-05/0.4479, allocations: 95.27 kB / 1.035 GB, free: 5.145 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.11e-07/0.4479, allocations: 4 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0004632/0.4484, allocations: 51.92 kB / 1.035 GB, free: 5.09 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.0004845/0.4489, allocations: 167.1 kB / 1.036 GB, free: 4.934 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003789/0.4493, allocations: 79.88 kB / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.4493, allocations: 0 / 1.036 GB, free: 4.855 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001941/0.4495, allocations: 39.98 kB / 1.036 GB, free: 4.816 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002382/0.4498, allocations: 6.25 kB / 1.036 GB, free: 4.812 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005721/0.4503, allocations: 205.2 kB / 1.036 GB, free: 4.574 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002661/0.4506, allocations: 0.698 MB / 1.037 GB, free: 3.852 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 6.756e-05/0.4507, allocations: 8.172 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.053e-05/0.4508, allocations: 11.44 kB / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of SimCode: time 1.342e-06/0.4508, allocations: 0 / 1.037 GB, free: 3.836 MB / 0.6823 GB Notification: Performance of Templates: time 0.00897/0.4597, allocations: 1.512 MB / 1.038 GB, free: 2.328 MB / 0.6823 GB