Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth.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.Zhang2012WindowsNorth,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsNorth") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.209/2.209, allocations: 251.1 MB / 266.1 MB, free: 11.58 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.001469/0.001469, allocations: 181.5 kB / 325.6 MB, free: 2.828 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.299/2.299, 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.001179/0.00118, allocations: 98.98 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006327/0.0006326, allocations: 11.91 kB / 0.7951 GB, free: 135.5 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2129/0.2136, allocations: 106.2 MB / 0.8989 GB, free: 65.46 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2321/0.4457, allocations: 133.5 MB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004193/0.4462, allocations: 79.95 kB / 1.029 GB, free: 11.66 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.0187/0.4649, allocations: 2.986 MB / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.194e-06/0.465, allocations: 0 / 1.032 GB, free: 8.668 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.209e-05/0.465, allocations: 7.938 kB / 1.032 GB, free: 8.66 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.0009224/0.4659, allocations: 420.7 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.308e-05/0.466, allocations: 8.031 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.156e-05/0.4661, allocations: 15.86 kB / 1.033 GB, free: 8.172 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001797/0.4663, allocations: 175 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.066e-05/0.4664, allocations: 0 / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 3.696e-05/0.4664, allocations: 7.938 kB / 1.033 GB, free: 7.953 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003449/0.4668, allocations: 73.59 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.156e-05/0.4668, allocations: 0 / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.519e-05/0.4668, allocations: 8 kB / 1.033 GB, free: 7.867 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.256e-06/0.4669, allocations: 3.984 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003132/0.4672, allocations: 43.97 kB / 1.033 GB, free: 7.82 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001135/0.4683, allocations: 320.6 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002615/0.4686, allocations: 54.5 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.383e-05/0.4687, allocations: 4 kB / 1.033 GB, free: 7.391 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003176/0.469, allocations: 83.55 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 3.316e-06/0.469, allocations: 0 / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0008245/0.4699, allocations: 149.5 kB / 1.034 GB, free: 7.145 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.064e-05/0.47, allocations: 63.33 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001531/0.4701, allocations: 112.9 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.648e-05/0.4702, allocations: 29.7 kB / 1.034 GB, free: 6.918 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 9.438e-05/0.4703, allocations: 88.33 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.029e-05/0.4703, allocations: 19.78 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.565e-05/0.4704, allocations: 8 kB / 1.034 GB, free: 6.797 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001745/0.4706, allocations: 314.8 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001937/0.4708, allocations: 27.98 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002233/0.471, allocations: 46.55 kB / 1.034 GB, free: 6.398 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002198/0.4713, allocations: 39.98 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.557e-06/0.4713, allocations: 0 / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0005919/0.4719, allocations: 117.5 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.536e-05/0.4719, allocations: 6.031 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.785e-06/0.4719, allocations: 0 / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.237e-05/0.472, allocations: 8.062 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002055/0.4722, allocations: 23.86 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.132e-05/0.4722, allocations: 3.953 kB / 1.034 GB, free: 6.199 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001502/0.4724, allocations: 4 kB / 1.034 GB, free: 6.195 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.086e-05/0.4724, allocations: 4 kB / 1.034 GB, free: 6.191 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.0001633/0.4726, allocations: 113.8 kB / 1.035 GB, free: 6.07 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.268e-05/0.4727, allocations: 7.906 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.047e-05/0.4727, allocations: 20.36 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.498e-06/0.4727, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.111e-06/0.4728, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.324e-06/0.4728, allocations: 7.891 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009369/0.4737, allocations: 382.5 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.587e-06/0.4738, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.568e-05/0.4739, allocations: 8 kB / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.4739, allocations: 0 / 1.035 GB, free: 5.594 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.237e-05/0.4739, allocations: 3.984 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.492e-06/0.4739, allocations: 3.953 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.424e-06/0.4739, allocations: 0 / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006134/0.4746, allocations: 217.1 kB / 1.035 GB, free: 5.359 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.411e-05/0.4747, allocations: 88.95 kB / 1.035 GB, free: 5.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.06e-05/0.4747, allocations: 7.984 kB / 1.035 GB, free: 5.246 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002066/0.4749, allocations: 4 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.421e-05/0.475, allocations: 11.94 kB / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.852e-05/0.4751, allocations: 0 / 1.035 GB, free: 5.23 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001007/0.4752, allocations: 91.27 kB / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of sort global known variables: time 5.71e-07/0.4752, allocations: 0 / 1.035 GB, free: 5.141 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00075/0.4759, allocations: 51.94 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.000633/0.4766, allocations: 176 kB / 1.036 GB, free: 4.926 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0005414/0.4772, allocations: 79.94 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 6.984e-06/0.4772, allocations: 8.062 kB / 1.036 GB, free: 4.84 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002362/0.4774, allocations: 39.92 kB / 1.036 GB, free: 4.801 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000375/0.4778, allocations: 13.7 kB / 1.036 GB, free: 4.789 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007581/0.4786, allocations: 205.1 kB / 1.036 GB, free: 4.551 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004633/0.4791, allocations: 0.6926 MB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.254e-05/0.4792, allocations: 4.188 kB / 1.037 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.68e-05/0.4793, allocations: 11.42 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/0.4793, allocations: 4 kB / 1.037 GB, free: 3.816 MB / 0.6823 GB Notification: Performance of Templates: time 0.008335/0.4877, allocations: 1.511 MB / 1.038 GB, free: 2.309 MB / 0.6823 GB