Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 8.0.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/package.mo): time 1.68/1.68, allocations: 288.4 MB / 304.3 MB, free: 8.082 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001122/0.001122, allocations: 184.5 kB / 373 MB, free: 10.13 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.484/1.484, allocations: 205.4 MB / 0.6317 GB, free: 9.871 MB / 458.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.000852/0.0008519, allocations: 108.9 kB / 0.745 GB, free: 5.793 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003363/0.0003363, allocations: 16.06 kB / 0.8681 GB, free: 141.8 MB / 0.6198 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1837/0.184, allocations: 115.3 MB / 0.9807 GB, free: 27.39 MB / 0.6198 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.5795/0.7635, allocations: 140 MB / 1.117 GB, free: 16.34 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002041/0.7638, allocations: 85.73 kB / 1.118 GB, free: 16.34 MB / 0.6823 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.1-maint.8.0.x/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.008265/0.7721, allocations: 2.997 MB / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.593e-06/0.7721, allocations: 0 / 1.12 GB, free: 31.89 MB / 0.698 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.7721, allocations: 0 / 1.12 GB, free: 31.89 MB / 0.698 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.0004378/0.7725, allocations: 424 kB / 1.121 GB, free: 31.47 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 3.081e-05/0.7726, allocations: 19.44 kB / 1.121 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.562e-05/0.7726, allocations: 14.7 kB / 1.121 GB, free: 31.46 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 8.909e-05/0.7727, allocations: 168.3 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.7727, allocations: 384 / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.447e-05/0.7728, allocations: 4.281 kB / 1.121 GB, free: 31.26 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001538/0.7729, allocations: 72.97 kB / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.125e-06/0.7729, allocations: 192 / 1.121 GB, free: 31.23 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.7729, allocations: 3.938 kB / 1.121 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.497e-06/0.773, allocations: 4 kB / 1.121 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001161/0.7731, allocations: 45.28 kB / 1.121 GB, free: 31.22 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005191/0.7736, allocations: 328.2 kB / 1.122 GB, free: 30.94 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001054/0.7737, allocations: 47.34 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.394e-05/0.7738, allocations: 39.34 kB / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 1.489e-05/0.7738, allocations: 0 / 1.122 GB, free: 30.91 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001404/0.774, allocations: 84.44 kB / 1.122 GB, free: 30.85 MB / 0.698 GB Notification: Performance of pre-optimization done (n=7): time 1.373e-06/0.774, allocations: 0 / 1.122 GB, free: 30.85 MB / 0.698 GB Notification: Performance of matching and sorting (n=7): time 0.0003451/0.7743, allocations: 151.2 kB / 1.122 GB, free: 30.82 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.978e-05/0.7744, allocations: 51.41 kB / 1.122 GB, free: 30.75 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.127e-05/0.7745, allocations: 122.9 kB / 1.122 GB, free: 30.65 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 1.603e-05/0.7745, allocations: 29.02 kB / 1.122 GB, free: 30.62 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 4.358e-05/0.7745, allocations: 94.23 kB / 1.122 GB, free: 30.54 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 1.512e-05/0.7746, allocations: 11.69 kB / 1.122 GB, free: 30.53 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.922e-06/0.7746, allocations: 3.438 kB / 1.122 GB, free: 30.53 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.844e-05/0.7747, allocations: 321.5 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.233e-05/0.7748, allocations: 29.06 kB / 1.122 GB, free: 30.21 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.406e-05/0.7748, allocations: 55.66 kB / 1.123 GB, free: 30.18 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000129/0.775, allocations: 75.36 kB / 1.123 GB, free: 30.16 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.775, allocations: 7.781 kB / 1.123 GB, free: 30.15 MB / 0.698 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.000201/0.7752, allocations: 122.9 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.144e-05/0.7752, allocations: 3.938 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.458e-06/0.7752, allocations: 3.844 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.189e-05/0.7752, allocations: 0 / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.777e-05/0.7753, allocations: 14.7 kB / 1.123 GB, free: 30.11 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.66e-06/0.7753, allocations: 7.875 kB / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.041e-05/0.7754, allocations: 10.05 kB / 1.123 GB, free: 30.1 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.168e-05/0.7754, allocations: 3.844 kB / 1.123 GB, free: 30.1 MB / 0.698 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 8.102e-05/0.7755, allocations: 120 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.339e-05/0.7755, allocations: 10.53 kB / 1.123 GB, free: 29.98 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.246e-05/0.7756, allocations: 8.312 kB / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-06/0.7756, allocations: 3.812 kB / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.036e-06/0.7756, allocations: 4 kB / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.284e-06/0.7756, allocations: 0 / 1.123 GB, free: 29.97 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003728/0.776, allocations: 382.8 kB / 1.123 GB, free: 29.67 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.995e-06/0.776, allocations: 7.406 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.623e-05/0.776, allocations: 3.812 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.543e-06/0.776, allocations: 0 / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.878e-06/0.776, allocations: 7.875 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.874e-06/0.7761, allocations: 3.188 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.253e-06/0.7761, allocations: 2.859 kB / 1.123 GB, free: 29.66 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.7763, allocations: 219.8 kB / 1.123 GB, free: 29.52 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 2.977e-05/0.7763, allocations: 88.77 kB / 1.124 GB, free: 29.42 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.813e-05/0.7764, allocations: 7.141 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.358e-05/0.7765, allocations: 7.719 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.343e-05/0.7765, allocations: 10.98 kB / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.264e-06/0.7765, allocations: 0 / 1.124 GB, free: 29.41 MB / 0.698 GB Notification: Performance of sorting global known variables: time 4.628e-05/0.7766, allocations: 100.7 kB / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.21e-07/0.7766, allocations: 0 / 1.124 GB, free: 29.33 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.0002657/0.7768, allocations: 42.62 kB / 1.124 GB, free: 29.32 MB / 0.698 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.0002985/0.7771, allocations: 180.4 kB / 1.124 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.0002008/0.7774, allocations: 74.12 kB / 1.124 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.7774, allocations: 0 / 1.124 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 8.342e-05/0.7775, allocations: 39.84 kB / 1.124 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002243/0.7777, allocations: 7.953 kB / 1.124 GB, free: 29.21 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003119/0.778, allocations: 202.9 kB / 1.124 GB, free: 29.06 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002333/0.7783, allocations: 0.6931 MB / 1.125 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 3.521e-05/0.7783, allocations: 3.875 kB / 1.125 GB, free: 28.36 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.157e-05/0.7783, allocations: 11.25 kB / 1.125 GB, free: 28.36 MB / 0.698 GB Notification: Performance of SimCode: time 7.22e-07/0.7783, allocations: 0 / 1.125 GB, free: 28.36 MB / 0.698 GB Notification: Performance of Templates: time 0.003392/0.7817, allocations: 1.52 MB / 1.126 GB, free: 28.22 MB / 0.698 GB make -j1 -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.8.0.x_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)