Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Running command: translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") translateModel(Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 2.055/2.055, allocations: 292.6 MB / 307.6 MB, free: 5.195 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.001078/0.001078, allocations: 173 kB / 377.1 MB, free: 1.512 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.51/1.51, allocations: 205.4 MB / 0.6367 GB, free: 9.555 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.0008867/0.0008866, allocations: 93.38 kB / 0.751 GB, free: 62.72 MB / 0.5573 GB Notification: Performance of FrontEnd - loaded program: time 0.0003783/0.0003786, allocations: 12 kB / 0.8748 GB, free: 11.32 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2591/0.2595, allocations: 116.3 MB / 0.9884 GB, free: 6.871 MB / 0.7136 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.7203/0.9798, allocations: 141 MB / 1.126 GB, free: 34.16 MB / 0.7292 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000297/0.9802, allocations: 81.92 kB / 1.126 GB, free: 34.09 MB / 0.7292 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-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.008236/0.9885, allocations: 2.983 MB / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of FrontEnd: time 1.453e-06/0.9885, allocations: 0 / 1.129 GB, free: 31.94 MB / 0.7292 GB Notification: Performance of Transformations before backend: time 7.824e-06/0.9885, allocations: 4 kB / 1.129 GB, free: 31.94 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.0004933/0.989, allocations: 432.2 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of prepare preOptimizeDAE: time 3.624e-05/0.989, allocations: 8.594 kB / 1.129 GB, free: 31.48 MB / 0.7292 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.436e-05/0.9891, allocations: 6.062 kB / 1.129 GB, free: 31.47 MB / 0.7292 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001018/0.9892, allocations: 179.7 kB / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.741e-05/0.9892, allocations: 0 / 1.13 GB, free: 31.26 MB / 0.7292 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.881e-05/0.9893, allocations: 9.203 kB / 1.13 GB, free: 31.25 MB / 0.7292 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001828/0.9895, allocations: 76.31 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.195e-06/0.9895, allocations: 0.6562 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.264e-05/0.9895, allocations: 1.719 kB / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.569e-06/0.9895, allocations: 0 / 1.13 GB, free: 31.19 MB / 0.7292 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001206/0.9896, allocations: 50.73 kB / 1.13 GB, free: 31.14 MB / 0.7292 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005545/0.9902, allocations: 315.2 kB / 1.13 GB, free: 30.82 MB / 0.7292 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001032/0.9903, allocations: 45.95 kB / 1.13 GB, free: 30.77 MB / 0.7292 GB Notification: Performance of preOpt evalFunc (simulation): time 2.248e-05/0.9903, allocations: 8 kB / 1.13 GB, free: 30.76 MB / 0.7292 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001561/0.9905, allocations: 90.91 kB / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of pre-optimization done (n=7): time 1.663e-06/0.9905, allocations: 0 / 1.13 GB, free: 30.68 MB / 0.7292 GB Notification: Performance of matching and sorting (n=7): time 0.0003918/0.9909, allocations: 141.7 kB / 1.13 GB, free: 30.55 MB / 0.7292 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.979e-05/0.991, allocations: 58.83 kB / 1.13 GB, free: 30.48 MB / 0.7292 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.059e-05/0.991, allocations: 108.4 kB / 1.131 GB, free: 30.37 MB / 0.7292 GB Notification: Performance of collectPreVariables (initialization): time 1.512e-05/0.9911, allocations: 29.7 kB / 1.131 GB, free: 30.34 MB / 0.7292 GB Notification: Performance of collectInitialEqns (initialization): time 3.976e-05/0.9911, allocations: 95.56 kB / 1.131 GB, free: 30.24 MB / 0.7292 GB Notification: Performance of collectInitialBindings (initialization): time 1.801e-05/0.9911, allocations: 19.8 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.941e-06/0.9911, allocations: 0.6562 kB / 1.131 GB, free: 30.22 MB / 0.7292 GB Notification: Performance of setup shared object (initialization): time 6.212e-05/0.9912, allocations: 326.3 kB / 1.131 GB, free: 29.89 MB / 0.7292 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.536e-05/0.9913, allocations: 27.56 kB / 1.131 GB, free: 29.87 MB / 0.7292 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001347/0.9914, allocations: 54.3 kB / 1.131 GB, free: 29.82 MB / 0.7292 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.812e-05/0.9915, allocations: 40.17 kB / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.795e-06/0.9915, allocations: 0 / 1.131 GB, free: 29.78 MB / 0.7292 GB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002196/0.9918, allocations: 115.9 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of prepare postOptimizeDAE: time 1.362e-05/0.9918, allocations: 4.562 kB / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.821e-06/0.9918, allocations: 0 / 1.131 GB, free: 29.67 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.618e-05/0.9918, allocations: 4 kB / 1.131 GB, free: 29.66 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.952e-05/0.9919, allocations: 15.53 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.542e-06/0.9919, allocations: 0.9375 kB / 1.131 GB, free: 29.65 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.764e-05/0.992, allocations: 12.41 kB / 1.131 GB, free: 29.64 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.372e-05/0.992, allocations: 3.984 kB / 1.131 GB, free: 29.64 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 8.169e-05/0.9921, allocations: 125.7 kB / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.399e-05/0.9921, allocations: 0 / 1.131 GB, free: 29.51 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.217e-05/0.9922, allocations: 12.38 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.685e-06/0.9922, allocations: 0 / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.843e-06/0.9922, allocations: 4.812 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.91e-06/0.9922, allocations: 4.266 kB / 1.131 GB, free: 29.5 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003765/0.9926, allocations: 393.6 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.948e-06/0.9926, allocations: 3.469 kB / 1.132 GB, free: 29.09 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.872e-05/0.9926, allocations: 4 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.228e-06/0.9927, allocations: 4.938 kB / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.245e-05/0.9927, allocations: 0 / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.345e-06/0.9927, allocations: 0 / 1.132 GB, free: 29.08 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.896e-06/0.9927, allocations: 7.375 kB / 1.132 GB, free: 29.07 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002486/0.993, allocations: 207 kB / 1.132 GB, free: 28.87 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 3.249e-05/0.993, allocations: 93.41 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.908e-05/0.993, allocations: 4 kB / 1.132 GB, free: 28.76 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.566e-05/0.9931, allocations: 4.5 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.511e-05/0.9932, allocations: 7.609 kB / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.856e-06/0.9932, allocations: 0 / 1.132 GB, free: 28.75 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 3.978e-05/0.9932, allocations: 96.03 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of sort global known variables: time 2.31e-07/0.9932, allocations: 3.938 kB / 1.132 GB, free: 28.66 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.0002918/0.9935, allocations: 51.31 kB / 1.132 GB, free: 28.61 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.0004073/0.9939, allocations: 176.1 kB / 1.132 GB, free: 28.46 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.0002298/0.9942, allocations: 78.47 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.9942, allocations: 4 kB / 1.132 GB, free: 28.39 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 9.274e-05/0.9943, allocations: 38.92 kB / 1.132 GB, free: 28.36 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001849/0.9945, allocations: 4 kB / 1.132 GB, free: 28.35 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003883/0.9949, allocations: 199 kB / 1.133 GB, free: 28.15 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001481/0.9951, allocations: 0.6961 MB / 1.133 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 4.054e-05/0.9951, allocations: 5.438 kB / 1.133 GB, free: 27.44 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.118e-05/0.9951, allocations: 11.44 kB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of SimCode: time 3.31e-07/0.9951, allocations: 3.938 kB / 1.133 GB, free: 27.43 MB / 0.7292 GB Notification: Performance of Templates: time 0.004031/0.9992, allocations: 1.52 MB / 1.135 GB, free: 26.59 MB / 0.7292 GB make -j1 -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.makefile (rm -f Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; mkfifo Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe ; head -c 1048576 < Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe >> ../files/Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.sim & ./Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Occupants.Office.Windows.Validation.Zhang2012WindowsAll.pipe 2>&1)