Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.x/package.mo): time 1.656/1.656, allocations: 293 MB / 309 MB, free: 4.785 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.0009757/0.0009754, allocations: 172.5 kB / 378.7 MB, free: 1.008 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.413/1.413, allocations: 205.4 MB / 0.6383 GB, free: 9.164 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0007725/0.0007727, allocations: 85.53 kB / 0.7527 GB, free: 62.46 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003707/0.0003707, allocations: 12 kB / 0.8768 GB, free: 10.57 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2414/0.2418, allocations: 116.4 MB / 0.9904 GB, free: 6.008 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.6592/0.901, allocations: 141.1 MB / 1.128 GB, free: 33.25 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000254/0.9013, allocations: 86.95 kB / 1.128 GB, free: 33.18 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.1-maint.8.1.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.007934/0.9093, allocations: 2.996 MB / 1.131 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of FrontEnd: time 2.424e-06/0.9093, allocations: 0 / 1.131 GB, free: 31.03 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 6.692e-06/0.9093, allocations: 4 kB / 1.131 GB, free: 31.02 MB / 0.7292 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.0004019/0.9097, allocations: 428.8 kB / 1.132 GB, free: 30.57 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.9098, allocations: 11.97 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.525e-05/0.9098, allocations: 8.875 kB / 1.132 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 7.295e-05/0.9099, allocations: 168.8 kB / 1.132 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.474e-05/0.9099, allocations: 4.375 kB / 1.132 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.428e-05/0.9099, allocations: 4.375 kB / 1.132 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001521/0.9101, allocations: 76.7 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.935e-06/0.9101, allocations: 4.188 kB / 1.132 GB, free: 30.27 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.182e-05/0.9101, allocations: 3.938 kB / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.707e-06/0.9101, allocations: 0 / 1.132 GB, free: 30.26 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001391/0.9103, allocations: 39.48 kB / 1.132 GB, free: 30.23 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004802/0.9108, allocations: 328 kB / 1.132 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000105/0.9109, allocations: 53.5 kB / 1.132 GB, free: 29.84 MB / 0.7292 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.157e-05/0.911, allocations: 36.55 kB / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.015e-05/0.911, allocations: 0 / 1.132 GB, free: 29.8 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000134/0.9111, allocations: 85.73 kB / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.302e-06/0.9112, allocations: 0 / 1.132 GB, free: 29.72 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003395/0.9115, allocations: 144.3 kB / 1.133 GB, free: 29.59 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.251e-05/0.9115, allocations: 58.92 kB / 1.133 GB, free: 29.52 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.035e-05/0.9116, allocations: 118.2 kB / 1.133 GB, free: 29.4 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.214e-05/0.9116, allocations: 30.27 kB / 1.133 GB, free: 29.36 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.183e-05/0.9117, allocations: 91.73 kB / 1.133 GB, free: 29.27 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.719e-05/0.9117, allocations: 19.8 kB / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.61e-06/0.9117, allocations: 0 / 1.133 GB, free: 29.25 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 4.796e-05/0.9117, allocations: 322.4 kB / 1.133 GB, free: 28.93 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.328e-05/0.9118, allocations: 35.47 kB / 1.133 GB, free: 28.9 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.539e-05/0.9119, allocations: 57.95 kB / 1.133 GB, free: 28.84 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001343/0.9121, allocations: 78.66 kB / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.9121, allocations: 0 / 1.133 GB, free: 28.77 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0001952/0.9123, allocations: 112.7 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.365e-05/0.9123, allocations: 4 kB / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.588e-06/0.9123, allocations: 0 / 1.133 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.354e-05/0.9123, allocations: 4.062 kB / 1.133 GB, free: 28.65 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.512e-05/0.9124, allocations: 24.72 kB / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.44e-06/0.9124, allocations: 0 / 1.133 GB, free: 28.63 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.894e-05/0.9125, allocations: 11.47 kB / 1.133 GB, free: 28.62 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.031e-05/0.9125, allocations: 0 / 1.133 GB, free: 28.62 MB / 0.7292 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 5.741e-05/0.9126, allocations: 121.8 kB / 1.134 GB, free: 28.5 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.281e-05/0.9126, allocations: 7.906 kB / 1.134 GB, free: 28.49 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.529e-05/0.9126, allocations: 12.5 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.963e-06/0.9126, allocations: 4 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.9126, allocations: 0.5 kB / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.9126, allocations: 0 / 1.134 GB, free: 28.48 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003321/0.913, allocations: 391.3 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.913, allocations: 0 / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.7e-05/0.913, allocations: 4.938 kB / 1.134 GB, free: 28.07 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.224e-06/0.913, allocations: 8.219 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.457e-06/0.9131, allocations: 0 / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.983e-06/0.9131, allocations: 4 kB / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.42e-07/0.9131, allocations: 0 / 1.134 GB, free: 28.06 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002174/0.9133, allocations: 218.2 kB / 1.134 GB, free: 27.84 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 2.197e-05/0.9133, allocations: 96.95 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.7e-05/0.9134, allocations: 0.625 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.106e-05/0.9134, allocations: 8.828 kB / 1.134 GB, free: 27.73 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.947e-05/0.9135, allocations: 11.78 kB / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.995e-06/0.9135, allocations: 0 / 1.134 GB, free: 27.72 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.163e-05/0.9135, allocations: 96 kB / 1.134 GB, free: 27.63 MB / 0.7292 GB Notification: Performance of sort global known variables: time 1.3e-07/0.9135, allocations: 3.938 kB / 1.134 GB, free: 27.62 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002819/0.9138, allocations: 47.42 kB / 1.134 GB, free: 27.58 MB / 0.7292 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.0003492/0.9142, allocations: 180.1 kB / 1.135 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002055/0.9144, allocations: 77.88 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.9144, allocations: 4.125 kB / 1.135 GB, free: 27.36 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 8.252e-05/0.9145, allocations: 34.89 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002425/0.9148, allocations: 4 kB / 1.135 GB, free: 27.33 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003501/0.9151, allocations: 208.6 kB / 1.135 GB, free: 27.12 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001099/0.9152, allocations: 0.6878 MB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 3.665e-05/0.9153, allocations: 5.25 kB / 1.136 GB, free: 26.41 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.283e-05/0.9153, allocations: 14.86 kB / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of SimCode: time 2.21e-07/0.9153, allocations: 0 / 1.136 GB, free: 26.4 MB / 0.7292 GB Notification: Performance of Templates: time 0.003543/0.9189, allocations: 1.506 MB / 1.137 GB, free: 25.56 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsWest.pipe 2>&1)