Running: ./testmodel.py --libraries=/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.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.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_7.0.0_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/var/lib/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.1/package.mo): time 2.23/2.23, 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.001525/0.001525, allocations: 183.6 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.353/2.353, allocations: 205.4 MB / 0.5766 GB, free: 20.78 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.001084/0.001084, allocations: 96.59 kB / 0.6811 GB, free: 13.6 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0006301/0.0006301, allocations: 11.28 kB / 0.7951 GB, free: 135.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2173/0.218, allocations: 106.3 MB / 0.8989 GB, free: 65.47 MB / 0.6042 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.2478/0.4658, allocations: 133.5 MB / 1.029 GB, free: 11.75 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003443/0.4662, allocations: 79.95 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.01411/0.4804, allocations: 2.994 MB / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.854e-06/0.4804, allocations: 0 / 1.032 GB, free: 8.676 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 7.795e-06/0.4804, allocations: 0 / 1.032 GB, free: 8.676 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.0007482/0.4812, allocations: 424.7 kB / 1.033 GB, free: 8.207 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.576e-05/0.4812, allocations: 12.03 kB / 1.033 GB, free: 8.195 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.339e-05/0.4813, allocations: 11.86 kB / 1.033 GB, free: 8.184 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001493/0.4815, allocations: 171 kB / 1.033 GB, free: 7.977 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.405e-05/0.4815, allocations: 4 kB / 1.033 GB, free: 7.973 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.882e-05/0.4815, allocations: 4 kB / 1.033 GB, free: 7.969 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002808/0.4818, allocations: 73.59 kB / 1.033 GB, free: 7.891 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.458e-06/0.4819, allocations: 4 kB / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.4819, allocations: 0 / 1.033 GB, free: 7.887 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.067e-06/0.4819, allocations: 4 kB / 1.033 GB, free: 7.883 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002308/0.4821, allocations: 43.91 kB / 1.033 GB, free: 7.84 MB / 0.6823 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008487/0.483, allocations: 324.6 kB / 1.033 GB, free: 7.473 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001965/0.4832, allocations: 50.5 kB / 1.033 GB, free: 7.414 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 2.761e-05/0.4833, allocations: 3.984 kB / 1.033 GB, free: 7.41 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002381/0.4835, allocations: 79.58 kB / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=7): time 1.944e-06/0.4835, allocations: 0 / 1.033 GB, free: 7.32 MB / 0.6823 GB Notification: Performance of matching and sorting (n=7): time 0.000644/0.4842, allocations: 157.7 kB / 1.034 GB, free: 7.16 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.227e-05/0.4842, allocations: 59.34 kB / 1.034 GB, free: 7.09 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001175/0.4844, allocations: 109 kB / 1.034 GB, free: 6.977 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 3.014e-05/0.4844, allocations: 29.7 kB / 1.034 GB, free: 6.941 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 7.707e-05/0.4845, allocations: 96.31 kB / 1.034 GB, free: 6.84 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 2.59e-05/0.4845, allocations: 7.812 kB / 1.034 GB, free: 6.832 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.371e-05/0.4846, allocations: 8 kB / 1.034 GB, free: 6.824 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001386/0.4847, allocations: 318.8 kB / 1.034 GB, free: 6.504 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001381/0.4849, allocations: 23.98 kB / 1.034 GB, free: 6.48 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001604/0.485, allocations: 50.56 kB / 1.034 GB, free: 6.422 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001579/0.4852, allocations: 39.97 kB / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.765e-06/0.4852, allocations: 0 / 1.034 GB, free: 6.383 MB / 0.6823 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0003936/0.4856, allocations: 117.5 kB / 1.034 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.339e-05/0.4857, allocations: 10.19 kB / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.4857, allocations: 0 / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.46e-05/0.4857, allocations: 0 / 1.034 GB, free: 6.254 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00017/0.4859, allocations: 19.92 kB / 1.034 GB, free: 6.234 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.015e-05/0.4859, allocations: 3.953 kB / 1.034 GB, free: 6.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001093/0.486, allocations: 8 kB / 1.034 GB, free: 6.223 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.893e-05/0.4861, allocations: 4 kB / 1.034 GB, free: 6.219 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.0001271/0.4862, allocations: 127.4 kB / 1.035 GB, free: 6.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.366e-05/0.4862, allocations: 11.84 kB / 1.035 GB, free: 6.074 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.701e-05/0.4863, allocations: 8.375 kB / 1.035 GB, free: 6.066 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.514e-06/0.4863, allocations: 4 kB / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.449e-06/0.4863, allocations: 0 / 1.035 GB, free: 6.062 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.4863, allocations: 3.953 kB / 1.035 GB, free: 6.059 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000693/0.487, allocations: 386.5 kB / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.365e-06/0.487, allocations: 0 / 1.035 GB, free: 5.625 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.293e-05/0.4871, allocations: 7.984 kB / 1.035 GB, free: 5.617 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.691e-06/0.4871, allocations: 7.984 kB / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.387e-05/0.4871, allocations: 0 / 1.035 GB, free: 5.609 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.111e-06/0.4872, allocations: 3.953 kB / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.903e-06/0.4872, allocations: 0 / 1.035 GB, free: 5.605 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004547/0.4876, allocations: 221.1 kB / 1.035 GB, free: 5.375 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 5.459e-05/0.4877, allocations: 84.95 kB / 1.035 GB, free: 5.273 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.803e-05/0.4877, allocations: 8 kB / 1.035 GB, free: 5.266 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001322/0.4879, allocations: 8 kB / 1.035 GB, free: 5.258 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.059e-05/0.4879, allocations: 7.938 kB / 1.035 GB, free: 5.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.211e-05/0.488, allocations: 8 kB / 1.035 GB, free: 5.242 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 7.402e-05/0.4881, allocations: 91.27 kB / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.91e-07/0.4881, allocations: 0 / 1.035 GB, free: 5.152 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.000442/0.4885, allocations: 55.92 kB / 1.035 GB, free: 5.098 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.0004686/0.489, allocations: 161.5 kB / 1.036 GB, free: 4.945 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.0003646/0.4894, allocations: 76.22 kB / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 2.465e-06/0.4894, allocations: 0 / 1.036 GB, free: 4.871 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0001717/0.4896, allocations: 48.11 kB / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002291/0.4898, allocations: 0 / 1.036 GB, free: 4.824 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005342/0.4904, allocations: 211.8 kB / 1.036 GB, free: 4.582 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003217/0.4907, allocations: 0.6965 MB / 1.037 GB, free: 3.859 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 5.742e-05/0.4908, allocations: 4.172 kB / 1.037 GB, free: 3.855 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.589e-05/0.4908, allocations: 15.44 kB / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of SimCode: time 8.42e-07/0.4908, allocations: 0 / 1.037 GB, free: 3.844 MB / 0.6823 GB Notification: Performance of Templates: time 0.005933/0.4968, allocations: 1.506 MB / 1.038 GB, free: 2.336 MB / 0.6823 GB