Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast.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.Zhang2012WindowsEast,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsEast") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.423/2.423, allocations: 251.1 MB / 266.1 MB, free: 11.63 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.001487/0.001487, allocations: 183 kB / 325.6 MB, free: 2.824 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.441/2.441, allocations: 205.4 MB / 0.5766 GB, free: 20.76 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.00117/0.00117, allocations: 93.86 kB / 0.6811 GB, free: 13.58 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006295/0.0006296, allocations: 9.625 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.208/0.2086, allocations: 106.3 MB / 0.8989 GB, free: 65.45 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2458/0.4545, allocations: 133.5 MB / 1.029 GB, free: 11.74 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003252/0.4549, allocations: 83.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.02007/0.475, allocations: 2.986 MB / 1.032 GB, free: 8.664 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.036e-06/0.475, allocations: 4 kB / 1.032 GB, free: 8.66 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 1.513e-05/0.4751, allocations: 4 kB / 1.032 GB, free: 8.656 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.001049/0.4761, allocations: 424.7 kB / 1.033 GB, free: 8.188 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.884e-05/0.4762, allocations: 8.031 kB / 1.033 GB, free: 8.18 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.355e-05/0.4763, allocations: 11.86 kB / 1.033 GB, free: 8.168 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001918/0.4765, allocations: 163.1 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.324e-05/0.4766, allocations: 7.984 kB / 1.033 GB, free: 7.961 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 4.366e-05/0.4767, allocations: 4 kB / 1.033 GB, free: 7.957 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003937/0.4771, allocations: 77.59 kB / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.433e-05/0.4771, allocations: 0 / 1.033 GB, free: 7.875 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.854e-05/0.4772, allocations: 4 kB / 1.033 GB, free: 7.871 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.051e-05/0.4772, allocations: 7.938 kB / 1.033 GB, free: 7.863 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000373/0.4776, allocations: 39.97 kB / 1.033 GB, free: 7.824 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001268/0.4789, allocations: 324.6 kB / 1.033 GB, free: 7.457 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003255/0.4793, allocations: 54.5 kB / 1.033 GB, free: 7.395 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 3.867e-05/0.4793, allocations: 11.94 kB / 1.033 GB, free: 7.383 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000374/0.4797, allocations: 75.5 kB / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 4.529e-06/0.4797, allocations: 0 / 1.033 GB, free: 7.297 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.0009832/0.4807, allocations: 153.4 kB / 1.034 GB, free: 7.141 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.407e-05/0.4809, allocations: 59.39 kB / 1.034 GB, free: 7.07 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001721/0.481, allocations: 112.9 kB / 1.034 GB, free: 6.953 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.77e-05/0.4811, allocations: 25.7 kB / 1.034 GB, free: 6.922 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001001/0.4813, allocations: 92.39 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 4.836e-05/0.4813, allocations: 19.8 kB / 1.034 GB, free: 6.805 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.82e-05/0.4814, allocations: 4 kB / 1.034 GB, free: 6.801 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001775/0.4816, allocations: 310.8 kB / 1.034 GB, free: 6.488 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000239/0.4818, allocations: 35.98 kB / 1.034 GB, free: 6.453 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002476/0.4821, allocations: 50.55 kB / 1.034 GB, free: 6.395 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002727/0.4824, allocations: 31.98 kB / 1.034 GB, free: 6.363 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4824, allocations: 4 kB / 1.034 GB, free: 6.359 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0006713/0.4831, allocations: 117.5 kB / 1.034 GB, free: 6.238 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.727e-05/0.4831, allocations: 4 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.196e-05/0.4832, allocations: 3.984 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.363e-05/0.4832, allocations: 4 kB / 1.034 GB, free: 6.227 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002274/0.4835, allocations: 11.94 kB / 1.034 GB, free: 6.215 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.686e-05/0.4835, allocations: 12 kB / 1.034 GB, free: 6.203 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001812/0.4837, allocations: 12 kB / 1.034 GB, free: 6.191 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.697e-05/0.4837, allocations: 0 / 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.0001938/0.484, allocations: 121.8 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.587e-05/0.484, allocations: 3.906 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.7e-05/0.4841, allocations: 16.36 kB / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.95e-06/0.4841, allocations: 0 / 1.035 GB, free: 6.043 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.543e-06/0.4841, allocations: 4 kB / 1.035 GB, free: 6.039 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.247e-06/0.4842, allocations: 3.953 kB / 1.035 GB, free: 6.035 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001068/0.4852, allocations: 382.9 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/0.4853, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.327e-05/0.4854, allocations: 4 kB / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4854, allocations: 0 / 1.035 GB, free: 5.602 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.897e-05/0.4854, allocations: 11.98 kB / 1.035 GB, free: 5.59 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.604e-06/0.4855, allocations: 3.953 kB / 1.035 GB, free: 5.586 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.757e-06/0.4855, allocations: 4 kB / 1.035 GB, free: 5.582 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00072/0.4862, allocations: 217.2 kB / 1.035 GB, free: 5.355 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 7.993e-05/0.4863, allocations: 88.95 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.939e-05/0.4864, allocations: 7.984 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002273/0.4866, allocations: 8 kB / 1.035 GB, free: 5.234 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.253e-05/0.4867, allocations: 11.94 kB / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.033e-05/0.4868, allocations: 0 / 1.035 GB, free: 5.223 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0001178/0.4869, allocations: 99.2 kB / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of sort global known variables: time 9.52e-07/0.4869, allocations: 0 / 1.035 GB, free: 5.125 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.0007177/0.4877, allocations: 47.94 kB / 1.035 GB, free: 5.078 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.0006792/0.4884, allocations: 168.8 kB / 1.036 GB, free: 4.922 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.000599/0.489, allocations: 75.89 kB / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.948e-06/0.489, allocations: 0 / 1.036 GB, free: 4.848 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0002731/0.4893, allocations: 40.11 kB / 1.036 GB, free: 4.809 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003493/0.4897, allocations: 11.98 kB / 1.036 GB, free: 4.797 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007892/0.4905, allocations: 201.1 kB / 1.036 GB, free: 4.562 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004703/0.491, allocations: 0.6965 MB / 1.037 GB, free: 3.84 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 9.809e-05/0.4911, allocations: 8.172 kB / 1.037 GB, free: 3.832 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.101e-05/0.4912, allocations: 15.42 kB / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of SimCode: time 1.743e-06/0.4912, allocations: 0 / 1.037 GB, free: 3.82 MB / 0.6823 GB Notification: Performance of Templates: time 0.009129/0.5003, allocations: 1.516 MB / 1.038 GB, free: 2.309 MB / 0.6823 GB